Skip to content

Make the use-case chooser a horizontal icon-tile grid#9

Merged
djscruggs merged 4 commits into
mainfrom
feature/icon-use-case-chooser
Jun 8, 2026
Merged

Make the use-case chooser a horizontal icon-tile grid#9
djscruggs merged 4 commits into
mainfrom
feature/icon-use-case-chooser

Conversation

@djscruggs

Copy link
Copy Markdown
Collaborator

What

Replaces the home-page use-case chooser — previously a numbered vertical list of title + summary — with icon + title tiles spread horizontally, matching the icon treatment on the interior pages.

Expandable by design

The grid uses repeat(auto-fit, minmax(...)), so adding a use case wraps to a new row with no markup or CSS change. Each vertical declares its representative icon via a chooserIcon front-matter field (resolved against flowIcons), and tiles fall back gracefully when none is set. The chooser is sorted by each vertical's order field for a stable sequence.

Files

  • src/index.njk — chooser markup → icon-tile grid, sorted by order.
  • src/assets/styles.css.vertical-grid restyled as an auto-fit icon-tile grid.
  • src/verticals/*/index.njk — added chooserIcon to each of the three verticals.

🤖 Generated with Claude Code

The home-page chooser was a numbered vertical list of title + summary.
Replace it with icon + title tiles spread horizontally, matching the
icon treatment on the interior pages.

The grid uses auto-fit with a min tile width, so added use cases wrap to
new rows with no markup or CSS change. Each vertical names its
representative icon via a chooserIcon front-matter field, resolved
against flowIcons; tiles fall back gracefully when no icon is set. The
chooser is sorted by the vertical's order field for a stable sequence.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

Cloudflare Pages preview

Deployed this PR to a live preview:

https://feature-icon-use-case-choose.learnvcorg.pages.dev

This deploy: https://09417968.learnvcorg.pages.dev

Updated for commit faec6ac.

djscruggs and others added 3 commits June 8, 2026 13:18
Make the use-case tiles separate rounded cards with gaps and a postcard
shadow instead of a seamless hairline-divided block, and grow the icons
to fill them. Shorten the supply-chain tile label to "Supply Chain".

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Enlarge the chooser icons and titles, tighten the spacing above the
chooser and between each icon and its title, and fix the icon viewBox
whitespace. Give the icon area a fixed height so the titles share a
baseline across tiles regardless of icon height. Redraw the education
icon as a landscape diploma and the student-ID icon as an ID card.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Update the "Adding a vertical" steps to include the shortName tile label
and the chooserIcon field that the home-page icon-tile chooser requires,
so a new vertical gets a tile icon.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@djscruggs djscruggs merged commit d1caebb into main Jun 8, 2026
1 check passed
@djscruggs djscruggs deleted the feature/icon-use-case-chooser branch June 8, 2026 21:22
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.

1 participant