landing and portfolio
This commit is contained in:
@@ -30,9 +30,9 @@ Apache is required in production for `.htaccess` rules (`mod_rewrite`, `mod_head
|
||||
|
||||
### Screenshots
|
||||
- Puppeteer is installed locally in `node_modules/puppeteer/`. Chrome cache is at `~/.cache/puppeteer/`.
|
||||
- **Always screenshot from localhost:** `node screenshot.mjs http://localhost:3000`
|
||||
- **Always screenshot from Herd:** `node screenshot.mjs` (defaults to `http://uovidiu.test`)
|
||||
- Screenshots save automatically to `./temporary screenshots/screenshot-N.png` (auto-incremented, never overwritten).
|
||||
- Optional label suffix: `node screenshot.mjs http://localhost:3000 label` → saves as `screenshot-N-label.png`.
|
||||
- Optional label suffix: `node screenshot.mjs http://uovidiu.test label` → saves as `screenshot-N-label.png`.
|
||||
- `screenshot.mjs` lives in the project root. Use it as-is.
|
||||
- After screenshotting, read the PNG from `temporary screenshots/` with the Read tool — Claude can see and analyse the image directly.
|
||||
- When comparing, be specific: "heading is 32px but reference shows ~24px", "card gap is 16px but should be 24px".
|
||||
|
||||
Reference in New Issue
Block a user