Portfolio website written with Next.js
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wychdev-nextjs/pages/index.tsx

16 lines
299 B

import type {NextPageWithLayout} from './_app'
import type { ReactElement } from 'react'
import Layout from '../components/layout'
2 years ago
const Page: NextPageWithLayout = () => {
2 years ago
return (
<p>yo</p>
2 years ago
)
}
Page.getLayout = (page: ReactElement) => {
return <Layout>{page}</Layout>
}
export default Page