📈 (lp) Add Vercel analytics
This commit is contained in:
@ -13,16 +13,17 @@
|
||||
"@chakra-ui/react": "2.4.1",
|
||||
"@emotion/react": "11.10.5",
|
||||
"@emotion/styled": "11.10.5",
|
||||
"@vercel/analytics": "0.1.5",
|
||||
"aos": "2.3.4",
|
||||
"bot-engine": "workspace:*",
|
||||
"db": "workspace:*",
|
||||
"focus-visible": "5.2.0",
|
||||
"framer-motion": "7.6.6",
|
||||
"models": "workspace:*",
|
||||
"next": "13.0.3",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"utils": "workspace:*",
|
||||
"db": "workspace:*"
|
||||
"utils": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.20.2",
|
||||
@ -38,7 +39,7 @@
|
||||
"next-transpile-modules": "10.0.0",
|
||||
"postcss": "8.4.19",
|
||||
"prettier": "2.7.1",
|
||||
"typescript": "4.8.4",
|
||||
"tsconfig": "workspace:*"
|
||||
"tsconfig": "workspace:*",
|
||||
"typescript": "4.8.4"
|
||||
}
|
||||
}
|
||||
|
@ -4,6 +4,7 @@ import { ChakraProvider } from '@chakra-ui/react'
|
||||
import 'focus-visible/dist/focus-visible'
|
||||
import { theme } from '../lib/chakraTheme'
|
||||
import { AppProps } from 'next/app'
|
||||
import { Analytics } from '@vercel/analytics/react'
|
||||
import AOS from 'aos'
|
||||
import 'aos/dist/aos.css'
|
||||
|
||||
@ -19,6 +20,7 @@ const App = ({ Component, pageProps }: AppProps) => {
|
||||
return (
|
||||
<ChakraProvider theme={theme}>
|
||||
<Component {...pageProps} />
|
||||
<Analytics />
|
||||
</ChakraProvider>
|
||||
)
|
||||
}
|
||||
|
@ -20,11 +20,6 @@ class MyDocument extends Document {
|
||||
{/* eslint-disable-next-line @next/next/no-css-tags */}
|
||||
<link href="./styles/aos-noscript.css" rel="stylesheet" />
|
||||
</noscript>
|
||||
{/* <script
|
||||
defer
|
||||
data-domain="typebot.io"
|
||||
src="https://plausible.server.baptistearno.com/js/plausible.js"
|
||||
></script> */}
|
||||
{/* eslint-disable-next-line @next/next/no-sync-scripts */}
|
||||
<script src="/__env.js" />
|
||||
</Head>
|
||||
|
10
pnpm-lock.yaml
generated
10
pnpm-lock.yaml
generated
@ -274,6 +274,7 @@ importers:
|
||||
'@types/aos': 3.0.4
|
||||
'@types/node': 18.11.9
|
||||
'@types/react': 18.0.25
|
||||
'@vercel/analytics': 0.1.5
|
||||
aos: 2.3.4
|
||||
autoprefixer: 10.4.13
|
||||
bot-engine: workspace:*
|
||||
@ -298,6 +299,7 @@ importers:
|
||||
'@chakra-ui/react': 2.4.1_ydu7fid2w3vesyc65jyv4dbawa
|
||||
'@emotion/react': 11.10.5_cuziicjcvwawlf5iuhzacuhqcy
|
||||
'@emotion/styled': 11.10.5_hmjty4frusbltjhl3xd7udcm2y
|
||||
'@vercel/analytics': 0.1.5_react@18.2.0
|
||||
aos: 2.3.4
|
||||
bot-engine: link:../../packages/bot-engine
|
||||
db: link:../../packages/db
|
||||
@ -6609,6 +6611,14 @@ packages:
|
||||
react: 18.2.0
|
||||
dev: false
|
||||
|
||||
/@vercel/analytics/0.1.5_react@18.2.0:
|
||||
resolution: {integrity: sha512-/k9N8Ea3Yc5A52GlkjzUEbi2vE/izClrOf++ryBkxEfrZM/OZwtHkdNw/QExZ1h/B67RCZLK7bCOnKKrhG7gTg==}
|
||||
peerDependencies:
|
||||
react: ^16.8||^17||^18
|
||||
dependencies:
|
||||
react: 18.2.0
|
||||
dev: false
|
||||
|
||||
/@webassemblyjs/ast/1.11.1:
|
||||
resolution: {integrity: sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==}
|
||||
dependencies:
|
||||
|
Reference in New Issue
Block a user