import type { Metadata } from 'next' import { getTranslations, setRequestLocale } from 'next-intl/server' import { PageShell } from '@/components/PageShell' import { RegisterForm } from './RegisterForm' export async function generateMetadata({ params }: { params: Promise<{ locale: string }> }): Promise { const { locale } = await params const t = await getTranslations({ locale, namespace: 'Register' }) return { title: t('title') } } export default async function CreateAccountPage({ params }: { params: Promise<{ locale: string }> }) { const { locale } = await params setRequestLocale(locale) const t = await getTranslations('Register') return (

{t('bnetType')}

{t('passwordRule')}

{t('emailRule')}


{t('activation1')}

{t('activation2')}

{t('loginHint')}

) }