From d246a6572bc922096c132cf0b8f4cf9e317b8916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Math=C3=A9o=20GUILBERT?= Date: Tue, 2 Jun 2026 18:33:04 +0200 Subject: [PATCH] rewrite freelance page content and add freelance to header links --- app/[locale]/_components/FreelanceSection.tsx | 4 ++-- components/layout/Header.tsx | 2 +- messages/en.json | 3 ++- messages/fr.json | 3 ++- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/[locale]/_components/FreelanceSection.tsx b/app/[locale]/_components/FreelanceSection.tsx index f2e1dde..3864b9b 100644 --- a/app/[locale]/_components/FreelanceSection.tsx +++ b/app/[locale]/_components/FreelanceSection.tsx @@ -35,9 +35,9 @@ export default function FreelanceSection({ locale }: props) { }, []); return ( -
+
diff --git a/components/layout/Header.tsx b/components/layout/Header.tsx index c70ae5b..8d5abf4 100644 --- a/components/layout/Header.tsx +++ b/components/layout/Header.tsx @@ -19,7 +19,7 @@ export default function Header() { const links = [ { text: t('home'), target: `${homePath}#home` }, { text: t('works'), target: `${homePath}#works` }, - { text: t('about'), target: `${homePath}#about` }, + { text: t('freelance'), target: `${homePath}/freelance` }, { text: t('blog'), target: `${homePath}/blog` }, ]; diff --git a/messages/en.json b/messages/en.json index bc0b4af..833fc9e 100644 --- a/messages/en.json +++ b/messages/en.json @@ -1,6 +1,7 @@ { "header": { "home": "Home", + "freelance": "Freelance", "works": "Works", "about": "About", "blog": "Blog" @@ -20,7 +21,7 @@ "cta": "Read more" }, "homePageFreelanceSection": { - "title": "You have a project you want to bring to life?", + "title": "You have a project or a specific need?", "text": "I design custom web applications, business software, and professional websites that are user-friendly, reliable, and scalable.", "cta": "Learn more about my freelance services" }, diff --git a/messages/fr.json b/messages/fr.json index 9d7f807..08965dc 100644 --- a/messages/fr.json +++ b/messages/fr.json @@ -1,6 +1,7 @@ { "header": { "home": "Accueil", + "freelance": "Freelance", "works": "Travaux", "about": "À propos", "blog": "Blog" @@ -20,7 +21,7 @@ "cta": "Lire plus" }, "homePageFreelanceSection": { - "title": "Vous avez un projet à concrétiser ?", + "title": "Vous avez un projet ou un besoin spécifique ?", "text": "Je concoit des applications web, logiciels métier et sites profressionnels sûr mesure, pensés pour être ergonomique, fiable et évolutif.", "cta": "Découvrir mon offre freelance" },