Skip to content

Release: ホーム CTA 整理 / 404 ページ / ESLint 移行#32

Merged
angurodon merged 6 commits into
prodfrom
develop
May 6, 2026
Merged

Release: ホーム CTA 整理 / 404 ページ / ESLint 移行#32
angurodon merged 6 commits into
prodfrom
develop

Conversation

@angurodon

@angurodon angurodon commented May 6, 2026

Copy link
Copy Markdown
Owner

リリース内容

shadcn/ui + Tailwind v4 ベースの改修フェーズ第二弾。

#29 ホームとヘッダーの CTA を整理

  • お問い合わせ系 CTA(Header / /overview 末尾 / /company 末尾)をブランドのコンタクト用緑 #5fc061
    に統一し、--color-brand-contact トークン化
  • Backup の 3 カードを /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 lint deprecation 対応(Next.js 16 で削除予定)
  • .eslintrc.json (legacy) → eslint.config.mjs (flat config)
  • eslint-config-next は legacy 形式のため FlatCompat 経由で読み込み
  • npm run lintnext linteslint . に切り替え

デプロイ前検証

  • npm ci
  • npm run lint
  • npm run typecheck
  • npm run build
  • out/ 配下に各ページ index.html + 404.html 出力確認
  • CloudFront Function (infra/cloudfront/url-rewrite.js) に変更なし → AWS 側操作不要
  • React Doctor スコア 99/100 維持

デプロイ後の確認

  • https://www.ic-gr.net/ がリロードして表示される
  • /overview, /company, /privacy 直リンクが 200
  • 存在しないパス(例 /foo)で 404 ページが表示される
  • Header の「お問い合わせ」ボタンが緑(#5fc061
  • ホームのヒーロー 二段 CTA(「サービスを見る」「お問い合わせ」)がクリック可能

ロールバック手順

万一問題があれば 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
```

r-ike and others added 6 commits May 6, 2026 17:08
- 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) に移行
@angurodon
angurodon merged commit b3ea928 into prod May 6, 2026
1 check passed
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