Open
Conversation
|
@MikanNigata is attempting to deploy a commit to the sora81dev Team on Vercel. A member of the Team first needs to authorize it. |
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.
トップページの新規実装とデザイン調整を行いました。あわせて、未完成ページへの導線としてComing Soonページを追加し、ユーザビリティ向上のためのスクロール制御関連の修正を行いました。
まず新規実装として、ホーム画面(Home.tsx)を作成し、ファーストビュー、ニュースセクション、バナーエリアを実装しました。また、準備中のコンテンツ用としてComing Soonページを作成し、必要なルーティングを追加しています。
デザインおよびUIの改善点としては、ヘッダーのデザインを変更しました。ナビゲーションを右寄せにしてアクセスボタン等と統合することで、すっきりとしたレイアウトにしています。学校案内やAccessなど、内容が未定のリンク先はすべてComing Soonページへ繋ぎ込み、ニュース項目も整理しました。
修正・改善点については、ページ遷移時に最上部へスクロールするようScrollToTopコンポーネントを追加しました。また、固定ヘッダーの影響でアンカーリンクの位置がズレる問題を解消するため、Sectionコンポーネントに適切な余白(scroll-margin-top)を設定し、LT詳細ページなどでの挙動を改善しています。
確認の際は、npm run devで起動してトップページが正しく表示されること、ヘッダーのリンクやボタンが機能し準備中のものはComing Soonに遷移すること、そしてLT会情報などへのリンク遷移時にスクロール位置が正常であることを確認してください。