Update src/components/Layout.tsx

This commit is contained in:
2026-06-23 17:28:48 +00:00
parent ae802493ce
commit f77e701806

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "#home"
"name": "Home", "href": "#home"
},
{
"name": "Services",
"href": "#services"
"name": "Services", "href": "#services"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Team",
"href": "#team"
"name": "Team", "href": "#team"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
},
{
"name": "Gallery",
"href": "#gallery"
"name": "Gallery", "href": "#gallery"
}
];
@@ -43,10 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Supreme"
logoImageSrc="http://img.b2bpic.net/free-photo/set-razors-table_23-2147736987.jpg"
ctaButton={{
text: "Book Appointment",
href: "#contact",
}}
text: "Book Appointment", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -57,55 +49,36 @@ export default function Layout() {
brand="Supreme Barbershop"
columns={[
{
title: "Company",
items: [
title: "Company", items: [
{
label: "About Us",
href: "#about",
},
label: "About Us", href: "#about"},
{
label: "Careers",
href: "#",
},
label: "Careers", href: "#"},
],
},
{
title: "Services",
items: [
title: "Services", items: [
{
label: "Haircuts",
href: "#services",
},
label: "Haircuts", href: "#services"},
{
label: "Beard Trims",
href: "#services",
},
label: "Beard Trims", href: "#services"},
],
},
{
title: "Contact",
items: [
title: "Contact", items: [
{
label: "555 Birmingham St",
href: "#",
},
label: "555 Birmingham St", href: "#"},
{
label: "(555) 0123",
href: "tel:5550123",
},
label: "(555) 0123", href: "tel:5550123"},
],
},
]}
copyright="© 2024 Supreme Barbershop. All rights reserved."
links={[
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
{
label: "Terms of Service",
href: "#",
},
label: "Terms of Service", href: "#"},
]}
/>
</SectionErrorBoundary>