mirror of
https://github.com/soconnor0919/personal-website.git
synced 2025-12-15 16:24:44 -05:00
Add speed insights
This commit is contained in:
@@ -24,6 +24,7 @@
|
|||||||
"@react-pdf/renderer": "^3.4.0",
|
"@react-pdf/renderer": "^3.4.0",
|
||||||
"@t3-oss/env-nextjs": "^0.10.1",
|
"@t3-oss/env-nextjs": "^0.10.1",
|
||||||
"@vercel/analytics": "^1.3.2",
|
"@vercel/analytics": "^1.3.2",
|
||||||
|
"@vercel/speed-insights": "^1.0.14",
|
||||||
"class-variance-authority": "^0.7.0",
|
"class-variance-authority": "^0.7.0",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"cn": "^0.1.1",
|
"cn": "^0.1.1",
|
||||||
|
|||||||
31
pnpm-lock.yaml
generated
31
pnpm-lock.yaml
generated
@@ -50,6 +50,9 @@ importers:
|
|||||||
'@vercel/analytics':
|
'@vercel/analytics':
|
||||||
specifier: ^1.3.2
|
specifier: ^1.3.2
|
||||||
version: 1.3.2(next@14.2.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)
|
version: 1.3.2(next@14.2.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)
|
||||||
|
'@vercel/speed-insights':
|
||||||
|
specifier: ^1.0.14
|
||||||
|
version: 1.0.14(next@14.2.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)
|
||||||
class-variance-authority:
|
class-variance-authority:
|
||||||
specifier: ^0.7.0
|
specifier: ^0.7.0
|
||||||
version: 0.7.0
|
version: 0.7.0
|
||||||
@@ -1091,6 +1094,29 @@ packages:
|
|||||||
react:
|
react:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
'@vercel/speed-insights@1.0.14':
|
||||||
|
resolution: {integrity: sha512-env1BkPddz1UaEZwBL4GmfRksMi2LbiYaKuoxMQjfLk83aEh7kkWMukkUhpQVs717NE6nnD+1+KO85GZHOZ4nQ==}
|
||||||
|
peerDependencies:
|
||||||
|
'@sveltejs/kit': ^1 || ^2
|
||||||
|
next: '>= 13'
|
||||||
|
react: ^18 || ^19 || ^19.0.0-rc
|
||||||
|
svelte: '>= 4'
|
||||||
|
vue: ^3
|
||||||
|
vue-router: ^4
|
||||||
|
peerDependenciesMeta:
|
||||||
|
'@sveltejs/kit':
|
||||||
|
optional: true
|
||||||
|
next:
|
||||||
|
optional: true
|
||||||
|
react:
|
||||||
|
optional: true
|
||||||
|
svelte:
|
||||||
|
optional: true
|
||||||
|
vue:
|
||||||
|
optional: true
|
||||||
|
vue-router:
|
||||||
|
optional: true
|
||||||
|
|
||||||
abs-svg-path@0.1.1:
|
abs-svg-path@0.1.1:
|
||||||
resolution: {integrity: sha512-d8XPSGjfyzlXC3Xx891DJRyZfqk5JU0BJrDQcsWomFIV1/BIzPW5HDH5iDdWpqWaav0YVIEzT1RHTwWr0FFshA==}
|
resolution: {integrity: sha512-d8XPSGjfyzlXC3Xx891DJRyZfqk5JU0BJrDQcsWomFIV1/BIzPW5HDH5iDdWpqWaav0YVIEzT1RHTwWr0FFshA==}
|
||||||
|
|
||||||
@@ -3815,6 +3841,11 @@ snapshots:
|
|||||||
next: 14.2.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
next: 14.2.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
react: 18.3.1
|
react: 18.3.1
|
||||||
|
|
||||||
|
'@vercel/speed-insights@1.0.14(next@14.2.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)':
|
||||||
|
optionalDependencies:
|
||||||
|
next: 14.2.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
|
react: 18.3.1
|
||||||
|
|
||||||
abs-svg-path@0.1.1: {}
|
abs-svg-path@0.1.1: {}
|
||||||
|
|
||||||
acorn-jsx@5.3.2(acorn@8.13.0):
|
acorn-jsx@5.3.2(acorn@8.13.0):
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import { Sidebar } from "~/components/Sidebar"
|
|||||||
import { ThemeProvider } from 'next-themes'
|
import { ThemeProvider } from 'next-themes'
|
||||||
import { Footer } from "~/components/Footer"
|
import { Footer } from "~/components/Footer"
|
||||||
import { Analytics } from "@vercel/analytics/react"
|
import { Analytics } from "@vercel/analytics/react"
|
||||||
|
import { SpeedInsights } from "@vercel/speed-insights/next"
|
||||||
|
|
||||||
export const metadata = {
|
export const metadata = {
|
||||||
title: "Sean O'Connor",
|
title: "Sean O'Connor",
|
||||||
@@ -17,6 +18,7 @@ export default function RootLayout({ children }: React.PropsWithChildren) {
|
|||||||
<html lang="en" className={inter.className}>
|
<html lang="en" className={inter.className}>
|
||||||
<body className="font-sans bg-background text-foreground min-h-screen flex flex-col">
|
<body className="font-sans bg-background text-foreground min-h-screen flex flex-col">
|
||||||
<Analytics />
|
<Analytics />
|
||||||
|
<SpeedInsights />
|
||||||
<Navigation />
|
<Navigation />
|
||||||
<div className="flex-1">
|
<div className="flex-1">
|
||||||
<div className="max-w-screen-xl mx-auto px-4 sm:px-6 lg:px-8">
|
<div className="max-w-screen-xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||||
|
|||||||
Reference in New Issue
Block a user