Files
next-app-template/components/Welcome/Welcome.tsx
Vitaly Rtishchev 8d8c25b729 Add sass example
2024-11-08 13:29:20 +04:00

24 lines
802 B
TypeScript

import classes from './Welcome.module.scss';
import { Anchor, Text, Title } from '@mantine/core';
export function Welcome() {
return (
<>
<Title className={classes.title} ta="center" mt={100}>
Welcome to{' '}
<Text inherit variant="gradient" component="span" gradient={{ from: 'pink', to: 'yellow' }}>
Mantine
</Text>
</Title>
<Text c="dimmed" ta="center" size="lg" maw={580} mx="auto" mt="xl">
This starter Next.js project includes a minimal setup for server side rendering, if you want
to learn more on Mantine + Next.js integration follow{' '}
<Anchor href="https://mantine.dev/guides/next/" size="lg">
this guide
</Anchor>
. To get started edit page.tsx file.
</Text>
</>
);
}