Skip to content

Add About button to the top menu - #15

Merged
ehcrea merged 1 commit into
mainfrom
claude/project-thread-ihhxgu
Nov 2, 2026
Merged

ehcrea merged 1 commit into
mainfrom
claude/project-thread-ihhxgu

Conversation

@ehcrea

@ehcrea ehcrea commented Nov 2, 2026

Copy link
Copy Markdown
Owner

Requested by Eren · project thread

Summary

  • Adds an About button at the end of the header toolbar, matching the other calculators linked from ehcrea.com (e.g. Cold Plate Calculator). It opens the existing #/about page.
  • Uses the existing About translation (Über / Acerca de / Over / Hakkında), so all five languages are covered with no new strings.
  • Accessibility: real <button>, aria-current="page" and an accent outline while the About page is open, and translated text stays the accessible name.
  • Phones (≤760px): About shows an info icon with a visually hidden label. Below 420px, "Saved" does the same and the toolbar tightens a little, so the header fits in every language. The DE and NL headers previously overflowed at 360px.

Testing

  • npm test: 827 passed
  • Playwright at 320/360/421/800/1280px in all 5 languages: clicking About opens the translated About page with aria-current set, and the header no longer overflows. A calculator form card still overflows at 320 to 360px in DE/NL, which was already the case on main.

Generated by Claude Code

Adds an About button at the end of the header toolbar, like the other
calculators on ehcrea.com. It opens the About page, uses the existing
translations in all five languages and is marked aria-current while the
About page is open. On phones it shows an info icon with the translated
label kept as its accessible name, and below 420px the Saved button does
the same so the header fits in every language.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtSyM4yhAtamTS8M79hwUQ
@ehcrea ehcrea self-assigned this Nov 2, 2026
@ehcrea
ehcrea merged commit 6c12a89 into main Nov 2, 2026
2 checks passed
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.

2 participants