# Bento Link Portfolio
A single `index.html` that reads like a tidy desk: rounded cards on a soft background, a large serif headline with one italic accent word, a status card that says what the person is doing now, an inverted email card that copies the address on click, one or three project cards with images or built-in abstract artwork, a list of links, a featured piece of writing and a closing call to action. Four columns on desktop, two on tablets, one on phones. The user changes words, links, images, theme and brand color; the grid and measurements stay.
## Before you start
Ask only for what you do not already have. Everything else keeps its default.
1. Name, what they do in a few words, and their email (required)
2. Projects: 1 or 3 titles with a year and a type; image files if they have them (default: built-in abstract artwork)
3. Style: `paper` (default) | `night` | `sage`, plus an optional brand color as `#RRGGBB`
Status, location line, links and the writing card may be drafted from what the user said; list every drafted line in your final reply.
## Visual contract
`references/visual-contract.md` fixes the grid, every card's span and word limit, the type scale, color and motion tokens, and a "Do not add" list. Read it before editing. `references/template.html` is the worked example for a fictional product designer: copy its structure, not its person.
## Steps
1. **Copy** - `mkdir -p site && cp references/template.html site/index.html && cp -r references/assets site/assets`. Result: `site/index.html` opens and shows the example with its fonts.
2. **Content** - in `site/index.html` replace the title, meta description, monogram letters, intro headline (keep exactly one `<em>` word), intro line, status, city and its line, the email in both `data-email` and the visible address (split after the @ with `<br>`), project labels and titles, link names and `href`s, writing title and read time, call-to-action line and button, footer. If there is no writing to feature, repurpose that card (for example a talk, a shop item or a newsletter issue) instead of deleting it, so the grid stays full. Result: `grep -c "Mara\|Quill" site/index.html` prints 0.
3. **Projects** - keep 1 or 3 project cards. For a user image, copy it to `site/assets/` and replace `<div class="thumb art-a" aria-hidden="true"></div>` with `<div class="thumb"><img src="assets/work-1.jpg" alt="short description"></div>`. Set each card's `href` to the real project link.
4. **Theme and brand color** - `node scripts/page.mjs fill site/index.html --theme night --accent "#3A4BFF" --out site/index.html`. Result: prints `PASS`; the accent dot, italic word, monogram and button take the brand color and the text on them stays readable.
5. **Validate** - `node scripts/page.mjs check site/index.html`. It measures at 1440 px and 390 px, clicks the email copy button on and off, and reports sideways scrolling, cut-off text, overlapping cards, text under 12 px and missing fonts. Fix and rerun until it prints `PASS`.
6. **Look** - `node scripts/page.mjs shoot site/index.html --width 1440 --full --out site/desktop.jpg` and `... --width 390 --full --out site/phone.jpg`; open both and check them (see Check).
7. **Deliver** - the `site/` folder, how to publish it (any static host, or open the file), both screenshots and the list of drafted lines.
## Rules
- Card order and spans follow the contract table; projects are exactly 1 or 3 so the grid has no holes.
- One accent color only; it appears on the monogram, the italic word, the status dot, hovered arrows and the CTA button.
- Email must be real and identical in `data-email` and the visible text.
- Fonts and images load from `assets/` by relative path; no CDN, remote fonts, embeds or trackers.
- Never invent facts, clients, numbers, awards or quotes; use only what the user gave you, and mark drafted copy as drafted.
## Check
- `node scripts/page.mjs check site/index.html` prints `PASS`.
- In `desktop.jpg`: no empty grid cell, intro headline on at most 3 lines, every project title on at most 2 lines.
- In `phone.jpg`: one column, nothing wider than the screen, project images 220 px tall and not stretched.
- In a real browser: click the email card, the copy icon turns into a check and returns after about 2 seconds; every link card lifts on hover.
- With reduced motion on, all cards are visible immediately.
## Not for
- Multi-page sites, blogs with many posts or online shops
- Large galleries with dozens of images or video reels
- Loud, colorful brands that want a high-energy look
## References
- `references/visual-contract.md` - grid, spans, word limits, tokens; read before editing.
- `references/template.html` - the complete worked example; copy it to start.
- `references/assets/` - Instrument Serif and DM Sans font files (copy next to index.html).
- `references/third-party-notices.md` and `references/*-OFL.txt` - font licenses.
- `scripts/page.mjs` - check, screenshot and theme tool (Node 22+, Chrome); run with `--help`.
可改欄位 頁面短文字 · 頁面段落 · 頁面圖片
使用步驟
選擇用法
在 Studio 瀏覽器裡直接改,或裝進自己的 AI,更自由地創作。
用 Studio 開啟 編輯 修改可用欄位 匯出。有編輯器的免費包無需登入;付費包編輯及匯出需購買或會員。