From 8a6fd18e20f056f431b99bea91374e5e90a7a48e Mon Sep 17 00:00:00 2001
From: Ben McCann <322311+benmccann@users.noreply.github.com>
Date: Mon, 28 Feb 2022 08:16:15 -0800
Subject: [PATCH] port banner from svelte.dev
---
.../kit.svelte.dev/src/routes/__layout.svelte | 47 +++++++++++++++++--
sites/kit.svelte.dev/static/stopwar.svg | 1 +
2 files changed, 45 insertions(+), 3 deletions(-)
create mode 100644 sites/kit.svelte.dev/static/stopwar.svg
diff --git a/sites/kit.svelte.dev/src/routes/__layout.svelte b/sites/kit.svelte.dev/src/routes/__layout.svelte
index 4efd7d1d4b1d..588358043b19 100644
--- a/sites/kit.svelte.dev/src/routes/__layout.svelte
+++ b/sites/kit.svelte.dev/src/routes/__layout.svelte
@@ -5,6 +5,10 @@
import { Icon, Icons, Nav, NavItem, PreloadingIndicator, SkipLink } from '@sveltejs/site-kit';
import Search from '$lib/search/Search.svelte';
import SearchBox from '$lib/search/SearchBox.svelte';
+
+ let h = 0;
+ let w = 0;
+ $: browser && document.documentElement.style.setProperty('--ukr-footer-height', `${h}px`);
@@ -14,7 +18,7 @@
{/if}
-