mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 07:03:25 +00:00
27 lines
794 B
TypeScript
27 lines
794 B
TypeScript
import { Container, Text, Title } from '@mantine/core';
|
|
import { ReactNode } from 'react';
|
|
import { useTranslation } from 'react-i18next';
|
|
import { FeatureList } from '~/mantine/components/home/feature_list';
|
|
import { MantineContentLayout } from '~/mantine/layouts/mantine_content_layout';
|
|
import classes from './home.module.css';
|
|
|
|
function HomePage() {
|
|
const { t } = useTranslation('about');
|
|
return (
|
|
<Container className={classes.wrapper}>
|
|
<Title className={classes.title}>{t('hero.title')}</Title>
|
|
|
|
<Container size={560} p={0}>
|
|
<Text size="sm" className={classes.description}>
|
|
{t('description')}
|
|
</Text>
|
|
</Container>
|
|
|
|
<FeatureList />
|
|
</Container>
|
|
);
|
|
}
|
|
|
|
HomePage.layout = (page: ReactNode) => <MantineContentLayout children={page} />;
|
|
export default HomePage;
|