Skip to content

Commit

Permalink
Add analytics package
Browse files Browse the repository at this point in the history
  • Loading branch information
kmcginnes committed Feb 3, 2024
1 parent c751b75 commit c8d7618
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"dependencies": {
"@t3-oss/env-nextjs": "^0.7.1",
"@vercel/analytics": "^1.1.2",
"esbuild": "^0.19.12",
"next": "^14.0.4",
"react": "18.2.0",
Expand Down
2 changes: 2 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import "~/styles/globals.css"
import { Bitter, Nunito_Sans } from "next/font/google"
import Footer from "./footer"
import { env } from "~/env"
import { Analytics } from "@vercel/analytics/react"

const serif = Bitter({
subsets: ["latin"],
Expand Down Expand Up @@ -32,6 +33,7 @@ export default function RootLayout({
>
{children}
<Footer />
<Analytics />
</body>
</html>
)
Expand Down

0 comments on commit c8d7618

Please sign in to comment.