Skip to content

Commit

Permalink
feat: add speed insights to dapp
Browse files Browse the repository at this point in the history
  • Loading branch information
martines3000 committed Apr 24, 2024
1 parent eb639ea commit 2f7931a
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 7 deletions.
1 change: 1 addition & 0 deletions packages/dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"@veramo/utils": "6.0.0",
"@vercel/analytics": "^1.2.2",
"@vercel/og": "^0.6.2",
"@vercel/speed-insights": "^1.0.10",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"date-fns": "^3.3.1",
Expand Down
2 changes: 2 additions & 0 deletions packages/dapp/src/app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import clsx from 'clsx';
import type { Metadata } from 'next';
import { NextIntlClientProvider, useMessages } from 'next-intl';
import { Cabin, JetBrains_Mono, Ubuntu } from 'next/font/google';
import { SpeedInsights } from '@vercel/speed-insights/next';

import AnalyticsWrapper from '@/components/AnalyticsWrapper';
import ThemeProvider from '@/components/ThemeProvider';
Expand Down Expand Up @@ -106,6 +107,7 @@ export default function LocaleLayout({
<ThemeProvider>{children}</ThemeProvider>
</NextIntlClientProvider>
<AnalyticsWrapper />
<SpeedInsights />
</body>
</html>
);
Expand Down
45 changes: 38 additions & 7 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 2f7931a

Please sign in to comment.