Conversation
kamekyame
commented
Jan 14, 2026
Contributor
Author
There was a problem hiding this comment.
このファイルは変更前の src/app/page.tsx を退避(コピー)したものになります(import パスだけ修正)
kamekyame
commented
Jan 14, 2026
Contributor
Author
There was a problem hiding this comment.
この変更は現在 main の src/app/page.tsx をコピーしなおしたものになります
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
ヘッダー・フッターなど本サイトに載せる情報もティザーサイトに先行して載せてしまって構わないため、変更を行いました。
変更点
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用ページはビルドされないIS_DEVELOPMENT=true pnpm buildとするイメージ