Skip to content

[☓ 緊急リリースではない] 助成金サポートについてのコンテンツ追加#9720

Merged
komagata merged 4 commits intomainfrom
training-support
Mar 4, 2026
Merged

[☓ 緊急リリースではない] 助成金サポートについてのコンテンツ追加#9720
komagata merged 4 commits intomainfrom
training-support

Conversation

@machida
Copy link
Copy Markdown
Member

@machida machida commented Mar 3, 2026

Summary by CodeRabbit

リリースノート

  • 新機能

    • トレーニングページを大幅に拡張。補助金情報、カスタマイズ可能な研修メニュー、企業向け事例・テスティモニアル、各種CTAsを追加。
  • スタイル

    • リンクの下線表示をデフォルト化(ホバーで消える挙動に変更)。
    • カテゴリタイル、コース選択グリッドの新デザインとレスポンシブ改善。
    • 一部セクションの配置・余白・スタッキング順を調整。
  • その他

    • ウェルカムページのリンク先を更新。

@github-actions github-actions bot requested a review from komagata March 3, 2026 15:56
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 3, 2026

📝 Walkthrough

Walkthrough

トレーニングページに補助金・カスタムメニュー・推薦文セクションなどの新規コンテンツを追加し、LP関連のCSS(カテゴリタイル、コース選択グリッド、キャプチャのレスポンシブ等)を導入・調整。短文リンクの装飾動作とリアクションコンテナのz-indexも変更しています。

Changes

Cohort / File(s) Summary
リアクション & リンクスタイリング
app/assets/stylesheets/application/blocks/reaction/_reaction.css, app/assets/stylesheets/atoms/_a-short-text.css
.reactionsz-index: 2 を追加。.a-short-text a のデフォルト装飾を underline にし、ホバー/アクティブで underline を除去(挙動を反転)。
LP インポート & タイポ
app/assets/stylesheets/lp.css
_lp-category-tiles.css_lp-course-selection-grid.css のインポートを追加。
LP: カテゴリータイル
app/assets/stylesheets/lp/blocks/lp/_lp-category-tiles.css, app/assets/stylesheets/lp/blocks/lp/_lp-content-title.css
新規 .lp-category-tiles 系セレクタ群を追加(4セレクタ)。.lp-content-title.is-border-lefttext-align: left を追加。
LP: コース選択グリッド & アイテム & キャプチャ
app/assets/stylesheets/lp/blocks/lp/_lp-course-selection-grid.css, app/assets/stylesheets/lp/blocks/lp/_lp-course-selection-item.css, app/assets/stylesheets/lp/blocks/lp/_lp-capture-section.css
コース選択グリッドにレスポンシブルール(≥48em: grid / ≤47.9375em: vertical flex)を追加。_item のカテゴリ間ギャップを 1.5rem→0.75rem に短縮。キャプチャセクションの小スクリーンで flex-direction: column-reverse を追加。
トレーニングページビュー
app/views/welcome/training.html.slim, app/views/welcome/_welcome_top_info.html.slim
トレーニングページに補助金案内、カスタム学習メニュー、推薦文・事例、複数CTAなど大規模コンテンツを追加(約+375行)。_welcome_top_info のリンク先を training_path に変更。

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested reviewers

  • komagata
  • okuramasafumi

Poem

