Skip to content

Commit

Permalink
feat add vercel analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
michaltakac committed Nov 23, 2023
1 parent 9aac7f0 commit 8b5b26c
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
34 changes: 32 additions & 2 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 @@ -22,6 +22,7 @@
"@fortawesome/free-brands-svg-icons": "^5.15.4",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.16",
"@vercel/analytics": "^1.1.1",
"next": "^12.1.0",
"next-translate": "^1.2.0",
"polished": "^4.1.3",
Expand Down
2 changes: 2 additions & 0 deletions pages/_app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ThemeProvider } from '@emotion/react';
import { Analytics } from '@vercel/analytics/react';
import Layout from '../components/Layout';
import theme from '../themes/baseTheme';
import "../fontawesome";
Expand All @@ -11,6 +12,7 @@ function MyApp({ Component, pageProps }) {
<Layout>
<Component {...pageProps} />
</Layout>
<Analytics />
</ThemeProvider>
);
}
Expand Down

0 comments on commit 8b5b26c

Please # to comment.