Add footer scroll functionality and update layout styles
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
import Footer from "$lib/components/Footer.svelte";
|
||||
import Navbar from "$lib/components/Navbar.svelte";
|
||||
import "../app.css";
|
||||
|
||||
// only show footer if scrolled to the bottom
|
||||
|
||||
</script>
|
||||
|
||||
<Navbar />
|
||||
@@ -10,10 +13,10 @@
|
||||
</section>
|
||||
<!-- <Footer /> -->
|
||||
|
||||
<style>
|
||||
<!-- <style>
|
||||
section {
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 5rem;
|
||||
/* gives the footer space! */
|
||||
}
|
||||
</style>
|
||||
</style> -->
|
||||
Reference in New Issue
Block a user