Unify section layout, scale hero title, smooth back-to-top

Scale the index hero heading to 75% of its previous size and put the header, hero, sections, devices page and footer on one horizontal grid (--pad / --maxw). Enable smooth scrolling for anchor links when reduced motion is not requested.
This commit is contained in:
yigid authored and Yigid BALABAN committed 2026-11-01 13:30:57 +03:00
1 parent 19217ee0f2
commit 739f2ad395
5 files changed
+82 -17

No files matched your search

+6
View File
@@ -12,6 +12,7 @@ Entrypoint for project memory. Read this before working in the repo.
- [Port `site` to Astro in `site-2`](./memories/port-site-to-astro.md) — what was ported, decisions, verification, and follow-ups.
- [Redesign: homepage + project page](./memories/redesign-2026-11-01.md) — brief, design decisions, commits, verification.
- [Hero scale, shared grid, smooth scroll](./memories/hero-grid-scroll-2026-11-01.md) — 75% hero title, one horizontal grid for all sections, smooth back-to-top.
## Current state (2026-11-01)
@@ -21,3 +22,8 @@ The Astro port is complete and builds. `cd site-2 && npm run build` emits
The homepage and project page were redesigned: solid buttons, no pill labels
or eyebrows, no gradient text, revised copy, and a parts list on `/project`.
All sections now share one horizontal grid (`--pad`/`--maxw` in
`global.css`), the index hero title is 75% of its old size, and footer
"Back to top" scrolls smoothly (reduced-motion users still jump instantly).
See `memories/hero-grid-scroll-2026-11-01.md`.