19 lines
793 B
TypeScript
19 lines
793 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 { 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 <LegalDocumentView documentKey="platform_rules" layout="mobile" />;
|
|
}
|