Alexis Bruneteau fc7be6df26 refactor: Simplify home page - remove mock data and unnecessary sections
- Removed stats section (1000+ votants, 50+ élections, 99.9% security)
- Removed features section (crypto, results, access)
- Removed CTA section with unnecessary copy
- Removed footer with multiple sections
- Keep clean dark theme with minimal landing page
- Keep navigation and simple call-to-action buttons
- Focus on essential elements only

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 17:45:40 +01:00

57 lines
1.9 KiB
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Link from "next/link"
import { Button } from "@/components/ui/button"
export default function Home() {
return (
<div className="min-h-screen bg-background flex flex-col">
{/* Navigation */}
<nav className="border-b border-border bg-card/30 backdrop-blur-sm">
<div className="max-w-6xl mx-auto px-4 py-4 flex items-center justify-between">
<div className="flex items-center gap-2 text-xl font-bold text-accent">
<span>🗳</span>
<span>E-Voting</span>
</div>
<div className="flex items-center gap-4">
<Link href="/auth/login">
<Button variant="ghost">Se Connecter</Button>
</Link>
<Link href="/auth/register">
<Button>S'inscrire</Button>
</Link>
</div>
</div>
</nav>
{/* Main Content */}
<main className="flex-1 flex items-center justify-center px-4">
<div className="text-center space-y-8 max-w-2xl">
<div className="space-y-4">
<h1 className="text-4xl md:text-5xl font-bold">
E-Voting
</h1>
<p className="text-lg text-muted-foreground">
Plateforme de vote électronique sécurisée
</p>
</div>
<div className="flex flex-col sm:flex-row gap-4 justify-center pt-4">
<Link href="/auth/login">
<Button size="lg">Se Connecter</Button>
</Link>
<Link href="/auth/register">
<Button variant="outline" size="lg">Créer un Compte</Button>
</Link>
</div>
</div>
</main>
{/* Footer */}
<footer className="border-t border-border bg-card/30 py-6">
<div className="max-w-6xl mx-auto px-4 text-center text-sm text-muted-foreground">
<p>&copy; 2025 E-Voting</p>
</div>
</footer>
</div>
)
}