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 @@
+
+
\ No newline at end of file
diff --git a/src/routes/faq/+page.svelte b/src/routes/faq/+page.svelte
index 7d35acb..f7df6a8 100644
--- a/src/routes/faq/+page.svelte
+++ b/src/routes/faq/+page.svelte
@@ -1,5 +1,6 @@
@@ -49,4 +50,6 @@
Take a look at the documentation for Build Scripts
and Adding Packages to LURE's repo.
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/src/routes/footer.svelte b/src/routes/footer.svelte
new file mode 100644
index 0000000..5e6c7b2
--- /dev/null
+++ b/src/routes/footer.svelte
@@ -0,0 +1,15 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/routes/pkg/[repo]/[name]/+page.svelte b/src/routes/pkg/[repo]/[name]/+page.svelte
index 25e9d37..442b5e2 100644
--- a/src/routes/pkg/[repo]/[name]/+page.svelte
+++ b/src/routes/pkg/[repo]/[name]/+page.svelte
@@ -6,6 +6,7 @@
import { DoubleBounce } from 'svelte-loading-spinners';
import Header from "../../../header.svelte";
+ import Footer from "../../../footer.svelte";
import Icon from '@iconify/svelte';
@@ -117,4 +118,6 @@
Error: {err.msg}
{/await}
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/src/routes/pkg/[repo]/[name]/lure.sh/+page.svelte b/src/routes/pkg/[repo]/[name]/lure.sh/+page.svelte
index 6edba32..063dc3d 100644
--- a/src/routes/pkg/[repo]/[name]/lure.sh/+page.svelte
+++ b/src/routes/pkg/[repo]/[name]/lure.sh/+page.svelte
@@ -10,6 +10,7 @@
import agate from 'svelte-highlight/styles/agate';
import Header from "../../../../header.svelte";
+ import Footer from "../../../../footer.svelte";
import Icon from '@iconify/svelte';
@@ -42,3 +43,4 @@
{/await}
+
\ No newline at end of file
diff --git a/src/routes/pkgs/+page.svelte b/src/routes/pkgs/+page.svelte
index 4c34b78..d0878ce 100644
--- a/src/routes/pkgs/+page.svelte
+++ b/src/routes/pkgs/+page.svelte
@@ -5,6 +5,7 @@
import { LURE_WEB_API_URL } from '$env/static/public';
import Header from "../header.svelte";
+ import Footer from "../footer.svelte";
import { DoubleBounce } from 'svelte-loading-spinners';
import Icon from '@iconify/svelte';
@@ -123,4 +124,6 @@
{/await}
-
\ No newline at end of file
+
+
+
\ No newline at end of file