Update src/components/Layout.tsx
This commit is contained in:
@@ -7,95 +7,38 @@ 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"
|
||||
}
|
||||
];
|
||||
{ name: "About", href: "#about" },
|
||||
{ name: "Scents", href: "#products" },
|
||||
{ name: "Markets", href: "#markets" },
|
||||
{ name: "Order", href: "#contact" }
|
||||
];
|
||||
|
||||
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} />
|
||||
logo="Sammy Scent"
|
||||
logoImageSrc="http://img.b2bpic.net/free-photo/candle-extinguished-with-smoke-trail_24972-3063.jpg"
|
||||
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: "#",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user