Update src/components/Layout.tsx

This commit is contained in:
2026-06-24 07:38:17 +00:00
parent d670516a53
commit f05b6572ac

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": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "FAQ",
"href": "#faq"
"name": "FAQ", "href": "#faq"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
}
];
@@ -44,10 +37,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Dermatology Specialist"
logoImageSrc="http://img.b2bpic.net/free-vector/logo-with-abstract-purple-face_1017-1085.jpg"
ctaButton={{
text: "Book Consultation",
href: "#contact",
}}
text: "Book Consultation", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -59,17 +51,11 @@ export default function Layout() {
copyright="© 2024 London Dermatology Specialist. All rights reserved."
socialLinks={[
{
icon: Twitter,
href: "#",
},
icon: "Twitter", href: "#"},
{
icon: Instagram,
href: "#",
},
icon: "Instagram", href: "#"},
{
icon: Linkedin,
href: "#",
},
icon: "Linkedin", href: "#"},
]}
/>
</SectionErrorBoundary>