Update src/components/Layout.tsx

This commit is contained in:
2026-06-23 11:20:13 +00:00
parent 8037db96a9
commit 19ca4b2c49

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "À propos",
"href": "#about"
"name": "À propos", "href": "#about"
},
{
"name": "Projets",
"href": "#projects"
"name": "Projets", "href": "#projects"
},
{
"name": "Parcours",
"href": "#experience"
"name": "Parcours", "href": "#experience"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Features",
"href": "#features"
"name": "Features", "href": "#features"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
}
];
@@ -43,10 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Touil Abdelhalim"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=v0m32s"
ctaButton={{
text: "Me contacter",
href: "#contact",
}}
text: "Me contacter", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -59,17 +51,11 @@ export default function Layout() {
{
items: [
{
label: "Email",
href: "mailto:touilabdelhalim17@gmail.com",
},
label: "Email", href: "mailto:touilabdelhalim17@gmail.com"},
{
label: "GitHub",
href: "https://github.com",
},
label: "GitHub", href: "https://github.com"},
{
label: "LinkedIn",
href: "https://linkedin.com",
},
label: "LinkedIn", href: "https://linkedin.com"},
],
},
]}