Add new footer

This commit is contained in:
Elara 2022-12-25 17:10:35 -08:00
parent 688cd83481
commit 8aafff96dc
7 changed files with 44 additions and 3 deletions

View File

@ -46,4 +46,16 @@ pre {
button.sc-carousel-arrow__circle { button.sc-carousel-arrow__circle {
width: 30px !important; width: 30px !important;
height: 30px !important; height: 30px !important;
}
html, body {
height: 100%;
width: 100%;
margin: 0;
display: table;
}
#footer {
display: table-row;
height: 100px;
} }

View File

@ -2,6 +2,7 @@
import { onMount } from "svelte"; import { onMount } from "svelte";
import Header from "./header.svelte"; import Header from "./header.svelte";
import Footer from "./footer.svelte";
import Highlight from 'svelte-highlight'; import Highlight from 'svelte-highlight';
import bash from 'svelte-highlight/languages/bash'; import bash from 'svelte-highlight/languages/bash';
@ -105,3 +106,5 @@
</svelte:component> </svelte:component>
</section> </section>
<Footer/>

View File

@ -1,5 +1,6 @@
<script> <script>
import Header from "../header.svelte"; import Header from "../header.svelte";
import Footer from "../footer.svelte";
</script> </script>
<Header/> <Header/>
@ -49,4 +50,6 @@
Take a look at the documentation for <a href="https://github.com/Arsen6331/lure/blob/master/docs/build-scripts.md">Build Scripts</a> Take a look at the documentation for <a href="https://github.com/Arsen6331/lure/blob/master/docs/build-scripts.md">Build Scripts</a>
and <a href="https://github.com/Arsen6331/lure/blob/master/docs/adding-packages.md">Adding Packages to LURE's repo</a>. and <a href="https://github.com/Arsen6331/lure/blob/master/docs/adding-packages.md">Adding Packages to LURE's repo</a>.
</p> </p>
</div> </div>
<Footer/>

15
src/routes/footer.svelte Normal file
View File

@ -0,0 +1,15 @@
<script>
import Icon from '@iconify/svelte';
</script>
<br style="margin-top: 20px">
<div class="hero is-primary is-small" id="footer">
<div class="hero-body has-text-centered">
<p>Copyright &copy; {new Date().getFullYear()} LURE Web Contributors. Licensed under the <a class="has-text-link" href="https://www.gnu.org/licenses/agpl-3.0-standalone.html">AGPLv3</a>.</p>
<div class="is-size-4">
<a href="https://gitea.arsenm.dev/Arsen6331/lure-web"><Icon icon="cib:gitea"/></a>
<a href="https://github.com/Arsen6331/lure-web"><Icon icon="mdi:github"/></a>
<a href="https://reddit.com/r/linux_user_repository"><Icon icon="ic:round-reddit"/></a>
</div>
</div>
</div>

View File

@ -6,6 +6,7 @@
import { DoubleBounce } from 'svelte-loading-spinners'; import { DoubleBounce } from 'svelte-loading-spinners';
import Header from "../../../header.svelte"; import Header from "../../../header.svelte";
import Footer from "../../../footer.svelte";
import Icon from '@iconify/svelte'; import Icon from '@iconify/svelte';
@ -117,4 +118,6 @@
Error: {err.msg} Error: {err.msg}
</div> </div>
{/await} {/await}
</section> </section>
<Footer/>

View File

@ -10,6 +10,7 @@
import agate from 'svelte-highlight/styles/agate'; import agate from 'svelte-highlight/styles/agate';
import Header from "../../../../header.svelte"; import Header from "../../../../header.svelte";
import Footer from "../../../../footer.svelte";
import Icon from '@iconify/svelte'; import Icon from '@iconify/svelte';
@ -42,3 +43,4 @@
{/await} {/await}
</section> </section>
<Footer/>

View File

@ -5,6 +5,7 @@
import { LURE_WEB_API_URL } from '$env/static/public'; import { LURE_WEB_API_URL } from '$env/static/public';
import Header from "../header.svelte"; import Header from "../header.svelte";
import Footer from "../footer.svelte";
import { DoubleBounce } from 'svelte-loading-spinners'; import { DoubleBounce } from 'svelte-loading-spinners';
import Icon from '@iconify/svelte'; import Icon from '@iconify/svelte';
@ -123,4 +124,6 @@
</div> </div>
{/await} {/await}
</section> </section>
<Footer/>