From 822fbcbba3b95df2c10336c5d2d2faee91c4dd9c Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Fri, 10 Jan 2025 16:37:12 +0000 Subject: [PATCH] Implemented navigation through website --- src/lib/components/NavigationFooter.svelte | 18 ++++++++++++++-- src/lib/components/NavigationHeader.svelte | 24 +++++++++++++++++++--- src/lib/navigation.js | 11 ++++++++++ src/routes/+layout.svelte | 1 + src/routes/+page.svelte | 1 + src/routes/BottomCall.svelte | 4 ++++ src/routes/Splash.svelte | 3 +++ 7 files changed, 57 insertions(+), 5 deletions(-) create mode 100644 src/lib/navigation.js diff --git a/src/lib/components/NavigationFooter.svelte b/src/lib/components/NavigationFooter.svelte index 32b9c51..b318277 100644 --- a/src/lib/components/NavigationFooter.svelte +++ b/src/lib/components/NavigationFooter.svelte @@ -2,11 +2,18 @@ import "$lib/styles/NavigationFooter.scss"; import ScrollToTop from "$lib/components/ScrollToTop.svelte"; import Link from "$lib/components/Link.svelte"; + + import { navigation } from "$lib/navigation"; diff --git a/src/routes/Splash.svelte b/src/routes/Splash.svelte index 6c4d7f9..e9cf263 100644 --- a/src/routes/Splash.svelte +++ b/src/routes/Splash.svelte @@ -1,6 +1,8 @@
@@ -24,6 +26,7 @@ text="Get Involved!" inner_class="splash-get-involved" hotkey="g" + redirectFunc={navigation.toAbout} />