How cyprian-c/nrb-fit works
NRBFIT is a single-page marketing and enquiry site for a Nairobi fitness studio. Visitors can review the studio introduction, filter the class schedule, meet coaches, compare membership packages, and reach the studio through the contact section. The React entry renders App, which assembles the page sections; schedule, coach, and membership sections use centralized hardcoded data, while membership quantities are locally managed with a reusable stepper. The contact form and mail/WhatsApp options are presented in the UI; no submission backend is evidenced in the sampled source.
Main entry points: App.jsx Page composition · MembershipSection.jsx Membership packages · ContactSection.jsx Contact and enquiry · ClassScheduleSection.jsx Class schedule
Components 14
Studio page
- React entry
src/main.jsx - Page composition
src/App.jsx - Navigation
src/components/Header.jsx - Studio introduction
src/components/Hero.jsx - Studio footer
src/components/Footer.jsx
Training offerings
- Class schedule
src/components/ClassScheduleSection.jsx - Coach profiles
src/components/CoachSection.jsx - Membership packages
src/components/MembershipSection.jsx - Quantity stepper
src/components/QuantityStepper.jsx - Studio content data
src/data/siteData.js
Visitor engagement
- Contact and enquiry
src/components/ContactSection.jsx
Other components
- Visitor
- Email client
Connections 18
- Visitor → React entry: opens site
src/main.jsx - React entry → Page composition: renders
src/main.jsx - Page composition → Navigation: renders
src/App.jsx - Page composition → Studio introduction: renders
src/App.jsx - Page composition → Class schedule: renders
src/App.jsx - Page composition → Coach profiles: renders
src/App.jsx - Page composition → Membership packages: renders
src/App.jsx - Page composition → Contact and enquiry: renders
src/App.jsx - Page composition → Studio footer: renders
src/App.jsx - Class schedule → Studio content data: reads schedule
src/components/ClassScheduleSection.jsx - Coach profiles → Studio content data: reads profiles
src/components/CoachSection.jsx - Membership packages → Studio content data: reads plans
src/components/MembershipSection.jsx - Membership packages → Quantity stepper: renders and updates
src/components/MembershipSection.jsx - Visitor → Class schedule: filters classes
src/components/ClassScheduleSection.jsx - Visitor → Membership packages: adjusts quantities
src/components/MembershipSection.jsx - Visitor → Contact and enquiry: submits enquiry
src/components/ContactSection.jsx - Contact and enquiry → Email client: offers email action
src/components/ContactSection.jsx - Contact and enquiry → WhatsApp: offers WhatsApp action
src/components/ContactSection.jsx