From e19c60c19b4ae0184807a405cbe0a705d02d1f5d Mon Sep 17 00:00:00 2001 From: skycel Date: Thu, 22 Jan 2026 23:11:01 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=A0=20Feature:=20Page=20d'accueil=20He?= =?UTF-8?q?ro=20+=20CTA=20mobile=20am=C3=A9lior=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Stories 2.2 & 2.3: - Hero section avec nom, titre, accroche et CTA - Typographie responsive (text-4xl → text-display) - Animations fade-in avec délais progressifs - CTA mobile full-width avec séparateur visuel - Boutons "Découvrir mes projets" et "En savoir plus" Co-Authored-By: Claude Opus 4.5 --- index.php | 81 +++++++++++++++++++++----------------------- templates/navbar.php | 20 +++++++---- 2 files changed, 53 insertions(+), 48 deletions(-) diff --git a/index.php b/index.php index 58f77e2..03506ca 100644 --- a/index.php +++ b/index.php @@ -1,57 +1,54 @@ 'Portfolio en construction', - 'pageDescription' => 'Mon portfolio de développeur web arrive bientôt. Restez connectés !' -]); +$pageTitle = 'Accueil'; +$pageDescription = 'Portfolio de développeur web full-stack. Découvrez mes projets, compétences et parcours.'; +$currentPage = 'home'; -include_template('navbar', [ - 'currentPage' => 'home' -]); +include_template('header', compact('pageTitle', 'pageDescription')); +include_template('navbar', compact('currentPage')); ?> -
-
- -

- Portfolio en construction -

+
+ +
+
+ +

+ Bonjour, je suis +

- -

- Je prépare quelque chose de génial pour vous. -
Revenez bientôt pour découvrir mes projets ! -

+ +

+ Prénom NOM +

- -
- PHP - Tailwind CSS - En cours -
+ +

+ Développeur Web Full-Stack +

- -
-
-

Infrastructure validée

-

- PHP, Tailwind CSS et le serveur fonctionnent correctement. -

-
- Bouton Primary - Bouton Secondary -
+ +

+ Je crée des expériences web modernes, performantes et accessibles. + Chaque projet est une opportunité de montrer plutôt que de dire. +

+ + +
- - -

- Testé sur mobile, tablette et desktop. -

-
+
diff --git a/templates/navbar.php b/templates/navbar.php index 69440b3..576c228 100644 --- a/templates/navbar.php +++ b/templates/navbar.php @@ -68,12 +68,20 @@ $navLinks = [