mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
feat: update default layout
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
import { Container, Text, Title } from '@mantine/core';
|
||||
import { ReactNode } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { FeatureList } from '~/components/home/feature_list';
|
||||
import classes from './home.module.css';
|
||||
import { ContentLayout } from '~/layouts/content_layout';
|
||||
|
||||
function HomePage() {
|
||||
export default function HomePage() {
|
||||
const { t } = useTranslation('about');
|
||||
return (
|
||||
<Container className={classes.wrapper}>
|
||||
@@ -21,6 +19,3 @@ function HomePage() {
|
||||
</Container>
|
||||
);
|
||||
}
|
||||
|
||||
HomePage.layout = (page: ReactNode) => <ContentLayout children={page} />;
|
||||
export default HomePage;
|
||||
|
||||
Reference in New Issue
Block a user