Skip to content

fix(nav): match font rendering with other hovanhoa sites - #22

Merged
hovanhoa merged 1 commit into
mainfrom
fix/nav-font-match-sites
Jun 10, 2026
Merged

fix(nav): match font rendering with other hovanhoa sites#22
hovanhoa merged 1 commit into
mainfrom
fix/nav-font-match-sites

Conversation

@hovanhoa

Copy link
Copy Markdown
Member

Vấn đề

Navbar dùng chung giữa các subdomain, nhưng chữ ở gallery render khác các trang còn lại (home/insight/music/status).

Nguyên nhân

  • gallery dùng geist@1.7.2, các trang khác dùng 1.3.1 — glyph Geist Sans/Mono đã được chỉnh giữa hai bản nên render khác dù cùng tên font.
  • gallery có class antialiased, các trang khác thì không → font-smoothing khác.

Thay đổi

  • Pin geist về 1.3.1 cho khớp các site khác.
  • Bỏ antialiased (ở cả _app.tsx wrapper và _document.tsx body).

Sau thay đổi, navbar nhìn giống hệt trên mọi subdomain.

🤖 Generated with Claude Code

Gallery used geist@1.7.2 while home/insight/music/status use 1.3.1,
whose revised glyphs made the nav text render differently. Pin geist
to 1.3.1 and drop the `antialiased` class (other sites don't smooth),
so the shared navbar looks identical across every subdomain.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@hovanhoa
hovanhoa merged commit b801ee2 into main Jun 10, 2026
1 of 2 checks passed
@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gallery.hovanhoa.net Building Building Preview, Comment Jun 10, 2026 12:42am

@hovanhoa
hovanhoa deleted the fix/nav-font-match-sites branch June 10, 2026 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant