mirror of
https://github.com/mantinedev/next-app-template.git
synced 2025-11-10 04:22:01 +10:00
24 lines
862 B
TypeScript
24 lines
862 B
TypeScript
import { Title, Text, Anchor } from '@mantine/core';
|
|
import classes from './Welcome.module.css';
|
|
|
|
export function Welcome(props: React.ComponentPropsWithoutRef<'div'>) {
|
|
return (
|
|
<div {...props}>
|
|
<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>
|
|
</div>
|
|
);
|
|
}
|