Add vercel spyware

This commit is contained in:
Phapoom Saksri 2025-02-21 19:00:55 +07:00
parent dd05af95ce
commit 7f9a58d44b
3 changed files with 11 additions and 1 deletions

View file

@ -10,6 +10,8 @@
},
"dependencies": {
"@phosphor-icons/react": "^2.0.15",
"@vercel/analytics": "^1.5.0",
"@vercel/speed-insights": "^1.2.0",
"gray-matter": "^4.0.3",
"markdown-it": "^14.0.0",
"next": "^14.2.5",

BIN
public/setup/image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

View file

@ -4,6 +4,8 @@ import "~/styles/globals.css"
import { useEffect } from "react"
import { useRouter } from "next/router"
import { Roboto, Mali } from "next/font/google"
import { Analytics } from '@vercel/analytics/next';
import { SpeedInsights } from '@vercel/speed-insights/next';
const roboto = Roboto({
weight: "400",
@ -27,7 +29,13 @@ function MyApp({ Component, pageProps }) {
}, [stright])
return <Component {...pageProps} />
return (
<>
<Component {...pageProps} />
<Analytics />
<SpeedInsights />
</>
);
}
export default MyApp