2.3 KiB
2.3 KiB
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:
- Remove gradients from buttons and style them better.
- No pills, no eyebrows.
- Improve the copy.
- Work with commits.
- 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-visiblerings. - No pills or eyebrows. Removed the pill eyebrow component, pulsing pip,
scroll cue, and the small label above card titles. The path keeps
01 / Buildbecause 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.
/projectstays canonical./projectsis a static redirect page to it for the URL the user used.
Verification
npm run buildemits 5 routes, including/projects.- Headless Chromium (CDP) at 1440, 800, 390 and 320px:
- no horizontal overflow, no header overflow;
- zero
.eyebrow,.pip, or.gradelements; - 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
/devicesstill 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/opencodeand are not committed.