How mattyp1309/matt-pearson-website works
This repository contains several generations of Matt Pearson’s website. The root README identifies v2 as the new plain HTML/CSS/JS site, while the sampled source describes a richer v3 React site with portfolio pages, booking and contact forms, editable content, and an admin panel. The graph focuses on that documented v3 runtime and its evidenced connections; v2 implementation details were not sampled.
Main entry points: App.tsx App and routing · ui.tsx Shared page UI · Home.tsx Home page · Contact.tsx Contact and FAQ
Components 22
Website runtime
- App and routing
v3/src/App.tsx - Navigation
v3/src/components/Nav.tsx - Boot loader
v3/src/components/Loader.tsx - Animated background
v3/src/components/Background.tsx - Shared page UI
v3/src/components/ui.tsx
Visitor pages
- Home page
v3/src/components/Home.tsx - Hero section
v3/src/components/Hero.tsx - Store section
v3/src/components/Store.tsx - Contact and FAQ
v3/src/components/Contact.tsx - Visuals gallery
v3/src/components/Visuals.tsx - About section
v3/src/components/About.tsx - Booking page
v3/src/components/Book.tsx
Content and admin
- Site content
v3/src/content.ts - Default content
v3/public/content.json - Admin panel
v3/public/admin/index.php - Admin services
v3/public/admin/lib.php - Content endpoint
v3/public/content.php - Content database
Form services
- Contact endpoint
v3/public/contact.php
Other components
- Visitor
- Email inbox
Connections 27
- Visitor → App and routing: visits
README.md - App and routing → Navigation: renders
v3/src/App.tsx - App and routing → Home page: routes to
v3/src/App.tsx - App and routing → Visuals gallery: routes to
v3/src/App.tsx - App and routing → Booking page: routes to
v3/src/App.tsx - App and routing → Boot loader: renders
v3/src/App.tsx - App and routing → Animated background: uses
v3/src/App.tsx - App and routing → Site content: loads content
v3/src/App.tsx - Home page → Hero section: renders
v3/src/components/Home.tsx - Home page → Store section: renders
v3/src/components/Home.tsx - Home page → Contact and FAQ: renders
v3/src/components/Home.tsx - Visuals gallery → About section: renders
v3/src/components/Visuals.tsx - Home page → Shared page UI: uses
v3/src/components/Home.tsx - Hero section → Shared page UI: uses
v3/src/components/Hero.tsx - Store section → Shared page UI: uses
v3/src/components/Store.tsx - Contact and FAQ → Shared page UI: uses
v3/src/components/Contact.tsx - Visuals gallery → Shared page UI: uses
v3/src/components/Visuals.tsx - Booking page → Shared page UI: uses
v3/src/components/Book.tsx - Site content → Default content: imports defaults
v3/src/content.ts - Site content → Content endpoint: fetches edits
v3/src/content.ts - Admin panel → Admin services: includes
v3/public/admin/index.php - Admin panel → Content database: edits content
- Admin services → Content database: reads and writes
- Content endpoint → Content database: serves edits
- Contact and FAQ → Contact endpoint: posts form
v3/src/components/Contact.tsx - Contact endpoint → Email inbox: delivers message
- Navigation → Instagram: links to
v3/src/components/Nav.tsx