Added footer component.
- Added a footer component and added a instance of it in _layout.
This commit is contained in:
@ -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/>
|
||||
|
Reference in New Issue
Block a user