Skip to content

Feat/landing mobile menu - #26

Merged
Mackenzie-OO7 merged 4 commits into
Lokt-In:stagingfrom
Princeobeten:feat/landing-mobile-menu
Jul 17, 2026
Merged

Mackenzie-OO7 merged 4 commits into
Lokt-In:stagingfrom
Princeobeten:feat/landing-mobile-menu

Conversation

@Princeobeten

Copy link
Copy Markdown
Collaborator

No description provided.

Princeobeten and others added 4 commits July 16, 2026 08:21
Below md the navbar only showed the wordmark and CTA — the links were hidden
with no way to reach them. Add a hamburger that opens a full-screen overlay
(logo + close, centered links, wallet CTA pinned at the bottom), matching the
mobile design. Locks body scroll, closes on link tap / Escape, and highlights
the active section from the URL hash.

Also wire up the anchors the nav points at: only #faq existed, so the desktop
"Product" and "How it works" links were already dead. Add id="top" (hero),
id="product" (product section) and id="how-it-works" (its steps card); base.css
already gives [id] a scroll-margin so the sticky bar doesn't cover them.

Scope is the mobile menu only — hero copy/stats left as set in Lokt-In#20.
The overlay rendered inside the navbar <header>, which has backdrop-blur.
An ancestor with backdrop-filter (or will-change-transform, as on the Reveal
wrappers) becomes the containing block for position:fixed, so `fixed inset-0`
sized the menu to the 76px header instead of the screen — its opaque background
only covered the top strip and the links overflowed onto a transparent area
where the hero showed through.

Render the menu through a portal to <body> so `fixed` resolves against the
viewport again.
Portaling the overlay to <body> escaped the landing's .lk-theme/font-body
wrapper, so the wordmark inherited body's monospace font and the Connect Wallet
<button> lost its radius (base.css forces border-radius:0 on buttons outside
.lk-theme). Add lk-theme + font-body to the portal root and font-heading to the
wordmark, so it matches the design (Fraunces wordmark, rounded CTA).
@Mackenzie-OO7
Mackenzie-OO7 merged commit 14aa3d7 into Lokt-In:staging Jul 17, 2026
1 check 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