{{ message }}
Polish UI/UX: visual hierarchy, mobile nav, accessibility - #2
Merged
Conversation
Content is untouched - every change here is visual, structural, or an
accessibility affordance built on top of the existing copy.
- globals.css: deeper near-black background with a subtle radial glow,
refined card/border/accent tokens, and a real focus-visible ring +
prefers-reduced-motion rule. Also fixes a real bug: next/font loads
Geist Sans/Mono onto <html> but body hardcoded font-family: Arial, so
the loaded font was never actually rendering - now wired through
--font-sans/--font-mono so Tailwind's font-mono utility works too
- ui/Card, ui/Badge: elevated surface (shadow, refined border), badges
now use the (previously unused) mono font for a more technical feel,
Card gained an `interactive` variant for hover/focus lift on clickable
cards (motion-safe only)
- ui/Container: max-w-3xl -> max-w-4xl to reduce the large dead margins
at desktop widths
- ui/ProjectCard, projects pages: fixed a heading-hierarchy bug - the
projects list skipped from h1 straight to h3 on each card, and the
project detail page had no h1 at all. ProjectSummaryCard now takes a
titleAs prop (h2 on the list, h3 when nested under Home's h2 section)
and ProjectDetail's title is now the page's h1, with case-study
section labels promoted to h3
- components/Navbar: mobile hamburger menu below sm (previous layout had
no small-screen handling and would cramp/overflow on narrow phones),
aria-current on nav links, aria-label on the nav landmark
- app/[locale]/layout.tsx: skip-to-content link (visible on keyboard
focus) targeting a focusable #main-content landmark
- messages/{zh,en}.json: added a handful of aria-only strings needed for
the above (skip link text, menu open/close labels, nav landmark label)
- no visible page copy was added or changed
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DMHdXkgYMvbQAvu37Tdp9D
1 task
barbenito23-bit
approved these changes
Sep 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Stacked on top of #1 (
rewrite/content-driven-i18n) since it builds on thatbranch's component architecture. Content is untouched -- every change here
is visual, structural, or an accessibility affordance.
design tokens, real focus-visible ring,
prefers-reduced-motionsupportnext/fontbutbodyhardcoded
font-family: Arial, so the loaded font never actually renderedinteractivehover/focus-lift variant; badges now use the (previously unused) mono font
max-w-3xl->max-w-4xlto reduce dead margins ondesktop
h1->h3oneach card, and the project detail page had no
h1at allsm(previously no small-screenhandling),
aria-currenton nav links,aria-labelon the nav landmarkmessages/{zh,en}.jsonfor theabove (skip link, menu open/close, nav landmark label) -- no visible page
copy changed
Test plan
npm run build-- Turbopack production build succeeds, all pagesstatically prerendered
npm run lint-- no errors/ about before and after
appears and is styled correctly on keyboard Tab focus
🤖 Generated with Claude Code