Marketing site for Luxury Landscaping, Mississauga ON. Single scroll-driven page (four sections) plus separate service, quote, team and legal documents. React 19 + TypeScript + Vite, GSAP ScrollTrigger, Phosphor icons, self-hosted variable fonts.
npm run dev # local dev server
npm run build # tsc + vite build + scripts/prerender.mjs (SEO shell + llms.txt)
npm run preview # serve dist/
node scripts/optimize-photos.mjs # convert PNGs in public/photos to optimised JPEGs
src/content/site.ts: every business fact, service, review and the two hero plates. Edit here first.src/sections/*: Hero, Services, Reviews on the home page; Contact renders on /quote/ (seesrc/App.tsx).src/content/services.ts: the three service areas. Each area carries its ownpathand nav label, so adding one updates the header, the home page, the prerendered shell and llms.txt — it still needs an entry invite.config.tsand a matching<slug>/index.html.src/pages/ServiceAreaPage.tsx+{landscaping,lawn-care,snow-removal}/index.html: one page per service area, each its own entry with its own metadata andServiceschema.src/components/ServiceDemo.tsx+src/components/demo/index.ts: the "Watch it" section on the landscaping and snow pages. OneDemoper service row, index-aligned with that area'srows. Media lives inpublic/photos/demo/— before/after plates generated with Higgsfield, each "after" made from its own "before" so the pair aligns, plus one video per snow level (plough / shovel / salt) and the commercial lot clip.src/components/LawnJourney.tsx: the lawn care page's demonstration — one lawn carried through all four treatments in one continuous animation over the chainedlawn-stage-*plates.src/pages/QuotePage.tsx+quote/index.html+src/quote.tsx: the quote form on its own page; every "Get a quote" button lands here (cta.hrefin site.ts).src/pages/ReviewsPage.tsx+reviews/index.html+src/reviews.tsx: the Google reviews in full.src/pages/TeamPage.tsx+team/index.html+src/team.tsx: the Meet the Team page (Patrick and Andrew).src/styles/tokens.css: colour, type, spacing, radius tokens (dark only).src/styles/layout.css+sections.css: masthead, sections, responsive rules.DESIGN.md: the design system and the reasoning behind it.index.html: meta, Open Graph, JSON-LDLandscapingBusiness.
Inventory as of 2026-08-19. If anything here changes, update src/content/legal.ts the same day
and bump CONSENT_VERSION in src/lib/consent.ts so visitors are asked again.
| Technology | Type | Data | Party |
|---|---|---|---|
Quote form (name, email, phone, service, message) |
JSON POST to formsubmit.co | contact details + message | FormSubmit (third party), delivered to sales@luxurylandscaping.ca |
localStorage["ll-consent"] |
strictly necessary storage | consent choices, timestamp, policy version; 12-month expiry | first party |
| Fonts (Outfit, Figtree) | self-hosted via @fontsource-variable |
none | first party |
| Analytics / ads / pixels / chat / embeds | none | ||
| Outbound links | Google Maps (rel="noopener noreferrer") |
none until clicked | third party |
Legal pages: /privacy/, /terms/, /cookies/, /accessibility/ (one component, four HTML
entries, content in src/content/legal.ts). Cookie consent: src/lib/consent.ts +
src/components/CookieConsent.tsx; footer "Cookie preferences" reopens the dialog. Any future
non-essential script is registered in src/lib/optional.ts with its category; applyConsent()
runs on load and on every change, loads only what is allowed, and stamps
<html data-consent="analytics functional marketing"> with the current state (inspect it in
DevTools to verify a choice took effect).
- Have a lawyer review
src/content/legal.ts(privacy, terms, cookies, accessibility). Confirm the legal entity name and fill in the hosting provider name once deployment is decided. - Confirm the service grouping and wording with the client.
- Confirm Patrick's and Andrew's roles and blurbs on /team/ (written from the Google reviews only) and add real photos if they want them.
- Supply a logo file if one exists and swap it into
src/components/Wordmark.tsx. 404.htmlis the not-found page; Netlify serves it automatically. On other hosts, point the 404 rule at it.- The quote form posts to FormSubmit (formsubmit.co), which emails every submission to
sales@luxurylandscaping.ca on any host, with no account or key. The very first
submission sends a one-time "Activate form" email to that inbox; click the link once and all
later submissions are delivered. The hidden
_subjectfield sets the email subject. To change the recipient, changecontact.emailinsrc/content/site.ts. - If real project photography arrives, the hero plates can be replaced by two photos of one yard
taken from the same spot (before and after); update
heroPlatesinsite.ts.