110 lines
4.9 KiB
TypeScript
110 lines
4.9 KiB
TypeScript
import Link from 'next/link';
|
||
import { Button } from '@/components/ui/button';
|
||
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
|
||
import { Badge } from '@/components/ui/badge';
|
||
|
||
export default function HomePage() {
|
||
return (
|
||
<div className="min-h-screen bg-gradient-to-br from-slate-50 to-slate-100 dark:from-slate-900 dark:to-slate-800">
|
||
<div className="container mx-auto px-4 py-16">
|
||
{/* Hero Section */}
|
||
<div className="text-center mb-16">
|
||
<Badge variant="secondary" className="mb-4 text-sm">
|
||
🗳️ Démocratie Participative
|
||
</Badge>
|
||
<h1 className="text-4xl md:text-6xl font-bold text-slate-900 dark:text-slate-100 mb-6">
|
||
Mes Budgets Participatifs
|
||
</h1>
|
||
<p className="text-xl text-slate-600 dark:text-slate-300 max-w-3xl mx-auto mb-8">
|
||
Participez aux décisions budgétaires de vos collectifs.
|
||
Votez pour les projets qui vous tiennent à cœur et façonnez ensemble l'avenir de votre communauté.
|
||
</p>
|
||
<div className="flex flex-col sm:flex-row gap-4 justify-center">
|
||
<Button asChild size="lg" className="text-lg px-8 py-6">
|
||
<Link href="/admin">
|
||
🔐 Espace Administration
|
||
</Link>
|
||
</Button>
|
||
<Button asChild variant="outline" size="lg" className="text-lg px-8 py-6">
|
||
<Link href="#features">
|
||
📋 Découvrir les fonctionnalités
|
||
</Link>
|
||
</Button>
|
||
</div>
|
||
</div>
|
||
|
||
{/* Features Section */}
|
||
<div id="features" className="grid md:grid-cols-3 gap-8 mb-16">
|
||
<Card className="border-0 shadow-lg hover:shadow-xl transition-shadow duration-300">
|
||
<CardHeader className="text-center">
|
||
<div className="w-12 h-12 bg-blue-100 dark:bg-blue-900 rounded-lg flex items-center justify-center mx-auto mb-4">
|
||
<span className="text-2xl">📝</span>
|
||
</div>
|
||
<CardTitle className="text-xl">Propositions</CardTitle>
|
||
<CardDescription>
|
||
Soumettez et découvrez des projets innovants pour votre collectif
|
||
</CardDescription>
|
||
</CardHeader>
|
||
<CardContent className="text-center">
|
||
<p className="text-slate-600 dark:text-slate-300">
|
||
Partagez vos idées et consultez les propositions de la communauté
|
||
</p>
|
||
</CardContent>
|
||
</Card>
|
||
|
||
<Card className="border-0 shadow-lg hover:shadow-xl transition-shadow duration-300">
|
||
<CardHeader className="text-center">
|
||
<div className="w-12 h-12 bg-green-100 dark:bg-green-900 rounded-lg flex items-center justify-center mx-auto mb-4">
|
||
<span className="text-2xl">🗳️</span>
|
||
</div>
|
||
<CardTitle className="text-xl">Vote</CardTitle>
|
||
<CardDescription>
|
||
Votez pour les projets qui vous semblent prioritaires
|
||
</CardDescription>
|
||
</CardHeader>
|
||
<CardContent className="text-center">
|
||
<p className="text-slate-600 dark:text-slate-300">
|
||
Répartissez votre budget entre les différentes propositions
|
||
</p>
|
||
</CardContent>
|
||
</Card>
|
||
|
||
<Card className="border-0 shadow-lg hover:shadow-xl transition-shadow duration-300">
|
||
<CardHeader className="text-center">
|
||
<div className="w-12 h-12 bg-purple-100 dark:bg-purple-900 rounded-lg flex items-center justify-center mx-auto mb-4">
|
||
<span className="text-2xl">📊</span>
|
||
</div>
|
||
<CardTitle className="text-xl">Résultats</CardTitle>
|
||
<CardDescription>
|
||
Suivez en temps réel l'évolution des votes
|
||
</CardDescription>
|
||
</CardHeader>
|
||
<CardContent className="text-center">
|
||
<p className="text-slate-600 dark:text-slate-300">
|
||
Visualisez les projets les plus populaires et les résultats finaux
|
||
</p>
|
||
</CardContent>
|
||
</Card>
|
||
</div>
|
||
|
||
{/* CTA Section */}
|
||
<Card className="border-0 shadow-xl bg-gradient-to-r from-blue-600 to-purple-600 text-white">
|
||
<CardContent className="p-8 text-center">
|
||
<h2 className="text-3xl font-bold mb-4">
|
||
Prêt à participer ?
|
||
</h2>
|
||
<p className="text-xl mb-6 opacity-90">
|
||
Rejoignez votre collectif et prenez part aux décisions qui vous concernent
|
||
</p>
|
||
<Button asChild size="lg" variant="secondary" className="text-lg px-8 py-6">
|
||
<Link href="/admin">
|
||
Commencer maintenant
|
||
</Link>
|
||
</Button>
|
||
</CardContent>
|
||
</Card>
|
||
</div>
|
||
</div>
|
||
);
|
||
}
|