From aaaf100d2ccee6e328c5f116d784f5f266822f8a Mon Sep 17 00:00:00 2001 From: Guoqi Sun Date: Sat, 21 Dec 2024 21:02:50 +0800 Subject: [PATCH] feat: add umami tracking code and track events --- README.md | 4 +++- src/components/astro/footer.astro | 3 ++- src/components/astro/header.astro | 11 ++++++++--- src/components/astro/nav.astro | 9 ++++++++- src/components/astro/post-list.astro | 1 + src/components/react/language-toggle.tsx | 8 +++++++- src/components/react/theme-toggle.tsx | 2 +- src/layouts/base.astro | 6 ++++++ 8 files changed, 36 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 99f1089..616b9e7 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ -# todo \ No newline at end of file +## todo + +[![Netlify Status](https://api.netlify.com/api/v1/badges/de94319e-7049-462a-8022-817fe915045c/deploy-status)](https://app.netlify.com/sites/blog-air/deploys) \ No newline at end of file diff --git a/src/components/astro/footer.astro b/src/components/astro/footer.astro index 0eb8dea..a75008c 100644 --- a/src/components/astro/footer.astro +++ b/src/components/astro/footer.astro @@ -2,7 +2,7 @@ const currentYear = new Date().getFullYear() --- -