Next.jsでできたゲームウェブサイトです。Vercelでホストしていて、バックエンドはFirebase Functionsで動いています。
スクリプトはfunctions/src
に置いています。
faviconなど。
- components
- common: ページ関係なく使い回すもの
- layout: 全ページ用レイアウト
- partials: 記事・コメントためのパーツ
- providers: Chakra UI のカラーテーマ切り替え用
- lib: 後ろの処理(API サーバーに分離できなかったもの)
- models: 型の定義
- pages: ページ
- styles: CSS モジュール
https://b.0218.jp/202104021830.html
https://sunday-morning.app/posts/2020-12-09-nextjs-google-analytics
https://github.com/vercel/next.js/tree/canary/examples/cms-contentful
https://zenn.dev/dala/books/nextjs-firebase-service
https://qiita.com/y-shida1997/items/f5e52c7288813a8184ff
https://qiita.com/cheez921/items/39ae1ad2c38e5829b89c