Update src/components/Layout.tsx

This commit is contained in:
2026-06-13 15:02:05 +00:00
parent 680b223b69
commit 08c976eff1

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"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": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Features",
"href": "#features"
"name": "Features", "href": "#features"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Drink Coffee Do Stuff"
logoImageSrc="https://images.unsplash.com/photo-1497935586351-b67a49e012bf?auto=format&fit=crop&q=80&w=100&h=100"
logoImageSrc="http://img.b2bpic.net/free-vector/minimal-logo-collection-with-pastel-colors_23-2148379335.jpg"
ctaButton={{
text: "Shop Coffee",
href: "#products",
}}
text: "Shop Coffee", href: "#products"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -60,25 +51,17 @@ export default function Layout() {
{
items: [
{
label: "About",
href: "#about",
},
label: "About", href: "#about"},
{
label: "Products",
href: "#products",
},
label: "Products", href: "#products"},
],
},
{
items: [
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
{
label: "Contact",
href: "#contact",
},
label: "Contact", href: "#contact"},
],
},
]}