diff --git a/app/globals.css b/app/globals.css index 6d33e08..9350a78 100644 --- a/app/globals.css +++ b/app/globals.css @@ -61,4 +61,90 @@ .animate-fadeIn { animation: fadeIn 0.2s ease-out; } + + /* Animations pour le Hero Section */ + @keyframes float { + 0%, 100% { transform: translateY(0px) rotate(0deg); } + 25% { transform: translateY(-20px) rotate(5deg); } + 50% { transform: translateY(-10px) rotate(-5deg); } + 75% { transform: translateY(-15px) rotate(3deg); } + } + + @keyframes floatSlow { + 0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); } + 33% { transform: translateY(-30px) translateX(10px) rotate(10deg); } + 66% { transform: translateY(-15px) translateX(-10px) rotate(-10deg); } + } + + @keyframes pulse { + 0%, 100% { opacity: 0.3; transform: scale(1); } + 50% { opacity: 0.5; transform: scale(1.05); } + } + + @keyframes steam { + 0% { opacity: 0.6; transform: translateY(0px) translateX(0px) scale(1); } + 50% { opacity: 0.3; transform: translateY(-30px) translateX(10px) scale(1.2); } + 100% { opacity: 0; transform: translateY(-60px) translateX(-10px) scale(1.5); } + } + + .float-animation { + animation: float 6s ease-in-out infinite; + } + + .float-slow { + animation: floatSlow 8s ease-in-out infinite; + } + + .pulse-animation { + animation: pulse 4s ease-in-out infinite; + } + + .steam-1 { + animation: steam 3s ease-out infinite; + animation-delay: 0s; + } + + .steam-2 { + animation: steam 3s ease-out infinite; + animation-delay: 1s; + } + + .steam-3 { + animation: steam 3s ease-out infinite; + animation-delay: 2s; + } + + /* Animation de descente douce du haut vers le bas sans rotation */ + @keyframes fallDown { + 0% { + transform: translateY(-100vh) translateX(0px); + opacity: 0; + } + 10% { + opacity: 0.5; + } + 20% { + transform: translateY(-60vh) translateX(15px); + } + 40% { + transform: translateY(-20vh) translateX(-10px); + } + 60% { + transform: translateY(20vh) translateX(20px); + } + 80% { + transform: translateY(60vh) translateX(-15px); + } + 90% { + opacity: 0.5; + } + 100% { + transform: translateY(100vh) translateX(0px); + opacity: 0; + } + } + + .animate-float-gentle { + animation: fallDown 15s linear infinite; + } } diff --git a/app/page.tsx b/app/page.tsx index 83b8021..785763f 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,76 +1,135 @@ -import type { Metadata } from "next"; +'use client'; + import Link from "next/link"; import Image from "next/image"; import Button from "@/components/Button"; - -export const metadata: Metadata = { - title: "Thé Tip Top - Grand Jeu Concours 10ème Anniversaire", - description: "Célébrez nos 10 ans ! 100% de tickets gagnants. Participez au jeu-concours et gagnez des lots exceptionnels.", -}; +import CountdownTimer from "@/components/CountdownTimer"; +import GamePeriod from "@/components/GamePeriod"; +import GrandPrize from "@/components/GrandPrize"; +import AboutContest from "@/components/AboutContest"; export default function HomePage() { return ( -
- Célébrez l'ouverture de notre 10e boutique avec notre grand jeu-concours.
-
- 100% des participants gagnent un magnifique lot !
+
+ À 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 !
- Thés 100% bio et artisanaux. -
-+ {paragraph.trim()} +
+ ))} +Utilisez vos tickets pour jouer et gagner des lots !
+