add analytics

This commit is contained in:
ld3zian 2025-01-26 13:05:06 -07:00
parent f9fc2c4cb0
commit 9f4ec3d3fd
4 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,6 @@
---
import ThemeToggle from '../components/ThemeToggle.astro';
import { Analytics } from '@vercel/analytics/react';
interface Props {
title: string;
@ -101,6 +102,7 @@ const isCreditsPage = Astro.url.pathname === '/credits';
<main id="main-content" class="transition-opacity duration-300">
<slot />
</main>
<Analytics />
</body>
</html>

View file

@ -145,7 +145,7 @@ const credits = [
<div class="mt-12 text-center text-primary/60">
<p class="text-lg">
Thank you to all the creators, artists, and contributors to other projectswho made this project possible! ✨
Thank you to all the creators, artists, and contributors to other projects who made this project possible! ✨
</p>
</div>
</main>