# Hagen Boilerplate Boilerplate Next.js moderne pour crΓ©er des sites web professionnels rapidement. ## πŸš€ Stack - **Next.js 14** β€” App Router, Server Components - **TypeScript** β€” Type-safe - **Tailwind CSS v4** β€” Styling utility-first - **shadcn/ui** β€” Composants UI accessibles - **Framer Motion** β€” Animations fluides - **Lucide Icons** β€” IcΓ΄nes ## πŸ“¦ Structure ``` src/ β”œβ”€β”€ app/ # Routes Next.js β”‚ β”œβ”€β”€ page.tsx # Page d'accueil β”‚ β”œβ”€β”€ layout.tsx # Layout principal β”‚ └── globals.css # Styles globaux β”œβ”€β”€ components/ β”‚ β”œβ”€β”€ ui/ # Composants shadcn/ui β”‚ β”‚ β”œβ”€β”€ button.tsx β”‚ β”‚ β”œβ”€β”€ card.tsx β”‚ β”‚ └── ... β”‚ β”œβ”€β”€ animations/ # Wrappers Framer Motion β”‚ β”‚ β”œβ”€β”€ FadeIn.tsx β”‚ β”‚ β”œβ”€β”€ SlideIn.tsx β”‚ β”‚ β”œβ”€β”€ ScaleIn.tsx β”‚ β”‚ └── StaggerChildren.tsx β”‚ └── blocks/ # Sections de page β”‚ β”œβ”€β”€ HeroSimple.tsx β”‚ β”œβ”€β”€ FeaturesGrid.tsx β”‚ β”œβ”€β”€ CTABanner.tsx β”‚ β”œβ”€β”€ Testimonials.tsx β”‚ └── Footer.tsx └── lib/ └── utils.ts # Utilitaires (cn, etc.) ``` ## 🎯 Quick Start ```bash # Cloner git clone mon-projet cd mon-projet # Installer npm install # Lancer npm run dev ``` Ouvrir [http://localhost:3000](http://localhost:3000) ## 🎨 Composants d'animation ```tsx import { FadeIn, SlideIn, StaggerChildren } from "@/components/animations"; // Fade in au scroll ... // Slide depuis la gauche // Enfants apparaissent en cascade ``` ## 🧱 Blocs disponibles | Bloc | Description | |------|-------------| | `HeroSimple` | Hero avec titre, sous-titre, CTA | | `FeaturesGrid` | Grille de fonctionnalitΓ©s avec icΓ΄nes | | `CTABanner` | BanniΓ¨re d'appel Γ  l'action | | `Testimonials` | TΓ©moignages clients | | `Footer` | Pied de page multi-colonnes | ## 🎨 Personnalisation ### Couleurs Modifier `src/app/globals.css` : ```css :root { --primary: 220 90% 56%; --primary-foreground: 0 0% 100%; /* ... */ } ``` ### Ajouter des composants shadcn/ui ```bash npx shadcn@latest add dialog npx shadcn@latest add dropdown-menu npx shadcn@latest add form ``` ## πŸ“ TODO - [ ] Ajouter Payload CMS - [ ] Module Auth (NextAuth) - [ ] Module Billing (Stripe) - [ ] PWA config - [ ] SEO metadata helpers - [ ] i18n (FR/NL/EN) - [ ] Plus de blocs (Pricing, FAQ, Contact...) ## πŸ“„ License MIT β€” Hagen Digital