Update src/components/Layout.tsx

This commit is contained in:
2026-06-14 15:38:21 +00:00
parent 32c073a91e
commit 841d6d73e5

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "#hero"
"name": "Home", "href": "#hero"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Products",
"href": "#products"
"name": "Products", "href": "#products"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Features",
"href": "#features"
"name": "Features", "href": "#features"
},
{
"name": "Pricing",
"href": "#pricing"
"name": "Pricing", "href": "#pricing"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
}
];
@@ -42,50 +35,39 @@ export default function Layout() {
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Taste of Ouns"
logoImageSrc="https://images.unsplash.com/photo-1565299624946-b28f40a0ae38?auto=format&fit=crop&w=100&h=100&q=80"
ctaButton={{
text: "Order Now",
href: "#contact",
}}
navItems={navItems} />
logo="Taste of Ouns"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=rdmsk0"
ctaButton={{
text: "Order Now", href: "#contact"}}
navItems={navItems}
/>
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterBasic
columns={[
{
title: "Company",
items: [
columns={[
{
label: "About",
href: "#about",
title: "Company", items: [
{
label: "About", href: "#about"},
{
label: "Menu", href: "#products"},
],
},
{
label: "Menu",
href: "#products",
title: "Support", items: [
{
label: "FAQ", href: "#faq"},
{
label: "Privacy Policy", href: "#"},
],
},
],
},
{
title: "Support",
items: [
{
label: "FAQ",
href: "#faq",
},
{
label: "Privacy Policy",
href: "#",
},
],
},
]}
leftText="© 2024 Taste of Ouns"
rightText="Healthy food for a better you."
/>
]}
leftText="© 2024 Taste of Ouns"
rightText="Healthy food for a better you."
/>
</SectionErrorBoundary>
</StyleProvider>
);