Implement #1
This commit is contained in:
15
src/routes/+layout.svelte
Normal file
15
src/routes/+layout.svelte
Normal file
@ -0,0 +1,15 @@
|
||||
<script lang="ts">
|
||||
import FooterComponent from '$lib/components/FooterComponent.svelte'
|
||||
</script>
|
||||
<slot />
|
||||
<div class="footer">
|
||||
<FooterComponent />
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.footer {
|
||||
position: sticky;
|
||||
bottom: 0px;
|
||||
display: inline-block;
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user