Hide language switcher by default; unlock with 5 taps on top-right.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -15,12 +15,7 @@ export default function AboutPage() {
|
||||
paddingBottom: "max(2.5rem, calc(1.5rem + var(--safe-bottom)))",
|
||||
}}
|
||||
>
|
||||
<div
|
||||
className="absolute right-4 z-10"
|
||||
style={{ top: "max(1rem, calc(0.75rem + var(--safe-top)))" }}
|
||||
>
|
||||
<LanguageSwitcher />
|
||||
</div>
|
||||
<LanguageSwitcher />
|
||||
<div className="mx-auto w-full max-w-md">
|
||||
<h1 className="text-xl font-bold text-neutral-900">{t.about.title}</h1>
|
||||
<p className="mt-4 text-sm leading-relaxed text-neutral-600">
|
||||
|
||||
@@ -15,12 +15,7 @@ export default function ContactPage() {
|
||||
paddingBottom: "max(2.5rem, calc(1.5rem + var(--safe-bottom)))",
|
||||
}}
|
||||
>
|
||||
<div
|
||||
className="absolute right-4 z-10"
|
||||
style={{ top: "max(1rem, calc(0.75rem + var(--safe-top)))" }}
|
||||
>
|
||||
<LanguageSwitcher />
|
||||
</div>
|
||||
<LanguageSwitcher />
|
||||
<div className="mx-auto w-full max-w-md">
|
||||
<h1 className="text-xl font-bold text-neutral-900">{t.contact.title}</h1>
|
||||
<p className="mt-4 text-sm leading-relaxed text-neutral-600">
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user