Conversation
- Header / /overview 末尾 / /company 末尾の「お問い合わせ」を緑で統一 (--color-brand-contact トークンを globals.css に追加) - Backup を Service N eyebrow + /overview と同順序に刷新 (PNG イラストは維持) - SectionComponent1 に「サービスを見る / お問い合わせ」二段 CTA を追加 - docs/shadcn-ui.md に変更ログ追記 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ホームとヘッダーの CTA を整理
- app/not-found.tsx を新規作成(Next.js App Router の標準 not-found 規約) - ヒーロー型レイアウト(Error 404 eyebrow / 大きな 404 / 「ホームへ戻る」+「お問い合わせ」CTA) - /overview /company へのクイックリンクも併設 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- next lint deprecation 対応(Next.js 16 で削除予定) - .eslintrc.json (legacy) を削除し eslint.config.mjs (flat config) を導入 - eslint-config-next は legacy 形式のため FlatCompat 経由で読み込む - package.json: lint スクリプトを "next lint" → "eslint ." に変更 - @eslint/eslintrc を devDependencies に明示追加 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ESLint を flat config (eslint.config.mjs) に移行
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.
リリース内容
shadcn/ui + Tailwind v4 ベースの改修フェーズ第二弾。
#29 ホームとヘッダーの CTA を整理
/overview末尾 //company末尾)をブランドのコンタクト用緑#5fc061に統一し、
--color-brand-contactトークン化/overviewと順序整合(経理支援 → システム導入 → MAS)し、Service N eyebrow + 「詳しく見る→」構造に
SectionComponent1) に「サービスを見る」「お問い合わせ」二段 CTA を追加#30 404 ページのデザイン追加
app/not-found.tsxを新設し、ヒーロー型レイアウト(Error 404 eyebrow / 大きな 404 /「ホームへ戻る」+「お問い合わせ」CTA)
/overview/companyへのクイックリンクも併設out/404.htmlとして書き出し#31 ESLint flat config 移行
next lintdeprecation 対応(Next.js 16 で削除予定).eslintrc.json(legacy) →eslint.config.mjs(flat config)eslint-config-nextは legacy 形式のためFlatCompat経由で読み込みnpm run lintをnext lint→eslint .に切り替えデプロイ前検証
npm cinpm run lintnpm run typechecknpm run buildout/配下に各ページindex.html+404.html出力確認infra/cloudfront/url-rewrite.js) に変更なし → AWS 側操作不要デプロイ後の確認
/overview,/company,/privacy直リンクが 200/foo)で 404 ページが表示される#5fc061)ロールバック手順
万一問題があれば prod を 1 コミット revert して push すれば前バージョンに戻る:
```bash
git checkout prod
git pull --ff-only origin prod
git revert -m 1 HEAD --no-edit
git push origin prod
```