feat: update default layout

This commit is contained in:
Sonny
2025-08-06 19:50:53 +02:00
parent d56bd1ef80
commit 97ba56b1e7
36 changed files with 627 additions and 119 deletions

View File

@@ -1,10 +1,8 @@
import { Link } from '@inertiajs/react';
import { route } from '@izzyjs/route/client';
import { ReactNode } from 'react';
import { Trans, useTranslation } from 'react-i18next';
import { ContentLayout } from '~/layouts/content_layout';
function TermsPage() {
export default function TermsPage() {
const { t } = useTranslation('terms');
return (
<>
@@ -52,6 +50,3 @@ function TermsPage() {
</>
);
}
TermsPage.layout = (page: ReactNode) => <ContentLayout children={page} />;
export default TermsPage;