How rldev05/7powermotors works
7POWER MOTORS is a premium motorcycle and CR-1 services website, with motorcycle discovery, product and pricing information, service and partner inquiries, and a small partnership-email API. The main user flow enters the routed React app, browses motorcycles or pricing/services, then reaches contact or partnership inquiry. The README documents additional brand and lifestyle sections; several page implementations were not sampled, so those links are based on the README. Server wiring is shown only where the excerpts support it.
Main entry points: routes.tsx Route dispatch · ServicesPage.tsx Services page · PricingPage.tsx Pricing catalog · PricingDetailPage.tsx Pricing detail
Components 34
Web entry and navigation
- App shell
src/app/App.tsx - Route dispatch
src/app/routes.tsx - Home page
src/app/pages/Home.tsx - Navigation bar
src/app/components/Navbar.tsx - Site footer
src/app/components/Footer.tsx - Brand logo
src/app/components/Logo.tsx - Scroll control
src/app/components/ScrollToTop.tsx - Hero section
src/app/components/Hero.tsx - Image fallback
src/app/components/figma/ImageWithFallback.tsx - Privacy policy
src/app/pages/PrivacyPolicy.tsx - Motion presets
src/app/lib/motionPresets.ts
Motorcycle discovery
- Featured models
src/app/components/FeaturedModels.tsx - Motorcycle catalog
src/app/motorcycles/MotorcyclesPage.tsx - Motorcycle details
src/app/motorcycles/BikeDetailsPage.tsx - Motorcycle data
src/app/data/bikes.ts - 360 bike viewer
src/app/components/Bike360Viewer.tsx
Services and inquiries
- Services page
src/app/pages/ServicesPage.tsx - Service offerings
src/app/components/Services.tsx - Application process
src/app/components/ApplicationProcess.tsx - Contact section
src/app/components/Contact.tsx - Partner page
src/app/pages/PartnersPage.tsx - Brand details
src/app/data/brand.ts
Pricing experience
- Pricing catalog
src/app/pages/PricingPage.tsx - Pricing detail
src/app/pages/PricingDetailPage.tsx - Pricing records
src/app/data/pricing.ts - Pricing data logic
src/app/lib/pricingData.ts - Pricing search index
src/app/lib/pricingSearchIndex.ts - Pricing configuration
src/app/lib/pricingConfig.ts - Pricing language
src/app/i18n/pricing.ts
Partnership API
- Partnership endpoint
server/app.mjs - Inquiry validation
server/validation.mjs - Email delivery
server/email.mjs
Other components
- Website visitor
- SMTP service
Connections 37
- Website visitor → App shell: opens
src/app/App.tsx - App shell → Route dispatch: mounts router
src/app/App.tsx - Route dispatch → Home page: routes to
src/app/routes.tsx - Route dispatch → Motorcycle catalog: routes to
src/app/routes.tsx - Route dispatch → Motorcycle details: routes to
src/app/routes.tsx - Route dispatch → Pricing catalog: routes to
src/app/routes.tsx - Route dispatch → Pricing detail: routes to
src/app/routes.tsx - Route dispatch → Services page: routes to
src/app/routes.tsx - Route dispatch → Partner page: routes to
src/app/routes.tsx - Route dispatch → Privacy policy: routes to
src/app/routes.tsx - Home page → Hero section: features
- Home page → Featured models: features
- Home page → Service offerings: features
- Motorcycle catalog → Motorcycle data: reads
src/app/motorcycles/MotorcyclesPage.tsx - Motorcycle details → Motorcycle data: reads
src/app/motorcycles/BikeDetailsPage.tsx - Motorcycle details → 360 bike viewer: renders
src/app/motorcycles/BikeDetailsPage.tsx - Motorcycle details → Image fallback: renders images
src/app/motorcycles/BikeDetailsPage.tsx - Motorcycle catalog → Image fallback: renders images
src/app/motorcycles/MotorcyclesPage.tsx - Services page → Application process: renders
src/app/pages/ServicesPage.tsx - Services page → Service offerings: renders
src/app/pages/ServicesPage.tsx - Services page → Featured models: renders
src/app/pages/ServicesPage.tsx - Services page → Contact section: renders
src/app/pages/ServicesPage.tsx - Contact section → Brand details: reads
src/app/components/Contact.tsx - Pricing catalog → Pricing records: reads
src/app/pages/PricingPage.tsx - Pricing catalog → Pricing search index: uses search
src/app/pages/PricingPage.tsx - Pricing catalog → Pricing configuration: uses config
src/app/pages/PricingPage.tsx - Pricing catalog → Pricing language: uses translations
src/app/pages/PricingPage.tsx - Pricing detail → Pricing records: reads
src/app/pages/PricingDetailPage.tsx - Pricing detail → Pricing data logic: uses
src/app/pages/PricingDetailPage.tsx - Pricing detail → Pricing configuration: uses config
src/app/pages/PricingDetailPage.tsx - Pricing detail → Pricing language: uses translations
src/app/pages/PricingDetailPage.tsx - Partnership endpoint → Inquiry validation: validates with
server/app.mjs - Partnership endpoint → Email delivery: sends inquiry
server/app.mjs - Email delivery → SMTP service: uses SMTP
- Contact section → Partnership endpoint: submits inquiry
- Navigation bar → Brand logo: renders
src/app/components/Navbar.tsx - Site footer → Brand logo: renders
src/app/components/Footer.tsx