Conversation
|
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.
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.ts—OfficerTeam,OfficerMember,ConstellationTemplatetypes;resolveConstellationLayout()with overflow append ruleapp/components/teams/sceneConfig.ts— layout constants,getDesktopConstellationBox(), seededcreateAmbientStars()app/data/constellation-templates.json— per-team node positions, edges, lead node, and append ruleapp/data/officer-teams.json— all officer data (id, label, description, group photo, lead, members with name/role/LinkedIn/quote)app/hooks/useIsAndroid.ts—useSyncExternalStore-based Android detection, SSR-safeModified files
app/globals.css—@keyframes constellation-lead-pulse+.constellation-leadclass; respectsprefers-reduced-motionapp/components/navbar/Navbar.tsx— pink underline scale-in animation on nav link hover.gitignore— added/.codexBreaking change
app/data/teams.tsremoved — replaced byofficer-teams.json. Update any direct imports.