Skip to content

feat: responsive marketing header with zero-JS mobile menu - #9

Merged
atom-tech9 merged 1 commit into
mainfrom
dev
Jul 6, 2026
Merged

atom-tech9 merged 1 commit into
mainfrom
dev

Conversation

@atom-tech9

Copy link
Copy Markdown
Owner

Below the 900px nav breakpoint the header collapses to a compact cluster (brand + 1-tap "Open Scripto" CTA + hamburger). The hamburger is a native

/ disclosure so it opens with no framework JS on the prerendered, script-stripped marketing pages; the inline ENHANCE_SCRIPT adds aria-expanded sync and close-on- link/Escape/outside/resize plus a body scroll lock. The dropdown holds the nav links, GitHub, language switch and theme toggle. Wordmark hides under 360px; all logical properties so LTR/RTL both mirror.

Summary

Type of Change

  • feat — new feature
  • fix — bug fix
  • docs — documentation only
  • refactor — code change that neither fixes a bug nor adds a feature
  • chore — tooling / maintenance
  • test — adding or updating tests
  • perf — performance improvement
  • ci — CI / build changes

Screenshots

Checklist

  • npm run typecheck passes
  • npm run lint passes
  • npm run build passes
  • Follows the project code style (no any, immutable updates, logical CSS)
  • i18n keys added for any new user-facing strings (en and ar)
  • RTL layout verified for UI changes
  • No console.log (uses @/lib/logger)
  • Documentation updated if needed

Below the 900px nav breakpoint the header collapses to a compact
cluster (brand + 1-tap "Open Scripto" CTA + hamburger). The hamburger
is a native <details>/<summary> disclosure so it opens with no
framework JS on the prerendered, script-stripped marketing pages; the
inline ENHANCE_SCRIPT adds aria-expanded sync and close-on-
link/Escape/outside/resize plus a body scroll lock. The dropdown holds
the nav links, GitHub, language switch and theme toggle. Wordmark
hides under 360px; all logical properties so LTR/RTL both mirror.
@vercel

vercel Bot commented Jul 6, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
scripto Ready Ready Preview, Comment Jul 6, 2026 5:11pm

Request Review

@atom-tech9
atom-tech9 merged commit 1a18d83 into main Jul 6, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 2ade93b9 Deployed Jul 6, 2026 by vercel[bot]
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