Skip to content

feat(home): Replace subjects section with curriculum columns#1111

Merged
jeromehardaway merged 5 commits into
masterfrom
homepage-curriculum-columns
May 9, 2026
Merged

feat(home): Replace subjects section with curriculum columns#1111
jeromehardaway merged 5 commits into
masterfrom
homepage-curriculum-columns

Conversation

@jeromehardaway

Copy link
Copy Markdown
Contributor

Summary

  • Homepage now previews the four Hashflag Stack phases — phase number, name, tagline, duration, outcome — with deep links into `/programs/core-curriculum#`. Source: the canonical `PHASES` constant.
  • Drops the legacy `` thumbnail grid that was rendering subjects as decorative cards.
  • Removes the entire `/subjects` feature surface (pages, JSON data, lib, nav entry, sitemap column) since the curriculum page is now the single home for that content.
  • Repoints three "View Curriculum" CTAs (assessment, jobs/index, jobs/[id]) from `/subjects/all` to `/programs/core-curriculum`.
  • Cleans the orphan course/course-details/course-full/membership/enroll-modal containers that became unreferenced after the subjects pages went away.

Net diff: +687 / −1,849.

Test plan

  • `/` renders the new dark four-column curriculum preview between StatBelt and Testimonials
  • Each card links to the correct phase anchor on `/programs/core-curriculum`
  • `/subjects/all` and `/subjects/foundations` (etc.) return 404
  • Train submenu no longer shows "Subjects & Skills"
  • `/sitemap` no longer has the "Curriculum Tracks" column
  • "View Curriculum" buttons on `/assessment`, `/jobs`, and a job detail page route to `/programs/core-curriculum`
  • `next build` succeeds

Homepage now previews the four Hashflag Stack phases with deep links
into /programs/core-curriculum, instead of generic subject thumbnails.

- New container src/containers/home/curriculum-columns sources from
  PHASES; dark four-column layout with phase number, name, tagline,
  duration, and outcome; each card links to the matching phase anchor
- Remove CourseArea, getallCourses call, and ICourse from index.tsx
- Drop Subjects & Skills nav entry and the Curriculum Tracks sitemap
  column — the curriculum page is now the single home for that content
- Repoint /subjects/all CTAs in assessment.tsx, jobs/index.tsx, and
  jobs/[id].tsx to /programs/core-curriculum
- Delete subjects pages, src/data/subjects/*.json, src/lib/course.ts,
  and the orphan course/course-details/course-full/membership/
  enroll-modal containers that became unreferenced
@vercel

vercel Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vets-who-code-app Ready Ready Preview, Comment May 9, 2026 2:43am

Request Review

@jeromehardaway jeromehardaway self-assigned this May 9, 2026
Homepage now alternates light and navy sections cleanly with the
component primitives that drive each section adjusted to read on
either bg.

- Testimonials: TestimonialArea defaults to white; testimonial-03 /
  testimonial-04 / SectionTitle flipped from white to ink/navy text
- Events: wrapped in dark-section tw-bg-navy with section_title color
  "C" so the eyebrow flips to white
- Mission pull-quote + alumni strip: PullQuote and AlumniStrip gain a
  theme prop (defaults to dark for other pages); homepage passes light
- Media: same treatment as Events
- Blog: BlogArea defaults to white, SectionTitle "C" → "A"
- Brand / Technology Partners: wrapped in dark-section tw-bg-navy and
  partner-text fallback color flipped for visibility on navy

Address fix: text-widget gains the city/state/zip line, and
contact-us.json typo "Marrietta" corrected to "Marietta".
@jeromehardaway jeromehardaway merged commit 7e9e208 into master May 9, 2026
6 checks passed
@jeromehardaway jeromehardaway deleted the homepage-curriculum-columns branch May 9, 2026 02:46
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