rewrite freelance page content and add freelance to header links

This commit is contained in:
2026-06-02 18:33:04 +02:00
parent e753b96bca
commit d246a6572b
4 changed files with 7 additions and 5 deletions
@@ -35,9 +35,9 @@ export default function FreelanceSection({ locale }: props) {
}, []); }, []);
return ( return (
<div ref={sectionRef} className="w-full flex justify-center items-center"> <div ref={sectionRef} className="w-full flex justify-center items-center pt-24 md:pt-36">
<div <div
className="w-2/3 reveal flex flex-col items-start gap-6 p-8 rounded-2xl border border-brand-brown/8 bg-white/40 transition-all duration-300 cursor-default" className="w-full max-w-2xl reveal flex flex-col items-start gap-8 p-10 md:p-14 rounded-2xl border border-brand-brown/8 bg-white/40 transition-all duration-300 cursor-default"
style={{ transitionDelay: `120ms` }} style={{ transitionDelay: `120ms` }}
> >
<div> <div>
+1 -1
View File
@@ -19,7 +19,7 @@ export default function Header() {
const links = [ const links = [
{ text: t('home'), target: `${homePath}#home` }, { text: t('home'), target: `${homePath}#home` },
{ text: t('works'), target: `${homePath}#works` }, { text: t('works'), target: `${homePath}#works` },
{ text: t('about'), target: `${homePath}#about` }, { text: t('freelance'), target: `${homePath}/freelance` },
{ text: t('blog'), target: `${homePath}/blog` }, { text: t('blog'), target: `${homePath}/blog` },
]; ];
+2 -1
View File
@@ -1,6 +1,7 @@
{ {
"header": { "header": {
"home": "Home", "home": "Home",
"freelance": "Freelance",
"works": "Works", "works": "Works",
"about": "About", "about": "About",
"blog": "Blog" "blog": "Blog"
@@ -20,7 +21,7 @@
"cta": "Read more" "cta": "Read more"
}, },
"homePageFreelanceSection": { "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.", "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" "cta": "Learn more about my freelance services"
}, },
+2 -1
View File
@@ -1,6 +1,7 @@
{ {
"header": { "header": {
"home": "Accueil", "home": "Accueil",
"freelance": "Freelance",
"works": "Travaux", "works": "Travaux",
"about": "À propos", "about": "À propos",
"blog": "Blog" "blog": "Blog"
@@ -20,7 +21,7 @@
"cta": "Lire plus" "cta": "Lire plus"
}, },
"homePageFreelanceSection": { "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.", "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" "cta": "Découvrir mon offre freelance"
}, },