Update src/components/Layout.tsx
This commit is contained in:
@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Home",
|
||||
"href": "#hero"
|
||||
"name": "Home", "href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "About",
|
||||
"href": "#about"
|
||||
"name": "About", "href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Arrivals",
|
||||
"href": "#arrivals"
|
||||
"name": "Arrivals", "href": "#arrivals"
|
||||
},
|
||||
{
|
||||
"name": "Contact",
|
||||
"href": "#contact"
|
||||
"name": "Contact", "href": "#contact"
|
||||
},
|
||||
{
|
||||
"name": "Testimonials",
|
||||
"href": "#testimonials"
|
||||
"name": "Testimonials", "href": "#testimonials"
|
||||
},
|
||||
{
|
||||
"name": "Faq",
|
||||
"href": "#faq"
|
||||
"name": "Faq", "href": "#faq"
|
||||
},
|
||||
{
|
||||
"name": "Social Proof",
|
||||
"href": "#social-proof"
|
||||
"name": "Social Proof", "href": "#social-proof"
|
||||
}
|
||||
];
|
||||
|
||||
@@ -43,11 +36,9 @@ export default function Layout() {
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="Thriftly"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1555529771-835f59fc5efe?w=128&h=128&fit=crop&auto=format"
|
||||
logoImageSrc="http://img.b2bpic.net/free-photo/sales-promotion-poster_23-2151903313.jpg"
|
||||
ctaButton={{
|
||||
text: "Visit Us",
|
||||
href: "#contact",
|
||||
}}
|
||||
text: "Visit Us", href: "#contact"}}
|
||||
navItems={navItems} />
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
@@ -58,42 +49,28 @@ export default function Layout() {
|
||||
brand="Thriftly"
|
||||
columns={[
|
||||
{
|
||||
title: "Store",
|
||||
items: [
|
||||
title: "Store", items: [
|
||||
{
|
||||
label: "About",
|
||||
href: "#about",
|
||||
},
|
||||
label: "About", href: "#about"},
|
||||
{
|
||||
label: "Arrivals",
|
||||
href: "#arrivals",
|
||||
},
|
||||
label: "Arrivals", href: "#arrivals"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Contact",
|
||||
items: [
|
||||
title: "Contact", items: [
|
||||
{
|
||||
label: "Directions",
|
||||
href: "#",
|
||||
},
|
||||
label: "Directions", href: "#"},
|
||||
{
|
||||
label: "Hours",
|
||||
href: "#",
|
||||
},
|
||||
label: "Hours", href: "#"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
copyright="© 2024 Thriftly. All rights reserved."
|
||||
links={[
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
label: "Privacy Policy", href: "#"},
|
||||
{
|
||||
label: "Terms",
|
||||
href: "#",
|
||||
},
|
||||
label: "Terms", href: "#"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
|
||||
Reference in New Issue
Block a user