Skip to content

Commit

Permalink
chore: vercel analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
helloanoop committed Oct 9, 2023
1 parent ee8cb37 commit a7440d4
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
27 changes: 27 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 @@ -9,6 +9,7 @@
},
"dependencies": {
"@tabler/icons": "^1.100.0",
"@vercel/analytics": "^1.1.0",
"gray-matter": "^4.0.3",
"marked": "^4.3.0",
"next": "12.0.6",
Expand Down
2 changes: 2 additions & 0 deletions src/pages/_app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Analytics } from '@vercel/analytics/react';
import { ThemeProvider } from 'styled-components';
import '../styles/globals.css';
import '../styles/markdown.css';
Expand All @@ -8,6 +9,7 @@ function MyApp({ Component, pageProps }) {
return (
<ThemeProvider theme={theme}>
<Component {...pageProps} />
<Analytics />
</ThemeProvider>
)
}
Expand Down

1 comment on commit a7440d4

@vercel
Copy link

@vercel vercel bot commented on a7440d4 Oct 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.