From 8aafff96dcb6914414cf3d9e1d672e7e68af8695 Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Sun, 25 Dec 2022 17:10:35 -0800 Subject: [PATCH] Add new footer --- src/app.scss | 12 ++++++++++++ src/routes/+page.svelte | 3 +++ src/routes/faq/+page.svelte | 5 ++++- src/routes/footer.svelte | 15 +++++++++++++++ src/routes/pkg/[repo]/[name]/+page.svelte | 5 ++++- src/routes/pkg/[repo]/[name]/lure.sh/+page.svelte | 2 ++ src/routes/pkgs/+page.svelte | 5 ++++- 7 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 src/routes/footer.svelte diff --git a/src/app.scss b/src/app.scss index 221088c..3117cc0 100644 --- a/src/app.scss +++ b/src/app.scss @@ -46,4 +46,16 @@ pre { button.sc-carousel-arrow__circle { width: 30px !important; height: 30px !important; +} + +html, body { + height: 100%; + width: 100%; + margin: 0; + display: table; +} + +#footer { + display: table-row; + height: 100px; } \ No newline at end of file diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 2977cf4..d68fd8e 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -2,6 +2,7 @@ import { onMount } from "svelte"; import Header from "./header.svelte"; + import Footer from "./footer.svelte"; import Highlight from 'svelte-highlight'; import bash from 'svelte-highlight/languages/bash'; @@ -105,3 +106,5 @@ + +