20 lines
692 B
TypeScript
20 lines
692 B
TypeScript
import { AuthGuard } from '@lumina/market/app/guards/auth-guard';
|
|
import { AnalystAgreement } from '@lumina/market/app/screens/(flow)/terms/analyst-agreement/organisms/analyst-agreement';
|
|
import { LegalDocumentSkeleton } from '@lumina/market/app/screens/organisms/legal-document';
|
|
|
|
import { i18n } from '../../../../i18n';
|
|
|
|
/** The agreement and the analyst's own record; both read in the browser (0070). Analysts only. */
|
|
export default function AnalystAgreementPage() {
|
|
return (
|
|
<AuthGuard
|
|
role="creator"
|
|
fallback={
|
|
<LegalDocumentSkeleton label={i18n.t('legal:document.loading')} />
|
|
}
|
|
>
|
|
<AnalystAgreement layout="mobile" />
|
|
</AuthGuard>
|
|
);
|
|
}
|