Home, styles
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
export default function Home() {
|
||||
return (
|
||||
<main>
|
||||
<pre>{JSON.stringify(new Date().toISOString().split('T').join(' ').substring(0, 16), null, 2)}</pre>
|
||||
</main>
|
||||
)
|
||||
import Page, { getStaticProps as gsp } from '~/pages/[slug]'
|
||||
|
||||
export const getStaticProps = async () => {
|
||||
return gsp({ params: { slug: 'home' } })
|
||||
}
|
||||
|
||||
export default function Home(props) {
|
||||
return <Page {...props} />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user