{t('title')}
{t('subtitle')}
{option.title}
{option.description}
{option.cta}{t('whyCryptoTitle')}
{t('whyCryptoDesc')}
{t('popularCoins')}
{t('andMoreCrypto')}
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 (
{t('subtitle')}
{option.description}
{option.cta}{t('whyCryptoDesc')}
{t('andMoreCrypto')}