Add footer scroll functionality and update layout styles

This commit is contained in:
Sean Morley
2024-04-01 23:30:59 +00:00
parent a0f07a9980
commit c23ea0ce5e
2 changed files with 7 additions and 6 deletions

View File

@@ -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> -->