54 lines
2.3 KiB
Markdown
54 lines
2.3 KiB
Markdown
# Redesign: homepage + project page
|
|
|
|
Date: 2026-11-01
|
|
|
|
## Brief
|
|
|
|
Improve the design of the homepage (`/`) and the project page (`/project`,
|
|
reachable as `/projects`). Constraints from the user:
|
|
|
|
1. Remove gradients from buttons and style them better.
|
|
2. No pills, no eyebrows.
|
|
3. Improve the copy.
|
|
4. Work with commits.
|
|
5. Scope: index page and the projects page.
|
|
|
|
## Decisions
|
|
|
|
- **One accent.** Iridescence now lives only in the peacock mark and the path
|
|
spine. Gradient text, gradient card washes, and gradient buttons are gone.
|
|
- **Buttons.** Solid cream primary (near-black label) and outlined secondary,
|
|
3px radius, no shadows, no shimmer. Clear hover and `:focus-visible` rings.
|
|
- **No pills or eyebrows.** Removed the pill eyebrow component, pulsing pip,
|
|
scroll cue, and the small label above card titles. The path keeps `01 / Build`
|
|
because it is a real sequence; it is plain mono text, not a pill.
|
|
- **Homepage.** Kept the hero and the feather-spine path. The ending is now two
|
|
editorial columns separated by a rule instead of two gradient cards. Copy was
|
|
rewritten to say what Peacock is, what each step does, and what to do next.
|
|
- **Project page.** Replaced the eight identical cards with a parts index: name
|
|
and language on the left, description and link on the right, hairline rows.
|
|
- **Shared shell.** Sans-serif sentence-case nav, active page state, solid
|
|
GitHub CTA, skip link, `<main>`, footer links, 3px radii on device cards and
|
|
badges, rectangular status badges, device copy tightened.
|
|
- **Routes.** `/project` stays canonical. `/projects` is a static redirect page
|
|
to it for the URL the user used.
|
|
|
|
## Verification
|
|
|
|
- `npm run build` emits 5 routes, including `/projects`.
|
|
- Headless Chromium (CDP) at 1440, 800, 390 and 320px:
|
|
- no horizontal overflow, no header overflow;
|
|
- zero `.eyebrow`, `.pip`, or `.grad` elements;
|
|
- primary button computed `background-image: none`, `border-radius: 3px`;
|
|
- nav resolves to Hanken Grotesk, no uppercase transform;
|
|
- project page has 8 parts; homepage has 2 doors.
|
|
- `/projects/` renders the redirect to `/project`.
|
|
- No console errors beyond Vite dev messages.
|
|
|
|
## Follow-ups
|
|
|
|
- `/devices` still uses a card grid; it was styled for consistency but not
|
|
redesigned.
|
|
- Mobile nav shows The Project and GitHub; Wiki/Community are in the footer.
|
|
- Screenshots are in `/tmp/opencode` and are not committed.
|