Skip to content

Commit

Permalink
feat(layout): add vercel speed insights and analytics components
Browse files Browse the repository at this point in the history
  • Loading branch information
allbertuu committed Mar 7, 2024
1 parent 43a9ab5 commit 54ab431
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import {
Nunito_Sans as NunitoSans,
Titillium_Web as TitilliumWeb,
} from 'next/font/google';
import { SpeedInsights } from '@vercel/speed-insights/next';
import { Analytics } from '@vercel/analytics/react';

export const metadata: Metadata = {
title: {
Expand Down Expand Up @@ -56,6 +58,8 @@ export default function RootLayout({
className={`${titillium.variable} ${nunitoSans.className} bg-blue-700`}
>
<ToastProvider />
<SpeedInsights />
<Analytics />
<PostsProvider>{children}</PostsProvider>
</body>
</html>
Expand Down

0 comments on commit 54ab431

Please sign in to comment.