# One-Line Parallax Landing Page
From one sentence ("Morrow Clay: hand-thrown stoneware from a two-person studio by the sea, fired for 30 hours in a wood kiln") the Agent writes all the copy and builds a quiet, cinematic landing page: a full-screen photo that drifts slower than the text, a headline in a thin display serif low on the left, a sticky close-up of the material, a manifesto with three facts, a photo with tappable hotspots, three product cards that zoom on hover and an email form that validates in the page. One HTML file, local fonts, three images, no framework.
## Before you start
Ask only for what you do not already have. Everything else keeps its default.
1. The sentence: product or brand name plus what it is and one or two concrete facts (default: none, this is required).
2. Photos: three images (wide scene, material close-up, process or place), or permission to write image prompts for the user's own image tool, or no photos (tonal plates instead). Default: tonal plates.
3. Style: `dusk` (default, near-black) | `linen` (light sand) | `moss` (deep green). Optional accent color.
## Visual contract
`references/visual-contract.md` lists the section order, every measurement, the type scale, the color and motion tokens and the photo rules. `references/template.html` is the worked example (a fictional pottery studio) with all interactions wired. Copy its structure, not its brand.
## Steps
1. **Expand the sentence** - write `copy.md` with one block per section of the template: kicker, headline, body, stats, hotspot notes, three card names, form line. Use only facts from the sentence; where a fact is missing write a quality or a place instead of a number. Headlines: hero max 6 words per line on 2 lines, others max 10 words.
2. **Copy the kit** - copy `references/template.html` to `site/index.html`, `references/fonts/` to `site/fonts/`, and the user's photos to `site/assets/` as `hero.jpg`, `detail.jpg`, `process.jpg` (1600 px wide, under 300 KB). With no photos, replace each `<img data-parallax ...>` with `<div class="plate" data-parallax="..."></div>` and point the cards at plates too. If the user wants generated photos, give them the prompts from `references/image-prompts.md` and wait for the files.
3. **Build** - replace the copy section by section, keeping class names, `data-reveal` and `data-parallax` attributes. Set `data-theme` on `<html>`; set `--accent` if the user gave one. Move the hotspots onto real features of `process.jpg`.
4. **Icons** - inline SVG with `stroke="currentColor"`; never emoji or symbol characters.
5. **Validate** - run `node scripts/check-page.mjs site/index.html --shots site/shots` and fix every FAIL.
6. **Deliver** - the `site/` folder, how to open it (double-click `index.html`, or any static host), the screenshots, and the list of copy you wrote that the user should confirm (every fact, the stats and the form wording).
## Rules
- Keep the section order: nav, hero, material, manifesto, anatomy, collection, enquire, footer. Remove a section only if the user asks; never add a second hero or a pricing table.
- Never invent facts, numbers, customers, awards or quotes. Stats come from the user's sentence or are plain facts ("1 kiln").
- Headlines sit on the photo through the scrim only; no boxes or cards behind hero text.
- Text stays at 11 px or larger; labels are uppercase with tracking, body text is never uppercase.
- Everything is local: no CDN, web font link, analytics or form service. The form only validates; wiring it to a real endpoint is the user's step.
- Photos never contain readable text, logos or recognizable people.
## Check
- Run `node scripts/check-page.mjs site/index.html --shots site/shots`; it opens the page at 1440 px and 390 px, scrolls it, and must print PASS for: no sideways scroll, no text off screen, nothing clipped, no overlapping text, no text under 11 px, every image loads, every reveal fires, each interaction (nav, hotspot, card hover, bad email, good email) triggers and resets, reduced motion shows everything with no parallax, and no request leaves the folder.
- Open `site/shots/1440-top.jpg` and `390-top.jpg` at full size: the hero headline is readable on the photo and does not cover the subject.
- Open the page in a browser, scroll top to bottom, tap both hotspots, hover the cards, submit an empty and a valid email.
- Optional: `node scripts/check-page.mjs site/index.html --video-only --video site/scroll.mp4` records a 12 s scroll-through (needs FFmpeg).
## Not for
- Online stores with carts, checkout or product databases
- Multi-page sites, blogs or anything needing a CMS
- Bright, playful or dense SaaS pages with many features and pricing tiers
## References
- `references/visual-contract.md` - section order, measurements, type scale, color and motion tokens, photo rules. Read before building.
- `references/template.html` - the worked example page with every interaction.
- `references/image-prompts.md` - prompt recipe for the three photos when the user generates them.
- `references/assets/` - the example's three photos (fictional scenes); replace them.
- `references/fonts/` - Italiana (display) and Manrope (text), OFL.
- `references/third-party-notices.md` - font licenses and sample photo note.
- `scripts/check-page.mjs` - headless checker, screenshots and scroll recording.
可改欄位 頁面短文字 · 頁面段落 · 頁面圖片
使用步驟
選擇用法
在 Studio 瀏覽器裡直接改,或裝進自己的 AI,更自由地創作。
用 Studio 開啟 編輯 修改可用欄位 匯出。有編輯器的免費包無需登入;付費包編輯及匯出需購買或會員。