Update src/components/Layout.tsx

This commit is contained in:
2026-06-23 14:12:33 +00:00
parent bfa60a7a68
commit fdb51e739e

View File

@@ -9,32 +9,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Services",
"href": "#services"
"name": "Services", "href": "#services"
},
{
"name": "Reviews",
"href": "#reviews"
"name": "Reviews", "href": "#reviews"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
},
{
"name": "Faq",
"href": "#faq"
"name": "Faq", "href": "#faq"
}
];
@@ -44,10 +37,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Presidential Dental"
logoImageSrc="http://img.b2bpic.net/free-photo/businesswoman-holding-blank-business-card_1098-1026.jpg"
ctaButton={{
text: "Book Appointment",
href: "#contact",
}}
text: "Book Appointment", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -59,16 +51,12 @@ export default function Layout() {
copyright="© 2024 Presidential Dental Associates. All rights reserved."
socialLinks={[
{
icon: Facebook,
href: "#",
},
icon: "Facebook", href: "#"},
{
icon: Instagram,
href: "#",
},
icon: "Instagram", href: "#"},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}
}