From eae17aa4fe246bfb96ca7d77a59600f42e98ac48 Mon Sep 17 00:00:00 2001 From: Puneet Saraswat <61435908+saraswatpuneet@users.noreply.github.com> Date: Tue, 29 Oct 2024 12:37:49 -0500 Subject: [PATCH] Open local dev docs for feature branch (#40) ## Details - Set link to localhost for `Dev Docs` for local development Closes #30 --- src/components/Header/NavItems.svelte | 10 ++-------- src/routes/docs/+layout.svelte | 15 +++++++++++++++ src/routes/docs/+page.svelte | 1 + 3 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 src/routes/docs/+layout.svelte create mode 100644 src/routes/docs/+page.svelte diff --git a/src/components/Header/NavItems.svelte b/src/components/Header/NavItems.svelte index 96e96d87..062b10f0 100644 --- a/src/components/Header/NavItems.svelte +++ b/src/components/Header/NavItems.svelte @@ -3,7 +3,7 @@ export let textColor: string; export let section: number; export let isDesktop: boolean = true; - + import { base } from '$app/paths'; let isOnHomePage = $page.url.pathname === '/'; @@ -14,13 +14,7 @@ > {/if} -Dev Docs. +Dev Docs. + import Header from '../../components/Header/Header.svelte'; + import Footer from '../../components/Footer.svelte'; + + const logoHex = '#5E69FF'; + const navColor = 'navy'; + + +
+
+
+ +
+
+
diff --git a/src/routes/docs/+page.svelte b/src/routes/docs/+page.svelte new file mode 100644 index 00000000..42b00557 --- /dev/null +++ b/src/routes/docs/+page.svelte @@ -0,0 +1 @@ +