Add Vercel analytics to website
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
---
|
||||
import "@/styles/global.css"
|
||||
import { ClientRouter } from "astro:transitions"
|
||||
import Analytics from "@vercel/analytics/astro"
|
||||
|
||||
interface Props {
|
||||
title?: string
|
||||
@@ -26,6 +27,7 @@ const {
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link href="https://fonts.googleapis.com/css2?family=VT323&display=swap" rel="stylesheet" />
|
||||
<ClientRouter />
|
||||
<Analytics />
|
||||
<script is:inline>
|
||||
;(function () {
|
||||
const theme = localStorage.getItem("theme")
|
||||
|
||||
Reference in New Issue
Block a user