import { getTranslations, setRequestLocale } from 'next-intl/server' import { PageShell } from '@/components/PageShell' import { RecoverForm } from './RecoverForm' export default async function RecoverPage({ params }: { params: Promise<{ locale: string }> }) { const { locale } = await params setRequestLocale(locale) const t = await getTranslations('Recover') const sections = t.raw('infoSections') as { h: string; lines: string[] }[] return (

{t('infoTitle')}

{sections.map((s, i) => (
{s.h} {s.lines.map((l, j) => (

{l}

))} {i < sections.length - 1 &&
}
))}

{t('reqTitle')}

) }