open-design/apps/landing-page/app
Jane 9f09d1b649
fix(landing-page): wire up mobile nav toggle on the homepage (#3295)
The homepage runs its own inline header enhancer instead of importing
the shared header-enhancer.astro component, and that inline copy only
ported the scroll-headroom and GitHub stars/version logic — it never
included the hamburger toggle handler. As a result the mobile menu
button rendered (and animated to an X via CSS) but clicking it did
nothing on / and /<locale>/, while sub-pages that do import the shared
enhancer worked fine.

Port the same toggle handler into the homepage inline enhancer: click
flips .is-open on header.nav (which CSS expands into the dropdown panel
below 1080px), and outside-click, Escape, and any in-menu link close it,
keeping aria-expanded in sync.

Co-authored-by: Joey-nexu <joeylee12629@gmail.com>
2026-05-29 10:19:37 +00:00
..
_components feat(landing-page): surface Discord + X in header, restructure site footer (#3230) 2026-05-29 05:59:24 +00:00
_lib feat(landing-page): localize templates subcategory chip labels across 16 locales (#3256) 2026-05-29 03:19:29 +00:00
content blog(landing-page): announce Open Design 0.8.0 plugin engine rebuild (#2731) 2026-05-22 21:39:59 +08:00
pages fix(landing-page): wire up mobile nav toggle on the homepage (#3295) 2026-05-29 10:19:37 +00:00
content-i18n.ts feat(landing-page): localize plugins library across 18 locales (#3010) 2026-05-27 09:30:59 +00:00
content.config.ts feat(landing-page): replicate #2469 SEO content with deploy + regression fixes (#2605) 2026-05-22 00:59:11 +08:00
env.d.ts ci(landing): split landing deploy into staging gate + manual production (#2994) 2026-05-26 14:05:04 +00:00
globals.css feat(landing-page): surface Discord + X in header, restructure site footer (#3230) 2026-05-29 05:59:24 +00:00
home-page-i18n.ts feat(landing-page): replicate #2469 SEO content with deploy + regression fixes (#2605) 2026-05-22 00:59:11 +08:00
i18n.ts feat(landing-page): surface Discord + X in header, restructure site footer (#3230) 2026-05-29 05:59:24 +00:00
image-assets.ts perf(landing): edge-cache HTML and precise-load thumbnails (#2235) 2026-05-19 19:14:25 +08:00
info-page-i18n.ts feat(landing-page): replicate #2469 SEO content with deploy + regression fixes (#2605) 2026-05-22 00:59:11 +08:00
landing-ui-i18n.ts feat(landing-page): replicate #2469 SEO content with deploy + regression fixes (#2605) 2026-05-22 00:59:11 +08:00
page.tsx feat(landing-page): replicate #2469 SEO content with deploy + regression fixes (#2605) 2026-05-22 00:59:11 +08:00
plugin-registry.ts feat(plugins): site-wide plugin detail pages, share-to-site links, landing deploy trigger (#2999) 2026-05-28 09:07:12 +00:00
sub-pages.css feat(landing-page): surface Discord + X in header, restructure site footer (#3230) 2026-05-29 05:59:24 +00:00