Skip to content

Comments

feat: トップページのコンテンツをティザーサイトのものに変更#12

Merged
masayaO merged 2 commits intodevelopfrom
feat/undo-teaser
Jan 15, 2026
Merged

feat: トップページのコンテンツをティザーサイトのものに変更#12
masayaO merged 2 commits intodevelopfrom
feat/undo-teaser

Conversation

@kamekyame
Copy link
Contributor

@kamekyame kamekyame commented Jan 14, 2026

概要

ヘッダー・フッターなど本サイトに載せる情報もティザーサイトに先行して載せてしまって構わないため、変更を行いました。

変更点

  • src/app/page.tsx の中身をティザーサイトのものに変更
    • 元々の src/app/page.tsx の中身は src/app/top/page.dev.tsx に移動
  • IS_DEVELOPMENT 環境変数に応じてビルドする対象ページが変わるように修正
    • IS_DEVELOPMENT=true の時は page.dev.tsx なども対象になる。未指定 or false の時はビルドに含まれない
    • pnpm dev 時は自動で .env.development が読み込まれるため WIP 用ページもプレビューでき、pnpm build の時は production なので WIP用ページはビルドされない
    • 今後 Cloudflare 等でレビュー環境をビルドするときには IS_DEVELOPMENT=true pnpm build とするイメージ
トップ(現在のティザーサイトにヘッダーフッターが追加)
localhost_3000_

@kamekyame kamekyame changed the title feat: トップページをティザーサイト feat: トップページのコンテンツをティザーサイトのものに変更 Jan 14, 2026
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

このファイルは変更前の src/app/page.tsx を退避(コピー)したものになります(import パスだけ修正)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

この変更は現在 main の src/app/page.tsx をコピーしなおしたものになります

Copy link
Collaborator

@masayaO masayaO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@masayaO masayaO merged commit d704a52 into develop Jan 15, 2026
1 check passed
@masayaO masayaO deleted the feat/undo-teaser branch January 15, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants