36 lines
901 B
TypeScript
36 lines
901 B
TypeScript
|
import Head from 'next/head'
|
||
|
import styles from '../styles/Home.module.css'
|
||
|
import { Page } from '../components/Page'
|
||
|
|
||
|
const demoProps = {
|
||
|
user: {},
|
||
|
onLogin: () => {},
|
||
|
onLogout: () => {},
|
||
|
onCreateAccount: () => {},
|
||
|
}
|
||
|
|
||
|
export default function Home() {
|
||
|
return (
|
||
|
<div className={styles.container}>
|
||
|
<Head>
|
||
|
<title>Create Next App</title>
|
||
|
<link rel="icon" href="/favicon.ico" />
|
||
|
</Head>
|
||
|
|
||
|
{/* Including demo props here for example */}
|
||
|
<Page {...demoProps} />
|
||
|
|
||
|
<footer className={styles.footer}>
|
||
|
<a
|
||
|
href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
|
||
|
target="_blank"
|
||
|
rel="noopener noreferrer"
|
||
|
>
|
||
|
Powered by{' '}
|
||
|
<img src="/vercel.svg" alt="Vercel Logo" className={styles.logo} />
|
||
|
</a>
|
||
|
</footer>
|
||
|
</div>
|
||
|
)
|
||
|
}
|