How swarupcreates/spine-research-foundation-india-website works
This repository is the SRF India public-facing website: a React single-page site presenting the foundation and its work. A visitor enters through the browser router, lands on the home page, and explores its hero, foundation information, events, care promises, education, trustee message, impact metrics, and misconceptions content. Navigation also routes to placeholder section pages and a not-found page. The app includes an interactive welcome journey and participation/feedback actions; their details are only partly visible in the excerpts, so those connections are shown only where supported.
Main entry points: App.tsx App shell and routes · HomePage.tsx Home page · WorkInProgressPage.tsx Work-in-progress pages · NotFoundPage.tsx Not-found page
Components 26
App and routing
- Browser app entry
src/main.tsx - App shell and routes
src/App.tsx - Work-in-progress pages
src/pages/WorkInProgressPage.tsx - Not-found page
src/pages/NotFoundPage.tsx
Home experience
- Home page
src/pages/HomePage.tsx - Homepage hero
src/components/Hero.tsx - Foundation overview
src/components/GlassCard.tsx - Events section
src/components/EventSection.tsx - Care promise
src/components/PromiseCard.tsx - Education and research
src/components/EducationCard.tsx - Trustee message
src/components/TrusteeMessage.tsx - Impact metrics
src/components/ImpactMetrics.tsx - Treatment misconceptions
src/components/MisconceptionsCard.tsx
Visitor interactions
- Site navigation
src/components/Navbar.tsx - Floating actions
src/components/FloatingActions.tsx - Action dialogs
src/components/ActionModals.tsx - Welcome journey
src/components/WelcomeJourney.tsx - Journey replay control
src/components/JourneyReplayButton.tsx
Visual components
- Scroll controls
src/components/CustomScrollbar.tsx - Gradual blur effect
src/components/GradualBlur.tsx - Animated list
src/components/AnimatedList.tsx - Mount animations
src/components/AnimatedContent.tsx - Blur text
src/components/BlurText.tsx - 404 artwork
src/components/icons/serverErrorArt.tsx - Placeholder artwork
src/components/icons/workInProgressArt.tsx
Other components
- Website visitor
Connections 29
- Website visitor → Browser app entry: opens site
src/main.tsx - Browser app entry → App shell and routes: renders
src/main.tsx - App shell and routes → Home page: routes to
src/App.tsx - App shell and routes → Work-in-progress pages: routes to
src/App.tsx - App shell and routes → Site navigation: renders
src/App.tsx - App shell and routes → Floating actions: renders
src/App.tsx - App shell and routes → Scroll controls: renders
src/App.tsx - App shell and routes → Gradual blur effect: renders
src/App.tsx - App shell and routes → Action dialogs: uses
src/App.tsx - App shell and routes → Welcome journey: renders
src/App.tsx - App shell and routes → Journey replay control: uses
src/App.tsx - App shell and routes → Not-found page: routes to
- Home page → Homepage hero: renders
src/pages/HomePage.tsx - Home page → Foundation overview: renders
src/pages/HomePage.tsx - Home page → Events section: renders
src/pages/HomePage.tsx - Home page → Care promise: renders
src/pages/HomePage.tsx - Home page → Education and research: renders
src/pages/HomePage.tsx - Home page → Trustee message: renders
src/pages/HomePage.tsx - Home page → Impact metrics: renders
src/pages/HomePage.tsx - Home page → Treatment misconceptions: renders
src/pages/HomePage.tsx - Homepage hero → Blur text: renders
src/components/Hero.tsx - Site navigation → Animated list: uses
src/components/Navbar.tsx - Welcome journey → Blur text: renders
src/components/WelcomeJourney.tsx - Welcome journey → Gradual blur effect: renders
src/components/WelcomeJourney.tsx - Work-in-progress pages → Mount animations: renders
src/pages/WorkInProgressPage.tsx - Work-in-progress pages → Placeholder artwork: renders
src/pages/WorkInProgressPage.tsx - Not-found page → Mount animations: renders
src/pages/NotFoundPage.tsx - Not-found page → 404 artwork: renders
src/pages/NotFoundPage.tsx - Floating actions → Action dialogs: opens