make footer its own component

This commit is contained in:
James Shiffer 2020-06-12 02:10:33 -07:00
parent 52df994d40
commit be37e16795
2 changed files with 19 additions and 4 deletions

View File

@ -0,0 +1,17 @@
<style>
footer {
box-sizing: border-box;
text-align: center;
position: fixed;
bottom: 0;
width: 100%;
background: #fff;
box-shadow: 0 2px 5px #000;
padding: 1rem;
z-index: 1;
}
</style>
<footer>
Copyright &copy; {new Date().getFullYear()} FemboyFinancial Holdings Co., Ltd. (USA LLC). All rights reserved.
</footer>

View File

@ -1,4 +1,5 @@
<script>
import Footer from '../components/Footer.svelte';
import Nav from '../components/Nav.svelte';
</script>
@ -24,8 +25,5 @@
<main>
<slot></slot>
<footer>
Wholly funded and published by FemboyFinancial, Ltd.
Copyright &copy; {new Date().getFullYear()} FemboyFinancial, Ltd. All rights reserved.
</footer>
<Footer />
</main>