Update src/components/Layout.tsx
This commit is contained in:
@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Accueil",
|
||||
"href": "#hero"
|
||||
"name": "Accueil", "href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "À propos",
|
||||
"href": "#about"
|
||||
"name": "À propos", "href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Services",
|
||||
"href": "#services"
|
||||
"name": "Services", "href": "#services"
|
||||
},
|
||||
{
|
||||
"name": "Contact",
|
||||
"href": "#contact"
|
||||
"name": "Contact", "href": "#contact"
|
||||
},
|
||||
{
|
||||
"name": "Metrics",
|
||||
"href": "#metrics"
|
||||
"name": "Metrics", "href": "#metrics"
|
||||
},
|
||||
{
|
||||
"name": "Testimonials",
|
||||
"href": "#testimonials"
|
||||
"name": "Testimonials", "href": "#testimonials"
|
||||
},
|
||||
{
|
||||
"name": "Faq",
|
||||
"href": "#faq"
|
||||
"name": "Faq", "href": "#faq"
|
||||
}
|
||||
];
|
||||
|
||||
@@ -42,55 +35,43 @@ export default function Layout() {
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="Dr. Kbirit Kaoutar"
|
||||
ctaButton={{
|
||||
text: "Prendre RDV",
|
||||
href: "#contact",
|
||||
}}
|
||||
navItems={navItems} />
|
||||
logo="Dr. Kbirit Kaoutar"
|
||||
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=yh4vhq"
|
||||
ctaButton={{
|
||||
text: "Prendre RDV", href: "#contact"}}
|
||||
navItems={navItems}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterSimpleCard
|
||||
brand="Dr. Kbirit Kaoutar"
|
||||
columns={[
|
||||
{
|
||||
title: "Informations",
|
||||
items: [
|
||||
brand="Dr. Kbirit Kaoutar"
|
||||
columns={[
|
||||
{
|
||||
label: "Horaires d'ouverture",
|
||||
href: "#",
|
||||
title: "Informations", items: [
|
||||
{
|
||||
label: "Horaires d'ouverture", href: "#"},
|
||||
{
|
||||
label: "Localisation", href: "#"},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Localisation",
|
||||
href: "#",
|
||||
title: "Services", items: [
|
||||
{
|
||||
label: "Blanchiment", href: "#"},
|
||||
{
|
||||
label: "Implantologie", href: "#"},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Services",
|
||||
items: [
|
||||
]}
|
||||
copyright="© 2024 Cabinet Dentaire. Tous droits réservés."
|
||||
links={[
|
||||
{
|
||||
label: "Blanchiment",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Implantologie",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
copyright="© 2024 Cabinet Dentaire. Tous droits réservés."
|
||||
links={[
|
||||
{
|
||||
label: "Mentions Légales",
|
||||
href: "#",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
label: "Mentions Légales", href: "#"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user