Hide language switcher by default; unlock with 5 taps on top-right.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
eric
2026-08-03 09:08:30 -05:00
parent 7453780e06
commit 9c2eeb9df2
5 changed files with 85 additions and 42 deletions

View File

@@ -10,15 +10,10 @@ export default function HomePage() {
return (
<div
className="flex min-h-dvh flex-col"
className="relative flex min-h-dvh flex-col"
style={{ minHeight: "100dvh" }}
>
<div
className="absolute right-4 z-10"
style={{ top: "max(1rem, calc(0.75rem + var(--safe-top)))" }}
>
<LanguageSwitcher />
</div>
<LanguageSwitcher />
<main className="flex flex-1 flex-col">
<Hero />
</main>