Add speed insights

This commit is contained in:
2024-10-28 10:23:58 -07:00
parent 7ce141cb66
commit eb43280648
3 changed files with 34 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import { Sidebar } from "~/components/Sidebar"
import { ThemeProvider } from 'next-themes'
import { Footer } from "~/components/Footer"
import { Analytics } from "@vercel/analytics/react"
import { SpeedInsights } from "@vercel/speed-insights/next"
export const metadata = {
title: "Sean O'Connor",
@@ -17,6 +18,7 @@ export default function RootLayout({ children }: React.PropsWithChildren) {
<html lang="en" className={inter.className}>
<body className="font-sans bg-background text-foreground min-h-screen flex flex-col">
<Analytics />
<SpeedInsights />
<Navigation />
<div className="flex-1">
<div className="max-w-screen-xl mx-auto px-4 sm:px-6 lg:px-8">