make footer its own component
This commit is contained in:
parent
52df994d40
commit
be37e16795
17
src/components/Footer.svelte
Normal file
17
src/components/Footer.svelte
Normal 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 © {new Date().getFullYear()} FemboyFinancial Holdings Co., Ltd. (USA LLC). All rights reserved.
|
||||||
|
</footer>
|
@ -1,4 +1,5 @@
|
|||||||
<script>
|
<script>
|
||||||
|
import Footer from '../components/Footer.svelte';
|
||||||
import Nav from '../components/Nav.svelte';
|
import Nav from '../components/Nav.svelte';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -24,8 +25,5 @@
|
|||||||
|
|
||||||
<main>
|
<main>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
<footer>
|
<Footer />
|
||||||
Wholly funded and published by FemboyFinancial, Ltd.
|
|
||||||
Copyright © {new Date().getFullYear()} FemboyFinancial, Ltd. All rights reserved.
|
|
||||||
</footer>
|
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user