Skip to content

Commit

Permalink
feat: add vercel analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
flornkm committed Jan 20, 2024
1 parent b156494 commit a94e120
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Inter, Zeyada } from "next/font/google"
import "./globals.css"
import Pattern from "@/illustrations/Pattern"
import SideInfo from "@/components/SideInfo"
import { Analytics } from "@vercel/analytics/react"

const inter = Inter({ subsets: ["latin"] })

Expand All @@ -27,6 +28,7 @@ export default function RootLayout({
<Pattern className="absolute inset-0 opacity-50" />
<div className="border-[256px] border-white inset-0 absolute blur-3xl" />
</div>
<Analytics />
</body>
</html>
)
Expand Down
14 changes: 14 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"dependencies": {
"@rive-app/canvas": "^2.9.3",
"@types/xmlhttprequest": "^1.8.2",
"@vercel/analytics": "^1.1.2",
"firebase": "^10.7.2",
"html-to-image": "^1.11.11",
"next": "14.0.4",
Expand Down

0 comments on commit a94e120

Please sign in to comment.