diff --git a/package.json b/package.json index 69816f2..d5b7f70 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "skate-spots", "private": true, - "version": "1.3.6", + "version": "1.3.7", "type": "module", "homepage": "https://skate-spots.com", "scripts": { diff --git a/src/pages/OnboardingPage.tsx b/src/pages/OnboardingPage.tsx index 8e87ae0..d9ba0d1 100644 --- a/src/pages/OnboardingPage.tsx +++ b/src/pages/OnboardingPage.tsx @@ -35,6 +35,7 @@ import { MessageCircle, Lock, Users, + Download, } from 'lucide-react'; import { FounderFollow } from '@/components/FounderFollow'; @@ -69,6 +70,47 @@ function FAQ({ q, a }: { q: string; a: React.ReactNode }) { ); } +// ─── Collapsible section ────────────────────────────────────────────────────── +// Keeps heavier, optional content (Nostr explainer, FAQ) tucked away by default +// so the page feels light on arrival — tap to expand. Reduces first-glance +// cognitive load without removing anything. +function CollapsibleSection({ + title, + icon, + defaultOpen = false, + children, +}: { + title: string; + icon?: React.ReactNode; + defaultOpen?: boolean; + children: React.ReactNode; +}) { + const [open, setOpen] = useState(defaultOpen); + return ( +
Save your login — do this now
++ It's the only way back into your account. Lose it and there's no reset — no email, no password recovery. +
+Login saved — your account is safe to recover.
+💡 $5 of Bitcoin = hundreds of zaps to spread across the community
- {/* ── FAQ ── */} + {/* ── FAQ (collapsed by default to keep the page light) ── */}