From 04595d7094dfdc6fa2872abe06a4398904729bbc Mon Sep 17 00:00:00 2001 From: robin Date: Thu, 17 Aug 2023 08:01:56 +0000 Subject: [PATCH] fix --- frontend/src/App.svelte | 1 + frontend/src/lib/components/Footer.svelte | 13 +++++++++++-- .../src/lib/components/widgets/iconBlock.svelte | 7 +++---- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index 06febef..969193e 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -166,6 +166,7 @@ html, body { + font-family: "Libre Franklin", sans-serif; @media @mobile { font-size: @bodyfontsize; line-height: 1.4; diff --git a/frontend/src/lib/components/Footer.svelte b/frontend/src/lib/components/Footer.svelte index 63285bd..83ea84e 100644 --- a/frontend/src/lib/components/Footer.svelte +++ b/frontend/src/lib/components/Footer.svelte @@ -19,7 +19,13 @@ } nextpage = pages[nextIndex] } + let blackBg = false setInterval(() => { + if (location.pathname == "/") { + blackBg = true + } else { + blackBg = false + } getNextPage($navigation.pages) if (location.pathname.split("/").filter((s) => s).length >= 2) { @@ -43,7 +49,7 @@ } -