Skip to content

Const adjust#11

Open
5sansiva wants to merge 7 commits intomainfrom
const_adjust
Open

Const adjust#11
5sansiva wants to merge 7 commits intomainfrom
const_adjust

Conversation

@5sansiva
Copy link
Copy Markdown

feat: Teams constellation section

Introduces a fully scroll-driven Teams section built around constellation-shaped officer groups. Desktop users get a horizontally-panning scene with lerp-smoothed scroll-jacking; mobile gets the same animation in a sticky viewport with a stacked info panel. All motion respects prefers-reduced-motion, falling back to a native snap-scroll list.

New files

  • app/components/teams/Teams.tsx — main constellation section (scroll-jack, sidebar, mobile panel, tooltips, lead pulse, reduced-motion fallback, Android/iOS split)
  • app/components/teams/constellationLayout.tsOfficerTeam, OfficerMember, ConstellationTemplate types; resolveConstellationLayout() with overflow append rule
  • app/components/teams/sceneConfig.ts — layout constants, getDesktopConstellationBox(), seeded createAmbientStars()
  • app/data/constellation-templates.json — per-team node positions, edges, lead node, and append rule
  • app/data/officer-teams.json — all officer data (id, label, description, group photo, lead, members with name/role/LinkedIn/quote)
  • app/hooks/useIsAndroid.tsuseSyncExternalStore-based Android detection, SSR-safe

Modified files

  • app/globals.css@keyframes constellation-lead-pulse + .constellation-lead class; respects prefers-reduced-motion
  • app/components/navbar/Navbar.tsx — pink underline scale-in animation on nav link hover
  • .gitignore — added /.codex

Breaking change

  • app/data/teams.ts removed — replaced by officer-teams.json. Update any direct imports.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 23, 2026

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

Project Deployment Actions Updated (UTC)
hackutd-co Ready Ready Preview, Comment Apr 23, 2026 5:42am

@5sansiva 5sansiva requested a review from balebbae April 23, 2026 05:43
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