import type { Metadata } from 'next' import { getTranslations, setRequestLocale } from 'next-intl/server' import { Link } from '@/i18n/navigation' import { getRealmName } from '@/lib/realm' export async function generateMetadata({ params }: { params: Promise<{ locale: string }> }): Promise { const { locale } = await params const t = await getTranslations({ locale, namespace: 'Misc' }) return { title: t('help.title') } } export const dynamic = 'force-dynamic' export default async function HelpPage({ params }: { params: Promise<{ locale: string }> }) { const { locale } = await params setRequestLocale(locale) const t = await getTranslations('Misc') const realm = await getRealmName() return (

{t('help.title')}

{t('help.subtitle')}

{t('help.intro1')}

{t('help.intro2')}

{t('help.intro3')}


{t('help.clientTitle')}

{t('help.clientText')}

{t('help.mediaAre')}

{t('help.mediaForos')}

{t('help.mediaDiscord')}


{t('help.serverErrorsTitle')}

{t('help.serverErrorsText')}

{t('help.mediaAre')}

{t('help.mediaForos')}


{t('help.characterTitle')}

{t('help.characterText')}

{t('help.mediaAre')}

{t('help.mediaTicket')}

{t('help.mediaDiscord')}


{t('help.otherPlayerTitle')}

{t('help.otherPlayerText1')}

{t('help.otherPlayerText2')}

{t('help.mediaAre')}

{t('help.mediaForos')}


{t('help.accountBlocksTitle')}

{t('help.accountBlocksText', { realm })}

{t('help.mediaAre')}

{t('help.mediaForos')}


{t('help.websiteTitle')}

{t('help.websiteText')}

{t('help.mailTo')} consultas@nightspire.gg


{t('help.pdTitle')}

{t('help.pdText')}

{t('help.mailTo')} consultas@nightspire.gg


{t('help.contactMeans')}
{t('help.ticketTitle')}

{t('help.ticket1')}

{t('help.ticket2')}

{t('help.ticket3')}

{t('help.ticket4')}

{t('help.ticket5')}

{t('help.ticket6')}

{t('help.ticket7')}


{t('help.discordTitle')}

{t.rich('help.discord1', { link: (c) => {c} })}

{t.rich('help.discord2', { link: (c) => {c} })}

{t('help.discord3')}


{t('help.forosTitle')}

{t('help.foros1', { realm })}

{t('help.foros2')}

{/* Antes iba a foro.ultimowow.com; ahora es NUESTRO foro, así que va con Link (respeta el idioma) y sin abrir pestaña nueva. */}

{t.rich('help.foros3', { link: (c) => {c} })}


{t('help.emailTitle')}

{t('help.email1')}

{t('help.email2')}

) }