Site redesign: React Bits motion, learning space, lesson reader and a livelier Koda
Site-wide redesign on top of the current theme (palette, fonts and copy unchanged), plus the About-page team addition from #54.
What's in it
Motion (React Bits, adapted to DESIGN.md)
Vendored into src/components/reactbits/, each with a header crediting React Bits and listing what changed. Everything renders complete without JavaScript (a <noscript> rule covers the text effects), respects prefers-reduced-motion, and hover effects do nothing on touch.
- Homepage: interactive DotGrid behind the hero, BlurText headline, CountUp stats, fanned photo stack (BounceCards), ScrollReveal quote, glare on course panels, CurvedLoop band, Magnet CTAs
- Subpages: TiltedCard hero photos, Masonry galleries, spotlight stat/team cards, animated Join/Donate/Contact/Blog/Leaderboard/Toolkit/Dashboard
- About: the story video now expands from a tilted card to full width on scroll, with a real poster and play button (it previously opened on a blank cream frame)
Courses and the learning space
/coursesis a filterable catalogue; chapter counts, parts and reading time come from the lesson data, with a "Continue learning" row once progress exists- Each
/learn/<track>/page now opens into a learning space (moss course bar, progress ring, course switcher, "Continue: ", syllabus with completion), and chapter pages share that bar instead of the marketing header - Lesson reader: reading-progress bar, "Chapter N of M", sidebar progress, reworked quiz (answer states, retry keeps correct answers), pass celebration, and a collapsible Koda study buddy. LessonGate/LessonPreviewWall rules are unchanged
Illustrations and Koda
- Homepage course art, topic covers, all nine course covers and impact icons redrawn and animated (draw-in once, gentle loops, paused off-screen)
- Koda: idle float/breathe, cursor lean, pose bursts, typed lines, page-aware greetings, bottom-of-page cheer, idle nap, and a lost-Koda 404
Fixes
- Per-page Open Graph/Twitter images: 8 pages set their own
openGraphand so shared with no image - Impact stats moved to
src/lib/stats.tsso the rows stay in sync - Koda's bubble auto-hides on phones (it covered the Courses hero)
- "Jump straight into your first free lesson" link in the hero
Checks
next build,tsc --noEmitandeslint srcpass; no new dependencies- Checked in Chrome at desktop and 375px; no console errors on the key routes, no horizontal scroll
Needs a decision before merge
- What "5,000+ Students Reached" vs "150k+ Total Students Reached" each count (labels in
src/lib/stats.ts) - Om's surname spelling (card says "Khuante", LinkedIn says "khaunte") and a photo for Karthik
src/components/learn/cards/LessonCard.tsxis no longer used; left in place for now
This branch includes the commits from #54 (Vibhav P on the About page), so merging this supersedes that PR.
๐ค Generated with Claude Code
Summary by cubic
Site-wide redesign on top of the current theme (palette, fonts and copy unchanged), adding React Bits motion, a dedicated learning space, a reworked lesson reader, redrawn animated illustrations and a livelier Koda.
Learning space and reader
/coursesis now a filterable catalogue; chapter counts, parts and reading time come from the lesson data, with a "Continue learning" row once progress exists.- Each
/learn/<track>/page opens into a learning space (moss course bar, progress ring, course switcher, syllabus with completion) that chapter pages share. - The lesson reader gains a reading-progress bar, chapter position, sidebar progress, a reworked quiz (answer states, retry keeps correct answers), a pass celebration and a collapsible Koda study buddy; LessonGate/LessonPreviewWall rules are unchanged.
Motion, illustrations and Koda
- React Bits components are vendored under
src/components/reactbits/; text effects render complete without JavaScript, respectprefers-reduced-motion, and hover effects do nothing on touch. - The homepage, subpages and About gain DotGrid, BlurText, CountUp, BounceCards, ScrollReveal, glare, CurvedLoop, Magnet, TiltedCard, Masonry and spotlight cards.
- The About story video (previously a slow text animation opening on a blank frame) is now a fast 38-second photo film cut from the team's own classroom, Dublin hackathon and team photos, with counting stats, the courses, the blurred Congressional letter and an end card; it plays muted with on-screen captions behind the existing scroll-expand player and poster.
- Homepage course art, topic covers, all nine course covers and impact icons are redrawn and animated (draw-in once, gentle loops, paused off-screen).
- Koda gets idle float/breathe, cursor lean, pose bursts, typed lines, page-aware greetings, bottom-of-page cheer, an idle nap and a lost-Koda 404.
Also fixes per-page Open Graph/Twitter images for the eight pages that shared with no image, consolidates impact stats into one module, auto-hides Koda's bubble on phones, and links the hero straight to the first free lesson. Includes the About-page team addition from #54, so merging this supersedes that PR. Before merging: confirm what the two student-reached figures count, Om's surname spelling, and whether LessonCard stays.