Astro-based, static-first brochure website for Valley Painting Company (valleypaintingco.com): fast, lightweight, accessible, privacy-conscious, and easy to maintain. Showcases services, gallery, service areas, and estimate/contact flow for a Northeast Ohio painting business.
src/layouts/— Base layout components (e.g. BaseLayout.astro)src/components/— Reusable UI components (PascalCase filenames)src/pages/— One file per route (.astro or .md)src/content/— Markdown/YAML content filespublic/— Static assets (images, fonts, CNAME, etc.)
Note: Empty folders are tracked with a .keep file so git can commit them.
npm install # Install dependencies
npm run dev # Start dev server at http://localhost:4321npm run build # Build static site to dist/
npm run preview # Preview the production build locallyThis site is deployed via GitHub Pages at chagrinvalleypainting.com (primary domain).
- Primary domain:
chagrinvalleypainting.com - Secondary domains:
valleypaintingco.com,valleypaintingco.net(should redirect to primary) - CNAME file: The
public/CNAMEfile contains the primary domain for GitHub Pages. - HTTPS: Enforced via GitHub Pages settings (see below).
For each domain:
- Apex domain (
chagrinvalleypainting.com,valleypaintingco.com,valleypaintingco.net):- Add A records pointing to GitHub Pages IPs:
185.199.108.153185.199.109.153185.199.110.153185.199.111.153
- Add A records pointing to GitHub Pages IPs:
- www subdomain (
www.chagrinvalleypainting.com, etc):- Add a CNAME record pointing to
derecskey.github.io.
- Add a CNAME record pointing to
- Go to Repository Settings > Pages
- Set Custom domain to
chagrinvalleypainting.com - Check Enforce HTTPS
- Save
- Configure
valleypaintingco.comandvalleypaintingco.netto redirect tochagrinvalleypainting.comvia your domain registrar or DNS provider (if supported). - GitHub Pages only allows one custom domain per repo; others must redirect externally.