import type { Metadata } from 'next' import { getTranslations, setRequestLocale } from 'next-intl/server' import { redirect } from '@/i18n/navigation' import { getSession } from '@/lib/session' import { getGameCharacters } from '@/lib/characters' import { getChangeFactionPrice } from '@/lib/prices' import { PageShell } from '@/components/PageShell' import { ServiceBox } from '@/components/ServiceBox' import { PaidServiceForm } from '@/components/PaidServiceForm' export const dynamic = 'force-dynamic' export const metadata: Metadata = { title: 'Cambiar facción del personaje' } const GOLD_ICON = '/nw-themes/nw-ryu/nw-images/nw-icons/money-gold.gif' function GoldCell({ amount }: { amount: number }) { return (
{t.rich('intro', { s: (c) => {c} })}
{t('alsoRename')}
{t('onChange')}
{t('change1')}
{t('change2')}
{t('change3')}
{t('change4')}
{t('restrictionsTitle')}
{t('restriction1')}
{t('restriction2')}
{t('restriction3')}
{t('restriction4')}
{t('restriction5')}
| {t('tableLevel')} | {t('tableMaxGold')} |
|---|---|
| 10-30 | |
| 31-50 | |
| 51-70 | |
| 71-80 |
{t('instructions')}
{t('iconInfo')}
{t('iconClick')}
{t.rich('requires', { price, s: (c) => {c}, y: (c) => {c} })}