From 1ad7aed1cd196bcbcbd33d140a32267cc3d0983d Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 27 Jan 2024 19:46:26 +0800 Subject: [PATCH] :bug: Bug fixes --- package.json | 1 + src/components/Navbar.astro | 4 +--- src/components/posts/Media.tsx | 9 ++++++++- src/layouts/RootLayout.astro | 16 ++++++++++++++++ yarn.lock | 5 +++++ 5 files changed, 31 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index ff290d6..b4afdc2 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "react-dom": "^18.2.0", "sass": "^1.70.0", "tailwindcss": "^3.4.1", + "theme-change": "^2.5.0", "typescript": "^5.3.3" }, "devDependencies": { diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index 9ba70eb..5b447d7 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -83,9 +83,7 @@ const items: MenuItem[] = [