Client websites
Every client website is rendered by one program from data, not stored as folders. Open the sample site below, or try the other states.
Sample websites
| Website | Status | Own address | Wireframe |
|---|---|---|---|
| Rivera Bros Roofing | Live | riverabros.sites.tradey.com | Open the sample site |
| Storm repair landing page | Draft | riverabros-storm.sites.tradey.com | /site/?slug=riverabros-storm answers 404 (not published) |
| Rivera Bros Gutters (old) | Offline | riverabros-gutters.sites.tradey.com | /site/?slug=riverabros-gutters answers 503 (offline page) |
Pages of Rivera Bros Roofing
Typical page set for a roofer. The client chooses which pages exist (/console/sites/site/pages/?id=1).
- Home
/ - Services
/services/ - Roof repair
/services/roof-repair/ - Roof replacement
/services/roof-replacement/ - Roof inspection
/services/roof-inspection/ - Gutter cleaning
/services/gutter-cleaning/ - Service areas
/service-areas/ - Danville
/service-areas/danville/ - San Ramon
/service-areas/san-ramon/ - Walnut Creek
/service-areas/walnut-creek/ - Alamo
/service-areas/alamo/ - About
/about/ - Gallery
/gallery/ - Reviews
/reviews/ - Contact
/contact/ - Request an estimate
/estimate/ - Book online
/book/ - Careers
/careers/ - Request a call
/request-a-call/ - Privacy
/privacy/ - Terms
/terms/
Generated files and states
- sitemap.xml lists every published page
- robots.txt from the website's SEO settings
- favicon.svg drawn from the business initials and theme colors
/site/?slug=riverabros&p=/nothing-here/answers 404 with the site's own designed page (custom 404)/site/?slug=riverabros&p=/roofing-services/answers 301 to Services (an automatic redirect from the SEO settings)/site/?slug=riverabros&p=/stormanswers 301 to Roof repair (a vanity URL)
Page spec (sitemap features for /site/)
Path: /site/ · Status: proposed · Sitemap
Renderer entry for all client websites (Host-header routed).
Features
- text:Request -> Host header -> look up site in database -> compile HTML
- text:Single renderer for all client sites (client sites are data, not folders)
- text:Generated pages offered by a trade theme: Home, Services, About, Service areas, Gallery, Reviews, Contact, Estimate, Book, Careers, Privacy, Terms
- text:Auto-generated: sitemap.xml, robots.txt, favicon, custom 404, 301 redirects, vanity URLs
- text:Footer on every site: transparency statement and link to request a call with Philip
- [inferred] list:Sample websites and every page of the sample roofer site
- [inferred] text:Offline (503) and not-published (404) pages
Notes
- F9: built as the sample website for Rivera Bros Roofing (theme Ridgeline). Rendered by src/Site/ (Renderer, Pages, Kit), styled by public/cdn/styles/site.css.
- On a website's own address (Host header) the request path is the page path; in the wireframe it is /site/?slug=...&p=... . Without ?slug= this page lists the sample sites and pages.
- Sites and their pages are read from sample data; /api/v1 has no route that returns a site yet. Form posts (contact, estimate, booking, careers, request a call) are not stored for the same reason.
- Open: D34 (platform address), D17 (transparency statement wording), D31 (reviews), D53 (generated legal pages), D54 (offline page), D55 (pictures until the client uploads photos).
Placeholder copy on this page
- [placeholder] The platform address format (prefix.sites.tradey.com) is not final (D34).
- [placeholder] The offline page wording (D54).
Design notes
- Not wired to /api/v1: there is no route that returns a site or its pages yet, so the renderer reads sample fixtures.
- The web server must send every request on *.sites.<domain> and on custom domains to /site/index.php (host mode). Not set up on dev: use the ?slug= links.