From 2e0beec33838209067f6cae7245b9dfb4243e332 Mon Sep 17 00:00:00 2001 From: soufiane Date: Tue, 2 Dec 2025 00:38:06 +0100 Subject: [PATCH] feat: update homepage and login page UI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Homepage: new title styling, centered hero section, animated button - Homepage: removed countdown timer, added white background to sections - Login page: moved social buttons below forgot password link 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/login/page.tsx | 78 +++++++++++++++++------------------ app/page.tsx | 35 ++++++++-------- components/CountdownTimer.tsx | 13 ------ 3 files changed, 56 insertions(+), 70 deletions(-) diff --git a/app/login/page.tsx b/app/login/page.tsx index e2489db..391ebc1 100644 --- a/app/login/page.tsx +++ b/app/login/page.tsx @@ -111,45 +111,6 @@ export default function LoginPage() { {/* Form Container */}
- {/* Social Login Buttons */} - {(hasGoogleAuth || hasFacebookAuth) && ( -
- {hasGoogleAuth && ( - - )} - - {hasFacebookAuth && ( - - )} -
- )} - - {/* Divider */} - {(hasGoogleAuth || hasFacebookAuth) && ( -
-
-
-
-
- - Ou avec votre email - -
-
- )} - {/* Login Form */}
@@ -225,6 +186,45 @@ export default function LoginPage() {
+ {/* Divider */} + {(hasGoogleAuth || hasFacebookAuth) && ( +
+
+
+
+
+ + Ou continuer avec + +
+
+ )} + + {/* Social Login Buttons */} + {(hasGoogleAuth || hasFacebookAuth) && ( +
+ {hasGoogleAuth && ( + + )} + + {hasFacebookAuth && ( + + )} +
+ )} +
diff --git a/app/page.tsx b/app/page.tsx index dd80b01..12f8c3e 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -2,7 +2,6 @@ import Link from "next/link"; import Button from "@/components/Button"; -import CountdownTimer from "@/components/CountdownTimer"; import GamePeriod from "@/components/GamePeriod"; import GrandPrize from "@/components/GrandPrize"; import AboutContest from "@/components/AboutContest"; @@ -30,24 +29,30 @@ export default function HomePage() { {/* Hero Section - Bannière principale */} -
+
-

- Jeu Concours Thé Tip Top
- Nice +

+ Jeu Concours - Thé Tip Top

-

- À l'occasion de l'ouverture de notre 10ème boutique de thé premium à Nice,
- participez à notre concours et gagnez des thés et accessoires exclusifs ! +

+ Célébrons l'ouverture de notre 10ème boutique à Nice +

+

+ Participez à notre concours - 100% des participants gagnent un lot !

- +
+ {/* Anneau qui pulse autour du bouton */} + + + +
@@ -55,15 +60,9 @@ export default function HomePage() {
{/* Game Period & Countdown Section */} -
+
- {/* Countdown Timer */} - - {/* Game Period Cards */} diff --git a/components/CountdownTimer.tsx b/components/CountdownTimer.tsx index 231b2b6..9d9330d 100644 --- a/components/CountdownTimer.tsx +++ b/components/CountdownTimer.tsx @@ -92,19 +92,6 @@ export default function CountdownTimer({ endDate, title = "Période de jeu" }: C
- {/* Barre de progression */} -
-
-
-
-
- Début du concours - {Math.round(progress)}% écoulé -
-
);