103 lines
2.4 KiB
TypeScript
103 lines
2.4 KiB
TypeScript
import FooterSimpleCard from '@/components/sections/footer/FooterSimpleCard';
|
|
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": "About",
|
|
"href": "#about"
|
|
},
|
|
{
|
|
"name": "Scents",
|
|
"href": "#products"
|
|
},
|
|
{
|
|
"name": "Markets",
|
|
"href": "#markets"
|
|
},
|
|
{
|
|
"name": "Order",
|
|
"href": "#contact"
|
|
},
|
|
{
|
|
"name": "Hero",
|
|
"href": "#hero"
|
|
},
|
|
{
|
|
"name": "Features",
|
|
"href": "#features"
|
|
},
|
|
{
|
|
"name": "Metrics",
|
|
"href": "#metrics"
|
|
}
|
|
];
|
|
|
|
return (
|
|
<StyleProvider buttonVariant="arrow" siteBackground="noise" heroBackground="gradientBars">
|
|
<SiteBackgroundSlot />
|
|
<SectionErrorBoundary name="navbar">
|
|
<NavbarFloatingLogo
|
|
logo="Sammy Scent"
|
|
logoImageSrc="https://images.unsplash.com/photo-1596462502278-27bf85033e5a?auto=format&fit=crop&q=80&w=100&h=100"
|
|
ctaButton={{
|
|
text: "DM on Instagram",
|
|
href: "https://instagram.com/sammy_scent_creations",
|
|
}}
|
|
navItems={navItems} />
|
|
</SectionErrorBoundary>
|
|
<main className="flex-grow">
|
|
<Outlet />
|
|
</main>
|
|
<SectionErrorBoundary name="footer">
|
|
<FooterSimpleCard
|
|
brand="Sammy Scent Creations"
|
|
columns={[
|
|
{
|
|
title: "Shop",
|
|
items: [
|
|
{
|
|
label: "Scents",
|
|
href: "#products",
|
|
},
|
|
{
|
|
label: "About",
|
|
href: "#about",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Connect",
|
|
items: [
|
|
{
|
|
label: "Instagram",
|
|
href: "https://instagram.com/sammy_scent_creations",
|
|
},
|
|
{
|
|
label: "Markets",
|
|
href: "#markets",
|
|
},
|
|
],
|
|
},
|
|
]}
|
|
copyright="© 2024 Sammy Scent Creations. All rights reserved."
|
|
links={[
|
|
{
|
|
label: "Privacy Policy",
|
|
href: "#",
|
|
},
|
|
{
|
|
label: "Terms of Service",
|
|
href: "#",
|
|
},
|
|
]}
|
|
/>
|
|
</SectionErrorBoundary>
|
|
</StyleProvider>
|
|
);
|
|
}
|