How orsted10/campus-kart works
CampusKart is presented in the README as a cinematic public landing experience: visitors move through a campus narrative, explore food, rides and essentials demos, then can join or contact partners. The repository also contains student dashboard, authentication, delivery-dispatch, support and legal experiences. The README documents the landing-page sequence; the SOURCE INDEX and excerpts expose selected app-to-component relationships and Supabase use. Many feature implementations were not sampled, so their internal flows are not inferred here.
Main entry points: Experience.tsx Experience assembly · store.tsx App state · page.tsx Student dashboard · shell.tsx Dashboard shell
Components 23
Landing experience
- Experience assembly
components/Experience.tsx - Campus hero
components/Hero.tsx - Campus narrative
components/Chaos.tsx - Network convergence
components/Convergence.tsx - Service demos
components/Ecosystem.tsx - Campus journeys
components/Journeys.tsx - Campus map
components/CampusMap.tsx - Campus stories
components/Scenarios.tsx - Trust layer
components/Trust.tsx - Partner lead form
components/Partner.tsx
Shared state and auth
- App state
lib/store.tsx - Navigation and theme
components/Chrome.tsx - Student authentication
components/AuthView.tsx - Supabase client
lib/supabase.ts - Demo content
lib/data.ts
Student services
- Student dashboard
app/dashboard/page.tsx - Dashboard shell
components/dashboard/shell.tsx - Product catalog
lib/catalog.ts
Delivery dispatch
- Delivery dispatch
app/deliverlogin/page.tsx - Dispatch map
components/DeliveryMap.tsx
Support and information
- Help center
components/support/SupportContent.tsx - Legal documents
components/legal/LegalLayout.tsx
Other components
- Campus visitor
Connections 21
- Campus visitor → Experience assembly: opens
README.md - Experience assembly → Campus hero: assembles
README.md - Experience assembly → Campus narrative: assembles
README.md - Experience assembly → Network convergence: assembles
README.md - Experience assembly → Service demos: assembles
README.md - Experience assembly → Campus journeys: assembles
README.md - Experience assembly → Campus map: assembles
README.md - Experience assembly → Campus stories: assembles
README.md - Experience assembly → Trust layer: assembles
README.md - Experience assembly → Partner lead form: assembles
README.md - Experience assembly → App state: uses
README.md - Navigation and theme → App state: reads and updates
components/Chrome.tsx - Student authentication → Supabase client: requests auth
components/AuthView.tsx - App state → Supabase client: syncs session
lib/store.tsx - Student dashboard → Dashboard shell: renders
app/dashboard/page.tsx - Student dashboard → Product catalog: uses
app/dashboard/page.tsx - Dashboard shell → Product catalog: uses
components/dashboard/shell.tsx - Delivery dispatch → Dispatch map: loads
app/deliverlogin/page.tsx - Help center → App state: uses
components/support/SupportContent.tsx - Legal documents → App state: uses
components/legal/LegalLayout.tsx - Experience assembly → Demo content: uses demo content
README.md