1aab5ee915
The [with-segment-analytics](https://github.com/vercel/next.js/blob/canary/examples/with-segment-analytics) example is out of date so this PR updates it to use [segmentio/analytics-next](https://github.com/segmentio/analytics-next) with TypeScript and the app layout. --------- Co-authored-by: Lee Robinson <me@leerob.io>
16 lines
277 B
TypeScript
16 lines
277 B
TypeScript
import Head from 'next/head'
|
|
import Form from '@/components/form'
|
|
|
|
export default function Contact() {
|
|
return (
|
|
<>
|
|
<Head>
|
|
<title>Contact</title>
|
|
</Head>
|
|
<div>
|
|
<h1>This is the Contact page</h1>
|
|
<Form />
|
|
</div>
|
|
</>
|
|
)
|
|
}
|