Skip to content

Commit

Permalink
chore: add vercel analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
vhpx committed Apr 15, 2024
1 parent 1ee28ed commit db1cb2c
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: ["main", "production"]
pull_request:
types: [opened, synchronize]
branches-ignore: ["main", "production"]

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Analytics as VercelAnalytics } from "@vercel/analytics/react";
import { GeistSans } from "geist/font/sans";
import "./globals.css";

Expand All @@ -19,6 +20,7 @@ export default function RootLayout({
return (
<html lang="en" className={GeistSans.className}>
<body className="bg-background text-foreground">
<VercelAnalytics />
<main className="min-h-screen flex flex-col items-center">
{children}
</main>
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"dependencies": {
"@supabase/ssr": "latest",
"@supabase/supabase-js": "latest",
"@vercel/analytics": "^1.2.2",
"autoprefixer": "10.4.19",
"geist": "^1.3.0",
"next": "latest",
Expand Down
23 changes: 23 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit db1cb2c

Please sign in to comment.