feat(career-guides): Redesign as searchable hashflag index#1125
Merged
Conversation
Replaces the flat list of 4,201 job codes with an editorial database: status bar, hero stat strip, category showcase, search with autocomplete and Cmd-K, branch/rank/family/sort filters, paginated grid view, and cohort CTA. Brand-aligned (navy/red/gold tokens, sharp edges, GothamPro, red eyebrow bars). Merges training-pipeline + career-pathways data at build time into the GuideEntry shape.
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
/career-guideswith an editorial database matching the design level of/programs/core-curriculum.src/containers/career-guides/composed of: status bar (with LIVE pulse), editorial hero + 5-column stat strip, 4-pathway category showcase, search with ⌘K + autocomplete, branch chips + rank + family + sort filters, paginated grid view (60 per page), and Cohort 2027 CTA band.src/lib/career-guides.tsmergestraining-pipeline.json+career-pathways-map.jsonat build time into theGuideEntryshape (code, title, branch, rank, family, civilian translation, salary band, certs, demand).design_handoff_career_guidesprototype adapted to our brand system: VWC navy/red/gold tokens (not the prototype's gold), GothamPro + Gilroy fonts (not Geist), 0 border radius (not 2px), reusedLayout01Header/Footer (drops the prototype's own nav/footer), and the signature 16×2px red eyebrow bar on every section title.Design decisions
view: grid,hero: editorial, distinct branch colors. Dropped the tweaks panel, table view, and list view.use-load-morepattern.src/lib/career-guides.ts— a curated mapping JSON would be more accurate as a follow-up.Known follow-ups
getStaticPropspayload is ~1.16 MB (Next warns at 128 kB) because all 4,201 guides ship to enable instant client-side filter/search. Options if needed: drop unused fields per row, paginate at build time, or move filtering server-side.[mos].tsxdetail page is unchanged; cards link to it as-is.Test plan
/career-guides, verify all sections render (status bar, hero, categories, database, CTA)/career-guides/<code>