Skip to content

Commit

Permalink
vercel analytics added
Browse files Browse the repository at this point in the history
  • Loading branch information
unaisdev committed May 16, 2023
1 parent b1720b6 commit 558b1d5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import Image from 'next/image'
import type { AppProps } from 'next/app'
import { ThemeProvider, useTheme } from 'next-themes'
import SocialMediaButtons from '@/components/SocialMediaButtons'
import { Analytics } from '@vercel/analytics/react';

export default function Home() {
const { systemTheme, theme, setTheme } = useTheme();
Expand All @@ -26,6 +27,8 @@ export default function Home() {
<SocialMediaButtons />
</div>
</div>
<Analytics />

</ThemeProvider>
)
}
6 changes: 6 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 @@ -15,6 +15,7 @@
"@types/react": "18.2.6",
"@types/react-dom": "18.2.4",
"@types/react-transition-group": "^4.4.6",
"@vercel/analytics": "^1.0.1",
"autoprefixer": "10.4.14",
"eslint": "8.40.0",
"eslint-config-next": "13.4.1",
Expand Down

0 comments on commit 558b1d5

Please sign in to comment.