Feat: proxy

This commit is contained in:
MotorTruck1221
2025-03-23 21:39:32 -06:00
parent a0baded584
commit 2cfdf7fbae
10 changed files with 260 additions and 11 deletions
+2
View File
@@ -12,6 +12,8 @@ const path = Astro.url.pathname;
<h1 class="text-xl font-bold text-(--foreground)"> Radius </h1>
</a>
</div>
<div>
</div>
</div>
<div class="fixed w-full h-full z-10 flex flex-row pointer-events-auto invisible transition duration-500" id="navigation">
<div id="innerNav" class="flex flex-col gap-6 w-72 h-full bg-(--background) border-r border-r-(--border) p-6 transition duration-250 shadow-lg">
@@ -1,8 +1,12 @@
<script>
import { Settings } from "@utils/settings.ts";
import { SW } from "@utils/proxy.ts";
const settings = new Settings();
const sw = new SW();
document.addEventListener('astro:after-swap', async () => {
//const settings = await Settings.getInstance();
settings.theme();
});
</script>