import { LegalDocument } from '@/components/site/legal-document';
import { LegalShell } from '@/components/site/legal-shell';
import { getLocale, t } from '@/lib/i18n';

export default async function TermsPage() {
  const locale = await getLocale();

  return (
    <LegalShell title={t(locale, 'legal.terms.title')}>
      <LegalDocument locale={locale} page="terms" />
    </LegalShell>
  );
}
