Skip to content

Commit

Permalink
enabling speed insights
Browse files Browse the repository at this point in the history
  • Loading branch information
aacevski committed Dec 29, 2024
1 parent c5c2ab8 commit 04c8acd
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@astrojs/vercel": "^8.0.1",
"@tailwindcss/typography": "^0.5.15",
"@vercel/analytics": "^1.4.1",
"@vercel/speed-insights": "^1.1.0",
"astro": "^5.1.1",
"satori": "^0.12.0",
"sharp": "^0.33.5",
Expand Down
28 changes: 28 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/layouts/layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import Footer from "../components/footer.astro";
import Navigation from "../components/header/navigation.astro";
import Analytics from "@vercel/analytics/astro";
import SpeedInsights from "@vercel/speed-insights/astro";
import { ClientRouter } from "astro:transitions";
interface Props {
Expand Down Expand Up @@ -55,6 +56,7 @@ const ogImage = new URL(

<ClientRouter />
<Analytics />
<SpeedInsights />
</head>
<body class="bg-[#0a0a0a] text-gray-100 min-h-screen font-['Inter']">
<Navigation />
Expand Down

0 comments on commit 04c8acd

Please sign in to comment.