Merge version_1_1781729482088 into main #4

Merged
bender merged 1 commits from version_1_1781729482088 into main 2026-06-17 21:03:49 +00:00

View File

@@ -2,63 +2,45 @@ import FooterMinimal from '@/components/sections/footer/FooterMinimal';
import NavbarFloatingLogo from '@/components/ui/NavbarFloatingLogo';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
import { Instagram, Music, Twitter } from "lucide-react";
import { Outlet } from 'react-router-dom';
import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Collection", "href": "#products"
},
{
"name": "About", "href": "#about"
},
{
"name": "FAQ", "href": "#faq"
},
{
"name": "Hero", "href": "#hero"
},
{
"name": "Features", "href": "#features"
},
{
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Contact", "href": "#contact"
}
];
{ name: "Collection", href: "#products" },
{ name: "About", href: "#about" },
{ name: "FAQ", href: "#faq" },
{ name: "Hero", href: "#hero" },
{ name: "Features", href: "#features" },
{ name: "Testimonials", href: "#testimonials" },
{ name: "Contact", href: "#contact" }
];
return (
<StyleProvider buttonVariant="magnetic" siteBackground="noise" heroBackground="gradientBars">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="67 Toys"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=8lq5qa"
ctaButton={{
text: "Shop Now", href: "#products"}}
navItems={navItems} />
logo="67 Toys"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=8lq5qa"
ctaButton={{ text: "Shop Now", href: "#products" }}
navItems={navItems}
/>
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterMinimal
brand="67 Toys"
copyright="© 2024 67 Toys. All rights reserved."
socialLinks={[
{
icon: "Instagram", href: "https://instagram.com"},
{
icon: "Twitter", href: "https://twitter.com"},
{
icon: "Music", href: "https://tiktok.com"},
]}
/>
brand="67 Toys"
copyright="© 2024 67 Toys. All rights reserved."
socialLinks={[
{ icon: "Instagram", href: "https://instagram.com" },
{ icon: "Twitter", href: "https://twitter.com" },
{ icon: "Music", href: "https://tiktok.com" }
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}
}