mirror of
https://github.com/ld3z/new-manga.git
synced 2026-11-09 21:03:45 -07:00
add analytics
This commit is contained in:
parent
f9fc2c4cb0
commit
9f4ec3d3fd
4 changed files with 5 additions and 1 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue