add analytics
This commit is contained in:
parent
837140e54e
commit
87d7d6114a
|
|
@ -12,6 +12,7 @@
|
||||||
"@fal-ai/serverless-client": "^0.6.0",
|
"@fal-ai/serverless-client": "^0.6.0",
|
||||||
"@fal-ai/serverless-proxy": "^0.6.0",
|
"@fal-ai/serverless-proxy": "^0.6.0",
|
||||||
"@tldraw/tldraw": "^2.0.0-canary.ba4091c59418",
|
"@tldraw/tldraw": "^2.0.0-canary.ba4091c59418",
|
||||||
|
"@vercel/analytics": "^1.1.1",
|
||||||
"next": "14.0.3",
|
"next": "14.0.3",
|
||||||
"react": "^18",
|
"react": "^18",
|
||||||
"react-dom": "^18",
|
"react-dom": "^18",
|
||||||
|
|
@ -1714,6 +1715,14 @@
|
||||||
"react": ">= 16.8.0"
|
"react": ">= 16.8.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@vercel/analytics": {
|
||||||
|
"version": "1.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@vercel/analytics/-/analytics-1.1.1.tgz",
|
||||||
|
"integrity": "sha512-+NqgNmSabg3IFfxYhrWCfB/H+RCUOCR5ExRudNG2+pcRehq628DJB5e1u1xqwpLtn4pAYii4D98w7kofORAGQA==",
|
||||||
|
"dependencies": {
|
||||||
|
"server-only": "^0.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/acorn": {
|
"node_modules/acorn": {
|
||||||
"version": "8.11.2",
|
"version": "8.11.2",
|
||||||
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
|
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
|
||||||
|
|
@ -5009,6 +5018,11 @@
|
||||||
"node": ">=10"
|
"node": ">=10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/server-only": {
|
||||||
|
"version": "0.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/server-only/-/server-only-0.0.1.tgz",
|
||||||
|
"integrity": "sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA=="
|
||||||
|
},
|
||||||
"node_modules/set-function-length": {
|
"node_modules/set-function-length": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz",
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
"@fal-ai/serverless-client": "^0.6.0",
|
"@fal-ai/serverless-client": "^0.6.0",
|
||||||
"@fal-ai/serverless-proxy": "^0.6.0",
|
"@fal-ai/serverless-proxy": "^0.6.0",
|
||||||
"@tldraw/tldraw": "^2.0.0-canary.ba4091c59418",
|
"@tldraw/tldraw": "^2.0.0-canary.ba4091c59418",
|
||||||
|
"@vercel/analytics": "^1.1.1",
|
||||||
"next": "14.0.3",
|
"next": "14.0.3",
|
||||||
"react": "^18",
|
"react": "^18",
|
||||||
"react-dom": "^18",
|
"react-dom": "^18",
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { Analytics } from '@vercel/analytics/react'
|
||||||
import type { Metadata } from 'next'
|
import type { Metadata } from 'next'
|
||||||
import { Inter } from 'next/font/google'
|
import { Inter } from 'next/font/google'
|
||||||
import './globals.css'
|
import './globals.css'
|
||||||
|
|
@ -68,7 +69,10 @@ export const metadata: Metadata = {
|
||||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<body className={inter.className}>{children}</body>
|
<body className={inter.className}>
|
||||||
|
{children}
|
||||||
|
<Analytics />
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue