mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 15:35:35 +00:00
refactor(mantine): use new content layout for terms
This commit is contained in:
@@ -2,7 +2,7 @@ import { Link } from '@inertiajs/react';
|
|||||||
import { route } from '@izzyjs/route/client';
|
import { route } from '@izzyjs/route/client';
|
||||||
import { ReactNode } from 'react';
|
import { ReactNode } from 'react';
|
||||||
import { Trans, useTranslation } from 'react-i18next';
|
import { Trans, useTranslation } from 'react-i18next';
|
||||||
import LegalContentLayout from '~/components/layouts/legal_content_layout';
|
import { MantineContentLayout } from '~/components/layouts/mantine/mantine_content_layout';
|
||||||
|
|
||||||
function TermsPage() {
|
function TermsPage() {
|
||||||
const { t } = useTranslation('terms');
|
const { t } = useTranslation('terms');
|
||||||
@@ -53,5 +53,7 @@ function TermsPage() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
TermsPage.layout = (page: ReactNode) => <LegalContentLayout children={page} />;
|
TermsPage.layout = (page: ReactNode) => (
|
||||||
|
<MantineContentLayout children={page} />
|
||||||
|
);
|
||||||
export default TermsPage;
|
export default TermsPage;
|
||||||
|
|||||||
Reference in New Issue
Block a user