import { getTranslations, setRequestLocale } from 'next-intl/server'; import { Header } from '@/components/Header'; import { Footer } from '@/components/Footer'; import { Mail, Bitcoin, ExternalLink } from 'lucide-react'; import { getPageAlternates } from '@/lib/seo'; export const dynamic = 'force-dynamic'; interface SupportPageProps { params: Promise<{ locale: string }>; } export async function generateMetadata({ params, }: { params: Promise<{ locale: string }>; }) { const { locale } = await params; return { alternates: getPageAlternates(locale, '/support'), }; } export default async function SupportPage({ params }: SupportPageProps) { const { locale } = await params; setRequestLocale(locale); const t = await getTranslations('support'); const isRTL = locale === 'fa'; const supportOptions = [ { icon: Mail, title: t('email'), description: t('emailDesc'), href: 'mailto:hi.airano@gmail.com', cta: t('sendEmail'), color: 'bg-surface-subtle text-text-secondary', }, { icon: Bitcoin, title: t('donate'), description: t('donateDesc'), href: 'https://nowpayments.io/donation/airano', cta: t('donateNow'), color: 'bg-amber-100 dark:bg-amber-900/30 text-amber-700 dark:text-amber-400', }, ]; return (
{/* Hero Section */}

{t('title')}

{t('subtitle')}

{/* Support Options */}
{supportOptions.map((option, index) => (

{option.title}

{option.description}

{option.cta}
))}
{/* Why Crypto Only */}

{t('whyCryptoTitle')}

{t('whyCryptoDesc')}

{/* Crypto Info */}

{t('popularCoins')}

{['Bitcoin', 'Ethereum', 'TON', 'Tron', 'Solana', 'Litecoin', 'Dogecoin'].map((crypto) => ( {crypto} ))}

{t('andMoreCrypto')}

); }