wealth/apps/bear/src/app/(flow)/terms/(tabs)/page.tsx

24 lines
896 B
TypeScript

// First: the static `metadata` below reads a server-only namespace, which the server bootstrap
// adds to i18n when this module loads, whichever module Next loads first (0055).
import '../../../../bootstrap/bootstrap.server';
import { Card } from '@lumina/island/molecules/card';
import { LegalDocumentView } from '@lumina/market/app/screens/organisms/legal-document';
import type { Metadata } from 'next';
import { i18n } from '../../../../i18n';
export const metadata: Metadata = {
title: i18n.t('rules:meta-title'),
description: i18n.t('rules:meta-description'),
};
/** «قوانین و مقررات», the first tab of «قوانین و مقررات لومینا» (G-2r); its text is read in the browser (0070). */
export default function RulesPage() {
return (
<Card padding="lg">
<LegalDocumentView documentKey="platform_rules" layout="desktop" />
</Card>
);
}