How whizzerbeats000-design/gibs-frontend works
GIBS is a static, read-only school website: visitors browse programme, campus, admissions, institutional and gallery content, search the catalogue, or make contact. The hash-router dispatches pages; bundled catalogue and institutional data supply the content, while contact/newsletter workflows use mailto rather than a backend. The graph preserves documented capabilities, but some page and helper connections are based on the README or SOURCE INDEX because their implementations were not excerpted.
Main entry points: App.tsx Application shell · data.ts Programme catalogue · Programmes.tsx Programme browsing · ProgrammeDetail.tsx Programme details
Components 23
Application runtime
- Application shell
src/App.tsx - Hash router
src/lib/router.tsx - Site pages
src/pages - Home sections
src/sections - Route metadata
src/lib/seoMetadata.ts
Content and discovery
- Programme catalogue
src/lib/data.ts - Programme browsing
src/pages/Programmes.tsx - Programme details
src/pages/ProgrammeDetail.tsx - Programme content
src/lib/programme-content.ts - Campus locations
src/pages/LocationDetail.tsx - Campus gallery
src/pages/Gallery.tsx - Site search
src/components/Search.tsx - Category utilities
src/lib/categoryUtils.ts
Visitor engagement
- Concierge interface
src/components/Concierge.tsx - Concierge responses
src/lib/concierge.ts - Contact and enquiry
src/pages/Contact.tsx
Shared presentation
- Navigation and footer
src/components/chrome.tsx - Page hero
src/components/PageHero.tsx - Programme cards
src/components/cards.tsx - Motion primitives
src/components/motion.tsx - Icon set
src/components/icons.tsx
Other components
- Website visitor
- Visitor mail client
Connections 27
- Website visitor → Application shell: visits
- Application shell → Hash router: provides routing
src/App.tsx - Application shell → Site pages: dispatches routes
src/App.tsx - Application shell → Navigation and footer: renders shell
src/App.tsx - Application shell → Site search: opens search
src/App.tsx - Application shell → Concierge interface: opens concierge
src/App.tsx - Application shell → Home sections: renders home
- Hash router → Route metadata: syncs metadata
src/lib/router.tsx - Programme browsing → Programme catalogue: reads programmes
src/pages/Programmes.tsx - Programme browsing → Category utilities: groups listings
src/pages/Programmes.tsx - Programme browsing → Programme content: uses content
src/pages/Programmes.tsx - Programme browsing → Programme cards: renders cards
src/pages/Programmes.tsx - Programme details → Programme catalogue: reads programme
src/pages/ProgrammeDetail.tsx - Programme details → Programme content: uses content
src/pages/ProgrammeDetail.tsx - Programme details → Programme cards: renders cards
src/pages/ProgrammeDetail.tsx - Campus locations → Programme catalogue: filters schedule
src/pages/LocationDetail.tsx - Site search → Programme catalogue: indexes listings
src/components/Search.tsx - Concierge interface → Concierge responses: requests responses
src/components/Concierge.tsx - Concierge responses → Programme catalogue: uses programme data
src/lib/concierge.ts - Contact and enquiry → Visitor mail client: opens mailto
- Programme browsing → Website visitor: shows listings
- Programme details → Website visitor: shows details
- Campus locations → Website visitor: shows facilities
- Campus gallery → Website visitor: shows photographs
- Navigation and footer → Website visitor: offers navigation
src/components/chrome.tsx - Page hero → Motion primitives: uses animation
src/components/PageHero.tsx - Programme cards → Programme catalogue: reads listings
src/components/cards.tsx