Update src/components/Layout.tsx

This commit is contained in:
2026-06-22 20:48:08 +00:00
parent 8e76530b68
commit fc269d511c

View File

@@ -8,71 +8,36 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Collection",
"href": "#products"
},
{
"name": "About",
"href": "#about"
},
{
"name": "Pricing",
"href": "#pricing"
},
{
"name": "Contact",
"href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
},
{
"name": "Features",
"href": "#features"
},
{
"name": "Testimonial",
"href": "#testimonial"
}
];
{ name: "Collection", href: "#products" },
{ name: "About", href: "#about" },
{ name: "Pricing", href: "#pricing" },
{ name: "Contact", href: "#contact" }
];
return (
<StyleProvider buttonVariant="arrow" siteBackground="floatingGradient" heroBackground="gradientBars">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Third Eye"
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
ctaButton={{
text: "Shop Now",
href: "#products",
}}
navItems={navItems} />
logo="Third Eye"
logoImageSrc="http://img.b2bpic.net/free-vector/letter-x-o-colorful-logo-design_474888-6895.jpg"
ctaButton={{ text: "Shop Now", href: "#products" }}
navItems={navItems}
/>
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterMinimal
brand="Third Eye Eyeglasses"
copyright="© 2024 Third Eye Eyeglasses. All rights reserved."
socialLinks={[
{
icon: Instagram,
href: "https://www.instagram.com/thirdeyeglasses_/",
},
{
icon: Twitter,
href: "#",
},
{
icon: Facebook,
href: "#",
},
]}
/>
brand="Third Eye Eyeglasses"
copyright="© 2024 Third Eye Eyeglasses. All rights reserved."
socialLinks={[
{ icon: "Instagram", href: "https://www.instagram.com/thirdeyeglasses_/" },
{ icon: "Twitter", href: "#" },
{ icon: "Facebook", href: "#" }
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);