Added footer component.
- Added a footer component and added a instance of it in _layout.
This commit is contained in:
parent
7bcf1e6b68
commit
8a3ad08f9e
6
src/components/footer.svelte
Normal file
6
src/components/footer.svelte
Normal file
@ -0,0 +1,6 @@
|
||||
<footer>
|
||||
<div class="container">
|
||||
<hr>
|
||||
<p>© Quartznet 2020 | <a href="./policy">Policy</a></p>
|
||||
</div>
|
||||
</footer>
|
@ -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/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user