- Migrate from React CRA to Next.js 15 with modern architecture - Implement comprehensive shadcn/ui component library - Create complete dashboard system with layouts and navigation - Build authentication pages (login, register) with proper forms - Implement vote management pages (active, upcoming, history, archives) - Add user profile management with security settings - Configure Tailwind CSS with custom dark theme (accent: #e8704b) - Setup TypeScript with strict type checking - Backup old React-based frontend to .backups/frontend-old - All pages compile successfully and build passes linting Pages created: - Home page with hero section and features - Authentication (login/register) - Dashboard with stats and vote cards - Vote management (active, upcoming, history, archives) - User profile with form validation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
20 lines
431 B
TypeScript
20 lines
431 B
TypeScript
import type { Metadata } from "next"
|
|
import "./globals.css"
|
|
|
|
export const metadata: Metadata = {
|
|
title: "E-Voting - Plateforme de Vote Électronique Sécurisée",
|
|
description: "Plateforme de vote électronique sécurisée par cryptographie post-quantique",
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<html lang="fr">
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|