How christever/site-peintre works
This is a small Astro website for MS Peinture, presenting the business and its painting services while accepting contact and quote requests. Visitors reach the site’s pages; the contact endpoint validates submissions, emails the business, sends a confirmation, and redirects successful submissions to the thank-you page. The graph includes the route URL helper and the site’s main content areas. Source excerpts do not show page-to-component wiring or the contact form’s submission configuration, so those links are omitted.
Main entry points: contact.php Contact handler · Routes.jsx Route catalog · pages Site pages · merci.astro Thank-you page
Components 10
Public site
- Site pages
src/pages - Page sections
src/components - Shared layout
src/layouts/Layout.astro - Thank-you page
src/pages/merci.astro
Contact handling
- Contact handler
public/contact.php - Mail service
Route utilities
- Route catalog
src/routes/Routes.jsx - Base URL helper
src/utils/url.js - Site constants
src/utils/constants.js
Other components
- Visitor
Connections 5
- Visitor → Site pages: opens routes
README.md - Route catalog → Base URL helper: builds URLs
src/routes/Routes.jsx - Visitor → Contact handler: submits POST
public/contact.php - Contact handler → Mail service: sends emails
public/contact.php - Contact handler → Thank-you page: redirects to
public/contact.php