Added footer component.

- Added a footer component and added a instance of it in _layout.
This commit is contained in:
Chris Dill 2020-08-20 11:35:17 +01:00
parent 7bcf1e6b68
commit 8a3ad08f9e
2 changed files with 9 additions and 2 deletions

View File

@ -0,0 +1,6 @@
<footer>
<div class="container">
<hr>
<p>&copy; Quartznet 2020 | <a href="./policy">Policy</a></p>
</div>
</footer>

View File

@ -2,12 +2,12 @@
import Nav from '../components/Nav.svelte';
import userManager from '../components/userManager.svelte'
import Modal from '../components/Modal.svelte'
import Footer from '../components/footer.svelte'
export let segment;
</script>
<style>
main {
position: relative;
max-width: 56em;
@ -35,8 +35,9 @@
</style>
<Modal
<Modal/>
<Nav {segment} rightComponent={userManager}/>
<slot></slot>
<Footer/>