From 59973de8155eb18020202bde31d2d022ffa987bb Mon Sep 17 00:00:00 2001 From: Matheo Guilbert Date: Wed, 15 Apr 2026 10:10:15 +0200 Subject: [PATCH] improved styling of the header component --- app/[locale]/layout.tsx | 32 ++++++++++++++++---------------- components/layout/Header.tsx | 8 ++++---- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx index 373e7ed..f6d6908 100644 --- a/app/[locale]/layout.tsx +++ b/app/[locale]/layout.tsx @@ -4,31 +4,31 @@ import "./globals.css"; import Header from "@/components/layout/Header"; const playfairDisplay = Playfair_Display({ - variable: "--font-playfair", - subsets: ["latin"], + variable: "--font-playfair", + subsets: ["latin"], }); const inter = Inter({ - variable: "--font-inter", - subsets: ["latin"], + variable: "--font-inter", + subsets: ["latin"], }); export const metadata: Metadata = { - title: "Mathéo Guilbert - Développeur Full Stack", - description: "Portfolio de Mathéo Guilbert, développeur web freelance.", + title: "Mathéo Guilbert - Développeur Full Stack", + description: "Portfolio de Mathéo Guilbert, développeur web freelance.", }; export default function RootLayout({ - children, + children, }: Readonly<{ - children: React.ReactNode; + children: React.ReactNode; }>) { - return ( - - -
- {children} - - - ); + return ( + + +
+ {children} + + + ); } \ No newline at end of file diff --git a/components/layout/Header.tsx b/components/layout/Header.tsx index bfb19c3..429890a 100644 --- a/components/layout/Header.tsx +++ b/components/layout/Header.tsx @@ -1,16 +1,16 @@ export default function Header() { return ( -
-
M. Guilbert
+
+
M. Guilbert
-
🇫🇷
+
France
); } \ No newline at end of file