Remove green leftovers

This commit is contained in:
pancakes 2025-03-26 16:36:56 +10:00
parent e1c2565db2
commit f3e92b7b64
Signed by: pancakes
SSH key fingerprint: SHA256:yrp4c4hhaPoPG07fb4QyQIgAdlbUdsJvUAydJEWnfTw

View file

@ -1,5 +1,4 @@
<script>
import { browser } from "$app/environment";
import { page } from "$app/state";
import Footer from "$lib/components/Footer.svelte";
import Navbar from "$lib/components/Navbar.svelte";
@ -11,16 +10,9 @@
/** @type {Props} */
let { children } = $props();
const green = browser
? window.localStorage.getItem("green") === "true"
: false;
</script>
<svelte:head>
{#if green}
<link rel="stylesheet" href="/assets/green.css" />
{/if}
<title>
{page.data.title ? page.data.title + " | pancakes" : "pancakes"}
</title>