diff --git a/app/layout.tsx b/app/layout.tsx index b28544c..9a90ed8 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,5 +1,7 @@ +import { Analytics } from "@vercel/analytics/react"; import { SpeedInsights } from "@vercel/speed-insights/next"; import type { Metadata } from "next"; + import { Inter } from "next/font/google"; import "./globals.css"; @@ -17,8 +19,11 @@ export default function RootLayout({ }>) { return ( - - {children} + + {children} + + + ); } diff --git a/package.json b/package.json index c1fd6d4..8a4b841 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "lint": "next lint" }, "dependencies": { + "@vercel/analytics": "^1.1.3", "@vercel/speed-insights": "^1.0.9", "next": "14.1.0", "react": "^18", diff --git a/yarn.lock b/yarn.lock index 101dec2..d0b36c9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -298,6 +298,13 @@ resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== +"@vercel/analytics@^1.1.3": + version "1.1.3" + resolved "https://registry.yarnpkg.com/@vercel/analytics/-/analytics-1.1.3.tgz#43e74a2bbeb23c679bae40aefec732b49452c765" + integrity sha512-Z0l0y8TnUnnxr+on7oIMB9qQOoSJIniYMzUng6+NU8VVDkZ+kt2QGD5hzODwsuiRJAsjW528iUEtbWCEGkSCCg== + dependencies: + server-only "^0.0.1" + "@vercel/speed-insights@^1.0.9": version "1.0.9" resolved "https://registry.yarnpkg.com/@vercel/speed-insights/-/speed-insights-1.0.9.tgz#ad748c238c4ed58b32cc8a398f28abe507dabd53" @@ -2221,6 +2228,11 @@ semver@^7.5.4: dependencies: lru-cache "^6.0.0" +server-only@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/server-only/-/server-only-0.0.1.tgz#0f366bb6afb618c37c9255a314535dc412cd1c9e" + integrity sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA== + set-function-length@^1.2.0: version "1.2.1" resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.1.tgz#47cc5945f2c771e2cf261c6737cf9684a2a5e425"