🐰🌱 新しいページへ飛び出すよ、葉っぱの地図片手に
グリッドが並び、タイルが光る夜明け前
リンクは下線でひらり、補助金の話がうたう
小さな推薦が道を照らすよ
さあ出発だ、ぴょんと学びの旅へ 🎓

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning テンプレートで必須とされているセクション(Issue、概要、変更確認方法、Screenshot)がすべて欠落しており、説明が完全に空です。 リポジトリの説明テンプレートに従い、Issue番号、概要、変更確認方法、変更前後のスクリーンショットを追加してください。
✅ Passed checks (2 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed このプルリクエストのタイトルは、変更セットの主な目的を正確に反映しています。助成金サポートについてのコンテンツ追加という明確なテーマが、raw_summaryに含まれるtraining.html.slimの大規模な追加(375行の追加)および他のCSSスタイルの追加と一致しています。

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch training-support

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@app/views/welcome/training.html.slim`:
- Around line 161-162: The link helper call link_to '' creates an empty href;
update the link_to wrapping the image_tag('logic.png', ...) to use the same
destination used elsewhere in this view for the ロジック社労士事務所 link (replace the
empty string with that URL or a named route), keep target: '_blank', and ensure
alt text and CSS class remain unchanged so the logo opens the external site in a
new tab.

ℹ️ Review info

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ffad791 and 274b934.

⛔ Files ignored due to path filters (1)
  • app/assets/images/logic.png is excluded by !**/*.png
📒 Files selected for processing (10)
  • app/assets/stylesheets/application/blocks/reaction/_reaction.css
  • app/assets/stylesheets/atoms/_a-short-text.css
  • app/assets/stylesheets/lp.css
  • app/assets/stylesheets/lp/blocks/lp/_lp-capture-section.css
  • app/assets/stylesheets/lp/blocks/lp/_lp-category-tiles.css
  • app/assets/stylesheets/lp/blocks/lp/_lp-content-title.css
  • app/assets/stylesheets/lp/blocks/lp/_lp-course-selection-grid.css
  • app/assets/stylesheets/lp/blocks/lp/_lp-course-selection-item.css
  • app/views/welcome/_welcome_top_info.html.slim
  • app/views/welcome/training.html.slim

@machida machida self-assigned this Mar 3, 2026
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
app/views/welcome/training.html.slim (1)

164-164: !gap-4 は welcome ビュー全体で使用される体系的なパターンです

このプロジェクトの welcome ビューでは、Tailwind CSS の !important 修飾子を含むユーティリティクラス(!gap-4!m-0!mt-2!leading-snug など)が体系的に使用されています。特に app/views/welcome/logo.html.slim では 30 件以上のインスタンスが存在し、config/slim_lint.yml ではこのパターンについて制限が設定されていません。

この使用方法が現在のプロジェクト方針として意図的なものであれば問題ありませんが、コンポーネント CSS へのリファクタリングを検討する場合は、単一行ではなく welcome ビュー全体で体系的に対応することをお勧めします。

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@app/views/welcome/training.html.slim` at line 164, welcome ビュー全体で Tailwind
の重要指定ユーティリティ(例: '!gap-4', '!m-0', '!mt-2',
'!leading-snug')が体系的に使われていますが、単一行での修正は不十分です。welcome ビューと関連部分(特に
app/views/welcome/training.html.slim と app/views/welcome/logo.html.slim
に散在する該当クラス)を横断的に確認して、同種の '!'-付きユーティリティをコンポーネント CSS または共通クラスにまとめて置き換えるか、あるいは
config/slim_lint.yml にこのパターンを明示的に許可する設定を追加するよう修正してください。該当クラス名を検索して一覧化し、統一的な対応(共通
partial/SCSS/コンポーネント化 もしくは linter 設定の更新)を適用してください。
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@app/views/welcome/training.html.slim`:
- Line 164: welcome ビュー全体で Tailwind の重要指定ユーティリティ(例: '!gap-4', '!m-0', '!mt-2',
'!leading-snug')が体系的に使われていますが、単一行での修正は不十分です。welcome ビューと関連部分(特に
app/views/welcome/training.html.slim と app/views/welcome/logo.html.slim
に散在する該当クラス)を横断的に確認して、同種の '!'-付きユーティリティをコンポーネント CSS または共通クラスにまとめて置き換えるか、あるいは
config/slim_lint.yml にこのパターンを明示的に許可する設定を追加するよう修正してください。該当クラス名を検索して一覧化し、統一的な対応(共通
partial/SCSS/コンポーネント化 もしくは linter 設定の更新)を適用してください。

ℹ️ Review info

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 274b934 and c1df632.

📒 Files selected for processing (1)
  • app/views/welcome/training.html.slim

@machida machida changed the title 助成金サポートについてのコンテンツ追加 [緊急リリース] 助成金サポートについてのコンテンツ追加 Mar 4, 2026
@machida machida changed the base branch from main to production March 4, 2026 08:28
@machida machida removed the request for review from komagata March 4, 2026 08:29
@machida machida changed the base branch from production to main March 4, 2026 08:32
@machida machida changed the title [緊急リリース] 助成金サポートについてのコンテンツ追加 助成金サポートについてのコンテンツ追加 Mar 4, 2026
@machida machida changed the title 助成金サポートについてのコンテンツ追加 [緊急リリースではない] 助成金サポートについてのコンテンツ追加 Mar 4, 2026
@machida machida changed the title [緊急リリースではない] 助成金サポートについてのコンテンツ追加 [☓ 緊急リリースではない] 助成金サポートについてのコンテンツ追加 Mar 4, 2026
@komagata komagata merged commit f55f699 into main Mar 4, 2026
14 checks passed
@komagata komagata deleted the training-support branch March 4, 2026 10:36
@github-actions github-actions bot mentioned this pull request Mar 4, 2026
33 tasks
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