Awwwards ランディングページ
Locomotive Scroll、GSAP、Framer Motion を使用したスムーズなスクロールアニメーションを備えた、魅力的なポートフォリオランディングページ。
技術スタック
- フレームワーク: Next.js
- アニメーション: Locomotive Scroll、GSAP、Framer Motion
- パッケージマネージャー: pnpm または npm
- 開発ポート: 3000
セットアップ
1. テンプレートをクローン
git clone --depth 1 https://github.com/Eng0AI/awwwards-landing-page-template.git .
ディレクトリが空でない場合:
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. Git 履歴を削除(オプション)
rm -rf .git
git init
3. 依存関係をインストール
npm install
ビルド
npm run build
デプロイ
重要: Vercel にデプロイする場合は、必ず
vercel build --prodの後にvercel deploy --prebuilt --prodを使用してください。vercel --prodを直接使用しないでください。
Vercel(推奨)
vercel pull --yes -t $VERCEL_TOKEN
vercel build --prod -t $VERCEL_TOKEN
vercel deploy --prebuilt --prod --yes -t $VERCEL_TOKEN
Netlify
netlify deploy --prod
開発
npm run dev
http://localhost:3000 で開きます。
注意事項
- 静的 Next.js サイト - 環境変数は不要です。
- VM 環境では
npm run devを実行しないでください。