rsnext/examples/with-segment-analytics-pages-router/pages/contact.tsx
Luke Bussey 1aab5ee915
(Example) Update with-segment-analytics to use segmentio/analytics-next and app layout (#52327)
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>
2023-08-30 13:04:38 -05:00

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>
</>
)
}