Skip to content

Commit

Permalink
adding analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
Santipac committed Jun 23, 2024
1 parent c5210e2 commit e3cd11a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/[lang]/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { i18n } from '@/i18n-config';
import { Metadata } from 'next';
import { calSans, inter } from '../fonts';
import { SpeedInsights } from "@vercel/speed-insights/next"

import { SpeedInsights } from '@vercel/speed-insights/next';
import { Analytics } from '@vercel/analytics/react';
import og from '@/public/og.png';
import '../../globals.css';
export const metadata: Metadata = {
Expand Down Expand Up @@ -65,6 +65,7 @@ export default function RootLayout({
lang={params.lang}
className={[inter.variable, calSans.variable].join(' ')}
>
<Analytics />
<SpeedInsights />
<body className={inter.className}>{children}</body>
</html>
Expand Down
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@types/node": "20.2.3",
"@types/react": "18.2.7",
"@types/react-dom": "18.2.4",
"@vercel/analytics": "^1.3.1",
"@vercel/speed-insights": "^1.0.12",
"autoprefixer": "10.4.14",
"class-variance-authority": "^0.6.0",
Expand Down

0 comments on commit e3cd11a

Please sign in to comment.