import { useSeoMeta } from '@unhead/react'; import { Link } from 'react-router-dom'; import { Card, CardContent } from '@/components/ui/card'; import { Button } from '@/components/ui/button'; import { useCurrentUser } from '@/hooks/useCurrentUser'; import { useToast } from '@/hooks/useToast'; import { MapPin, Heart, Globe, Zap, Shield, Users, Code, ExternalLink, BarChart3, AlertCircle, Download, Smartphone, MessageCircle, } from 'lucide-react'; import { useTranslation } from '@/contexts/language'; export default function AboutPage() { const { t } = useTranslation(); useSeoMeta({ title: t('settingsUi.about.seoTitle'), description: t('settingsUi.about.seoDescription'), }); const { user } = useCurrentUser(); const { toast } = useToast(); const copyNpub = () => { navigator.clipboard.writeText('npub1yrnuj56rnen08zp2h9h7p74ghgjx6ma39spmpj6w9hzxywutevsst7k5cx'); toast({ title: t('common.copied'), description: t('settingsUi.about.npubCopied'), }); }; // Bug report template for DM const bugReportTemplate = `${t('settingsUi.about.bugReport')} ${t('settingsUi.about.bugWhatHappened')} ${t('settingsUi.about.bugExpected')} ${t('settingsUi.about.bugSteps')} Device/Browser: ${navigator.userAgent.includes('Mobile') ? 'Mobile' : 'Desktop'} - ${navigator.userAgent.split(' ').slice(-2).join(' ')} Version: v0.1.0`; const bugReportUrl = `/messages/npub1yrnuj56rnen08zp2h9h7p74ghgjx6ma39spmpj6w9hzxywutevsst7k5cx?message=${encodeURIComponent(bugReportTemplate)}`; return ( <>
{/* Hero */}

{t('settingsUi.about.aboutWord')}{' '} SKATESPOTS

{t('settingsUi.about.heroBefore')} {t('settingsUi.about.skaterOwned')}{t('settingsUi.about.heroAfter')}

{/* Mission */}

{t('settingsUi.about.missionTitle')}

{t('settingsUi.about.mission1')}

{t('settingsUi.about.mission2')}

{/* Why Nostr */}

{t('settingsUi.about.whyNostr')}

{t('settingsUi.about.why1Title')}

{t('settingsUi.about.why1Desc')}

{t('settingsUi.about.why2Title')}

{t('settingsUi.about.why2Desc')}

{t('settingsUi.about.why3Title')}

{t('settingsUi.about.why3Desc')}

{t('settingsUi.about.why4Title')}

{t('settingsUi.about.why4Desc')}

{/* Links */}

{t('settingsUi.about.getInvolved')}

{t('settingsUi.about.getInvolvedDesc')}

{/* Beta Testing Notice */}

{t('settingsUi.about.betaTitle')}

{t('settingsUi.about.betaDesc')}

{t('settingsUi.about.giveFeedback')}

npub1yrnuj56rnen08zp2h9h7p74ghgjx6ma39spmpj6w9hzxywutevsst7k5cx
{user ? ( ) : ( )}
{/* Download on Zapstore */}

{t('settingsUi.about.downloadApp')}

{t('settingsUi.about.downloadAppDesc')}

{/* Credits */}

{t('settingsUi.about.credits')}

{[ { label: t('settingsUi.about.creditPoweredBy'), name: 'Nostr', url: 'https://github.com/nostr-protocol/nostr', desc: t('settingsUi.about.creditNostr') }, { label: t('settingsUi.about.creditCrewChat'), name: 'Cordn', url: 'https://cordn.net/', desc: t('settingsUi.about.creditCordn') }, { label: t('settingsUi.about.creditEcash'), name: 'Cashu', url: 'https://cashu.space/', desc: t('settingsUi.about.creditCashu') }, { label: t('settingsUi.about.creditWalletConnect'), name: 'NWC', url: 'https://docs.nwc.dev/', desc: t('settingsUi.about.creditNwc') }, { label: t('settingsUi.about.creditSigning'), name: 'Amber', url: 'https://github.com/greenart7c3/Amber', desc: t('settingsUi.about.creditAmber') }, { label: t('settingsUi.about.creditMapData'), name: 'BTCMap', url: 'https://btcmap.org/', desc: t('settingsUi.about.creditBtcmap') }, { label: t('settingsUi.about.creditCrowdfunding'), name: 'Angor', url: 'https://angor.io/project/angor1qtunna00uqyx52rr0nvqa059z2gknhrmn7urd6z', desc: t('settingsUi.about.creditAngor') }, { label: t('settingsUi.about.creditDistributed'), name: 'Zapstore', url: 'https://zapstore.dev/apps/org.skatespots.app', desc: t('settingsUi.about.creditZapstore') }, { label: t('settingsUi.about.creditTrust'), name: 'ContextVM', url: 'https://contextvm.org/s/e3564bb877adb0c99a7e4973ccb22e516d7d9eca0027d0bd62a04174ed670530', desc: t('settingsUi.about.creditContextvm') }, ].map((item) => (
{item.label}: {item.name}

{item.desc}

))}
{/* Sasquatch — Ask me anything */}
🦧

{t('settingsUi.about.stillQuestions')}

{t('settingsUi.about.stillQuestionsDesc')}

{/* Powered By */}

{t('settingsUi.about.poweredBy')}

Nostr • {t('settingsUi.about.decentralized')} • {t('settingsUi.about.communityOwned')}
); }