next-nursery-botanical)A static Next.js website for Fernlight Nursery, an independent plant nursery and garden centre in Denver, Colorado (fictitious gallery sample). Built around a “glasshouse bench and grease-pencil tags” visual system with self-hosted Besley, Gantari, and Just Another Hand fonts (SIL Open Font License 1.1 via @fontsource-variable/besley, @fontsource-variable/gantari, and @fontsource/just-another-hand), inline SVG artwork, light (“morning glasshouse”) and dark (“glasshouse after dusk”) themes, and the optional hosted Jamstacks contact form.
| Route | Purpose |
|---|---|
/ |
Painted glasshouse-plate hero (light & dark) closed by a Front Range ridgeline, 6 featured bench stake tags, Front Range facts, 12-month seed-tray calendar, Denver delivery docket stubs, chalkboard yard hours and GardenStore JSON-LD |
/stock/ |
Full seasonal stock grouped by bench category, progressive-enhancement category & “In stock only” filter, and status key |
/conditions/ |
Front Range soil profile, interactive “Plants for your spot” finder, Denver frost dates thermometer and full 12-month planting calendar |
/delivery/ |
Concentric zone rings, carbon-copy delivery docket, van/truck/collect loading bays, delivery rules checklist and yard collection details |
/contact/ |
Hosted Jamstacks enquiry form when configured, always-visible public email + copy button, phone, “Useful to include” tag list and yard hours |
/404.html |
Empty terracotta pot illustration and stake-tag navigation |
| File | Owns |
|---|---|
content/stock.ts |
Most frequent edit: seasonal plants, status (in-stock | low | arriving | sold-out), priceUsd, arriving ISO dates, featured (exactly 6), care glyphs and grower notes |
content/business.ts |
Business name, tagline, introduction, public email, phone, landmark location, weekly hours, specialDates closures/early closes, currentSeason, and enquiry tips |
content/conditions.ts |
Six Front Range growing notes and frost-date summary |
content/calendar.ts |
Twelve monthly planting headlines and 2–3 tasks each |
content/delivery.ts |
Three delivery zones (distance bounds, USD fees, run days, example areas) and delivery rules |
app/**/page.tsx |
Page-specific headings, prose, and calls to action as JSX children of named components |
site.config.json |
Public name, description, domain, timeZone (America/Denver), and jamstacks.siteId/cdnUrl |
app/tailwind.input.css |
Light & dark palette tokens, font mappings, textures (elevation contours, glasshouse panes), stake-tag and print styles |
public/hero-light.webp, public/hero-dark.webp |
The painted glasshouse plate (1376×768). Replace both together with the same scene; keep the left ~40% as empty paper (#F5EFE2 light, #101A17 dark) so the headline sits in it. Alt text lives in HERO_PLATE_ALT in components/artwork.tsx |
public/soil-light.webp, public/soil-dark.webp |
The painted Front Range soil-profile plate (660×1092) on Home and Local conditions. Replace both together; alt text is SOIL_PLATE_ALT and the stratum legend is SOIL_LAYERS in components/artwork.tsx |
lib/structured-data.ts |
GardenStore schema.org JSON-LD derived from content/business.ts |
app/sitemap.ts |
Public routes list |
Open content/stock.ts, find the plant by id (for example fragrant-sumac-gro-low), and change status: 'low' to status: 'sold-out'. Run npm run check: the tag on /stock/ gains a grease-pencil strike-through and is hidden when visitors toggle In stock only.
Requires Node 24+ and npm.
npm ci
npm run check
npm run dev
To verify a project-path export (for example /preview):
PAGES_BASE_PATH=/preview PAGES_BASE_URL=https://owner.github.io/preview npm run build
npm start -- --base /preview --port 3000
site.config.json stores only public values (name, description, domain, timeZone, jamstacks.siteId, jamstacks.cdnUrl). Never store credentials or private keys.JAMSTACKS_SITE or site.config.json’s jamstacks.siteId is set, /contact/ renders <jamstacks-support-form> and loads {cdn}/sites/{siteId}/embed.js. Without a site ID, no embed script loads and the email fallback is shown. Public email is always visible.jamstacks/ is removable source-gallery metadata. Customer builds, tests and GitHub Pages deployments never import it. To capture gallery screenshots and validate the manifest after a fresh normal build:
node /home/mythz/src/mythz/jamstacks.net/tools/template-screenshots/capture.mjs \
--template "$(pwd)" --modes light,dark --executable /usr/bin/chromium
node --test jamstacks/config.test.mjs