Added footer component. - Added a footer component and added a instance of it in _layout.
This commit is contained in:
parent
c6c7a4ad00
commit
97298d4a79
2 changed files with 9 additions and 2 deletions
|
|
@ -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…
Reference in a new issue