Skip to content

Commit

Permalink
▲ add vercel analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
deltea committed Jan 20, 2025
1 parent 86e66fd commit fd7c36a
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 23 deletions.
53 changes: 30 additions & 23 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"@threlte/extras": "^8.11.2",
"@threlte/theatre": "^2.1.7",
"@types/three": "^0.164.0",
"@vercel/analytics": "^1.4.1",
"@vercel/node": "^3.2.9",
"@vercel/postgres": "^0.9.0",
"astro": "^4.16.3",
Expand Down
4 changes: 4 additions & 0 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import "@fontsource-variable/jost";
import "../styles/global.css";
import Analytics from "@vercel/analytics/astro"
import Navbar from "$components/Navbar.svelte";
import Footer from "$components/Footer.svelte";
import { cn } from "$lib/utils";
Expand Down Expand Up @@ -52,5 +54,7 @@ const {
</main>

<Footer />

<Analytics />
</body>
</html>

0 comments on commit fd7c36a

Please sign in to comment.