next-appliancerepair-industrial

Brass Dial Appliance Repair

A self-contained Next.js static website for Brass Dial Appliance Repair, a fictitious in-home appliance repair workshop in Minneapolis, Minnesota. Built with Tailwind CSS v4, self-hosted Fontsource typography, a rendered light/dark hero illustration, bespoke engineering-drawing SVG artwork, and the optional hosted Jamstacks support form.

Local development requires Node 24 or later and npm. Run npm ci and npm run dev to preview locally.

Pages

Route Purpose
/ Home page with bench teardown hero, brass program dial hub, brand nameplates, call-out ticket, visit steps, live phone-line hours and HomeAndConstructionBusiness JSON-LD
/appliances/ Parts cabinet of 8 appliances (hash-linked drawers), filterable 14-brand inspection sheet and “Not on our bench” exclusions
/fees/ Call-out job ticket across 3 service zones, zone rings, 30-minute diagnosis clock, labour/Saturday/parts tags, computed worked example and FAQs
/model-number/ Interactive brass-dial rating-plate finder with keyboard & hash support (plus full no-JS fallback), plate reading guide and tips
/contact/ Job-ticket repair enquiry form (hosted Jamstacks component when configured, visible email fallback otherwise), message checklist, live hours and workshop map
/404.html Error F4-04 washer console page with links to Home, Model number and Contact

Make it yours (frequent owner edits)

What you want to change File Field / section
Brand coverage, limited flag or parts lead-time note content/brands.ts brands[].appliances, brands[].support, brands[].note
Call-out amounts, zone areas or labour/Saturday rates content/fees.ts zones[].callOut, zones[].areas, charges[].amount (worked example total recomputes automatically)
Phone-line & Saturday hours, email, phone or workshop landmark content/business.ts business.hours, business.email, business.phone, business.landmark, business.mapQuery
Appliance faults, dial labels or rating-plate locations content/appliances.ts appliances[].commonFaults, appliances[].shortName, appliances[].plate, notServiced
Page headings, prose and calls to action app/page.tsx, app/<route>/page.tsx Direct JSX children inside named section components
Public name, meta description, domain, IANA timeZone, Jamstacks siteId site.config.json Root JSON fields (do not add business collections here; the provisioner replaces this file)
Home hero illustration (light & dark pair) public/hero-light.webp, public/hero-dark.webp Replace both with the same scene at 4:3; .hero-art in app/tailwind.input.css swaps them with the theme and feathers the edges. Alt text lives in components/art/hero-workshop.tsx
Light & dark colour tokens, textures and typography app/tailwind.input.css :root, @media (prefers-color-scheme: dark), :root.dark, @theme
Structured data (HomeAndConstructionBusiness) lib/structured-data.ts Automatically derived from content/business.ts, content/appliances.ts and content/fees.ts

Fonts and licences

All fonts are self-hosted via npm Fontsource packages (OFL-1.1):

Contact contract

The real <jamstacks-support-form> host and one {cdn}/sites/{siteId}/embed.js bootstrap render only on /contact/ when JAMSTACKS_SITE (or site.config.json’s jamstacks.siteId) is configured. Without a site ID, no embed script is requested and the direct email (workshop@brassdialrepair.com) remains visible. Navigation to and from /contact/ always performs a full document load via components/site-link.tsx.

Checks and preview

npm run check
PAGES_BASE_PATH=/preview PAGES_BASE_URL=https://owner.github.io/preview npm run build
npm start -- --base /preview --port 3000

Gallery publishing metadata lives in jamstacks/ and is completely removable without affecting customer builds, tests or GitHub Pages deployment. Run node --test jamstacks/config.test.mjs separately after generating gallery screenshots.