How albertshiney/websitegenerator works
This repository includes an electrician-business website template. Its principal user workflow is browsing routed pages and service information, then reaching contact details or a quote form. The graph also preserves pricing, inspiration, company, and content-driven service pages. Evidence is strongest for the routing and shared page components; unsampled form behavior and the separate dashboard and tools are not connected because their runtime relationships are not shown.
Main entry points: ContentPage.jsx Content page · App.jsx Route application · HomePage.jsx Home page · ServicesPage.jsx Services page
Components 17
Routing and content
- Route application
templates/electrician/src/App.jsx - Service page content
templates/electrician/src/content
Business pages
- Home page
templates/electrician/src/pages/HomePage.jsx - Services page
templates/electrician/src/pages/ServicesPage.jsx - Content page
templates/electrician/src/pages/ContentPage.jsx - Other site pages
templates/electrician/src/pages
Page components
- Page hero
templates/electrician/src/components/PageHero.jsx - Contact section
templates/electrician/src/components/ContactSection.jsx - Quote form
templates/electrician/src/components/QuoteForm.jsx - Services grid
templates/electrician/src/components/ServicesGrid.jsx - Reviews section
templates/electrician/src/components/Reviews.jsx - Project gallery
templates/electrician/src/components/Gallery.jsx
Shared configuration
- Site navigation and data
templates/electrician/src/site.js - Business settings
templates/electrician/src/business.js - Route metadata
templates/electrician/src/lib/useSEO.js - Inline markdown
templates/electrician/src/lib/md.jsx
Other components
- Site visitor
Connections 27
- Site visitor → Route application: opens site
templates/electrician/src/App.jsx - Route application → Home page: routes to
templates/electrician/src/App.jsx - Route application → Services page: routes to
templates/electrician/src/App.jsx - Route application → Other site pages: routes to
templates/electrician/src/App.jsx - Route application → Service page content: loads routes
templates/electrician/src/App.jsx - Route application → Content page: renders content
templates/electrician/src/App.jsx - Home page → Contact section: renders
templates/electrician/src/pages/HomePage.jsx - Home page → Quote form: renders
templates/electrician/src/pages/HomePage.jsx - Home page → Services grid: renders
templates/electrician/src/pages/HomePage.jsx - Home page → Reviews section: renders
templates/electrician/src/pages/HomePage.jsx - Services page → Services grid: renders
templates/electrician/src/pages/ServicesPage.jsx - Services page → Reviews section: renders
templates/electrician/src/pages/ServicesPage.jsx - Services page → Contact section: renders
templates/electrician/src/pages/ServicesPage.jsx - Services page → Site navigation and data: reads services
templates/electrician/src/pages/ServicesPage.jsx - Content page → Page hero: renders
templates/electrician/src/pages/ContentPage.jsx - Content page → Contact section: renders
templates/electrician/src/pages/ContentPage.jsx - Content page → Reviews section: renders
templates/electrician/src/pages/ContentPage.jsx - Content page → Project gallery: renders
templates/electrician/src/pages/ContentPage.jsx - Content page → Inline markdown: uses renderer
templates/electrician/src/pages/ContentPage.jsx - Page hero → Quote form: renders
templates/electrician/src/components/PageHero.jsx - Page hero → Inline markdown: renders text
templates/electrician/src/components/PageHero.jsx - Contact section → Quote form: renders
templates/electrician/src/components/ContactSection.jsx - Contact section → Site navigation and data: reads contact data
templates/electrician/src/components/ContactSection.jsx - Home page → Route metadata: sets metadata
templates/electrician/src/pages/HomePage.jsx - Content page → Route metadata: sets metadata
templates/electrician/src/pages/ContentPage.jsx - Route metadata → Site navigation and data: reads site identity
templates/electrician/src/lib/useSEO.js - Site navigation and data → Business settings: uses business data
templates/electrician/src/site.js