Update src/components/Layout.tsx

This commit is contained in:
2026-06-14 22:22:46 +00:00
parent 3d64b8e89e
commit 0e6ebacca2

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": "Menu",
"href": "#menu"
"name": "Menu", "href": "#menu"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Experience",
"href": "#experience"
"name": "Experience", "href": "#experience"
},
{
"name": "Atmosphere",
"href": "#atmosphere"
"name": "Atmosphere", "href": "#atmosphere"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
}
];
@@ -44,9 +37,7 @@ export default function Layout() {
<NavbarCentered
logo="MANSOUR ROASTERS"
ctaButton={{
text: "Visit Us",
href: "#contact",
}}
text: "Visit Us", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -57,50 +48,31 @@ export default function Layout() {
brand="MANSOUR ROASTERS"
columns={[
{
heading: "Navigation",
items: [
{
label: "Home",
href: "/",
},
label: "Home", href: "/"},
{
label: "Menu",
href: "#menu",
},
label: "Menu", href: "#menu"},
{
label: "About",
href: "#about",
},
label: "About", href: "#about"},
],
},
{
heading: "Connect",
items: [
{
label: "Gallery",
href: "#gallery",
},
label: "Gallery", href: "#gallery"},
{
label: "Contact",
href: "#contact",
},
label: "Contact", href: "#contact"},
],
},
{
heading: "Socials",
items: [
{
label: "Instagram",
href: "#",
},
label: "Instagram", href: "#"},
{
label: "TikTok",
href: "#",
},
label: "TikTok", href: "#"},
{
label: "Snapchat",
href: "#",
},
label: "Snapchat", href: "#"},
],
},
]}