Skip to content

Commit fdc2721

Browse files
ppazospclaude
andcommitted
feat[analytics]: add Vercel Speed Insights
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 75d8343 commit fdc2721

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"@types/react": "^19.1.2",
2222
"@types/react-dom": "^19.1.2",
2323
"@types/three": "^0.178.1",
24+
"@vercel/speed-insights": "^1.3.1",
2425
"astro": "^5.17.3",
2526
"astro-i18n": "^2.2.4",
2627
"class-variance-authority": "^0.7.1",

pnpm-lock.yaml

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/layouts/Layout.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
import { SpeedInsights } from '@vercel/speed-insights/astro';
23
import Header from '../components/Header.astro';
34
import '../styles/global.css';
45
@@ -172,6 +173,7 @@ const fullImageUrl = image.startsWith('http') ? image : `${baseUrl}${image}`;
172173
</svg>
173174
</a>
174175

176+
<SpeedInsights />
175177
<footer class="mini-footer">
176178
<p>Proxecto apoiado por: IGAPE TICKET INNOVA 2026</p>
177179
</footer>

0 commit comments

Comments
 (0)