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>
14 lines
214 B
TypeScript
14 lines
214 B
TypeScript
import Head from 'next/head'
|
|
|
|
export default function Home() {
|
|
return (
|
|
<>
|
|
<Head>
|
|
<title>Home</title>
|
|
</Head>
|
|
<div>
|
|
<h1>This is the Home page</h1>
|
|
</div>
|
|
</>
|
|
)
|
|
}
|