feat(career-guides): Redesign singular guide as hashflag detail view#1126
Merged
Conversation
Replaces the per-MOS page with an editorial detail layout matching the career-guides index: status bar, fixed-right anchor nav, hero with display title + summary card + 5-cell stat strip, numbered sections for tech roles (expand-on-click + filter chips), skill bridge (have/learn + VWC fit), pathways and strengths grids, non-obvious matches, training section with IntersectionObserver-animated cert progress bars, systems table, and translator CTA band. Brand-aligned (navy/red/gold tokens, GothamPro/Gilroy, sharp edges, red eyebrow bars). Adds a buildDetail helper that derives summary, stats, family, and rank from existing training/pathways/cognitive data.
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-guides/[mos]with an editorial layout that matches the visual design of the redesigned index page (see feat(career-guides): Redesign as searchable hashflag index #1125).src/containers/career-guide-detail/composed of: status bar (LIVE pulse), fixed-right anchor nav with scroll-spy, editorial hero (display H1 + summary card + 5-cell stat strip), and 7 numbered sections — Tech Roles (filter + expand), Skill Bridge (have/learn + VWC fit card), Pathways grid (5-col), Strengths grid (5-col), Non-Obvious Matches (2-col), Training (3-col academy/topics/certs withIntersectionObserver-animated progress bars), Systems Table (full-width), and a translator CTA band with grid backdrop.buildDetailhelper (src/containers/career-guide-detail/derive.ts) derives summary fields (top match, salary band, demand, tech-match score, doc ID), stats, family, and rank from the existingtraining-pipeline/career-pathways/cognitive-skills/tech-pathwaysdata — no new data files needed.design_handoff_singular_career_guideprototype adapted to our brand system: VWC navy/red/gold tokens (not the prototype's slight variants), GothamPro + Gilroy fonts (not Geist), 0 border radius (not 2px), reusedLayout01Header/Footer (drops the prototype's own nav/footer), signature 16×2px red eyebrow bar on every section title.Design decisions
xlbreakpoint — same constraint the handoff specified at 1180px.IntersectionObserverwiththreshold: 0.3and 600ms ease-out fill, matching the handoff timing.Family(e.g., "Operations · Security") andDOMAIN_FORsystem bucket are regex-derived heuristics — a curated mapping JSON would be more accurate as a follow-up.Tech match scoreformula is(weighted_avg × 10).toFixed(1)where high=1.0 / good=0.7 / moderate=0.45 — placeholder until a real validated formula exists.layout.bodyClass: \"tw-bg-secondary\"so the dark navy extends edge-to-edge.Known follow-ups
Test plan
/career-guides/11band/career-guides/3p0x1render with 200 status; all 8 anchors resolve to sections