Files
6eaf5a3e-bbbb-468e-8286-b34…/src/components/Layout.tsx
2026-06-16 08:19:11 +00:00

108 lines
2.5 KiB
TypeScript

import FooterSimpleMedia from '@/components/sections/footer/FooterSimpleMedia';
import NavbarFloatingLogo from '@/components/ui/NavbarFloatingLogo';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
import { Outlet } from 'react-router-dom';
import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Shop",
"href": "#shop"
},
{
"name": "Collection",
"href": "#collection"
},
{
"name": "About",
"href": "#about"
},
{
"name": "Contact",
"href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
},
{
"name": "Bestsellers",
"href": "#bestsellers"
},
{
"name": "Testimonials",
"href": "#testimonials"
}
];
return (
<StyleProvider buttonVariant="expand" siteBackground="noise" heroBackground="lightRaysCenter">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="IR VELORA"
logoImageSrc="https://storage.googleapis.com/webild/users/user_3DzThbztU3c0W5HllLIQEYCVbtM/uploaded-1781597901438-2l3h5mru.png"
ctaButton={{
text: "Cart (0)",
href: "#cart",
}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimpleMedia
imageSrc="http://img.b2bpic.net/free-photo/young-beautiful-woman-business-suit_1303-17722.jpg"
brand="IR VELORA"
columns={[
{
title: "About",
items: [
{
label: "Our Brand",
href: "#",
},
{
label: "Sustainability",
href: "#",
},
],
},
{
title: "Support",
items: [
{
label: "Shipping",
href: "#",
},
{
label: "Returns",
href: "#",
},
{
label: "Privacy",
href: "#",
},
],
},
]}
copyright="© 2024 IR VELORA. All Rights Reserved."
links={[
{
label: "Instagram",
href: "#",
},
{
label: "Twitter",
href: "#",
},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}