Page d'accueil Awwwards
Une superbe page d'accueil de portfolio avec des animations de défilement fluide utilisant Locomotive Scroll, GSAP et Framer Motion.
Stack Technique
- Framework : Next.js
- Animation : Locomotive Scroll, GSAP, Framer Motion
- Gestionnaire de paquets : pnpm ou npm
- Port de développement : 3000
Configuration
1. Cloner le Template
git clone --depth 1 https://github.com/Eng0AI/awwwards-landing-page-template.git .
Si le répertoire n'est pas vide :
git clone --depth 1 https://github.com/Eng0AI/awwwards-landing-page-template.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template
2. Supprimer l'historique Git (Optionnel)
rm -rf .git
git init
3. Installer les dépendances
npm install
Build
npm run build
Déployer
CRITIQUE : Pour Vercel, vous DEVEZ utiliser
vercel build --prodpuisvercel deploy --prebuilt --prod. N'utilisez jamaisvercel --proddirectement.
Vercel (Recommandé)
vercel pull --yes -t $VERCEL_TOKEN
vercel build --prod -t $VERCEL_TOKEN
vercel deploy --prebuilt --prod --yes -t $VERCEL_TOKEN
Netlify
netlify deploy --prod
Développement
npm run dev
Ouvre à http://localhost:3000
Remarques
- Site statique Next.js - aucune variable d'environnement nécessaire
- N'exécutez jamais
npm run devdans un environnement VM