Files
SluijsensandClaude Opus 5.5 8d8cbdb72c
Continuous Integration / check (pull_request) Successful in 9m57s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 3m46s
Continuous Integration / deploy-production (pull_request) Skipped
Aligns the page edges with the design and fixes the Contact anchor offset
The content column now uses the design's gutter as side padding instead
of Chakra's 16/24/32px. The Lifestyle fotografie row on phones bled out by
the gutter, so the page was 4px too wide and Chrome zoomed out slightly.
The header drops its extra padding and the to-top button follows the
gutter, so logo, hero controls and content share one edge. Anchored
sections now scroll to the height of the shrunken header, so Contact
lands right below it instead of 24px lower.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 01:46:08 +02:00

25 lines
1.1 KiB
Markdown

# Build Instructions — homepage-sections
## Prerequisites
- **Node.js** 24 and **pnpm** (version pinned in `web/package.json`)
- **OS**: Windows, Linux or macOS. CI builds on the Raspberry Pi runner (arm64).
- **Environment variables**: none for the build. `LIGHTHOUSE_PERFORMANCE=warn` only in CI (see performance instructions)
## Build steps
```bash
cd web
pnpm install # also runs `chakra typegen` (postinstall)
pnpm build # tsc && vite build
```
After changing theme tokens (`src/theme.ts`), run `pnpm typegen` so token names such as `header.sticky` type-check.
## Verify
- **Expected output**: `✓ built in …s` and no TypeScript errors
- **Artifacts**: `web/dist/` (`index.html`, `assets/*.js|css|jpg|png`)
- **Accepted warning**: Vite's chunk-size warning for the main bundle (`index-*.js`, ~575 kB unminified size before gzip). This is known and tracked under responsive images and prerendering (NFR-P-01).
## Troubleshooting
- **Unknown token type errors after a theme change** → `pnpm typegen`.
- **Lighthouse or preview fails with "port in use"** → a preview server is still running on 4173. Stop it first.