diff --git a/src/lib/components/NavLinks.svelte b/src/lib/components/NavLinks.svelte new file mode 100644 index 0000000..fb054f5 --- /dev/null +++ b/src/lib/components/NavLinks.svelte @@ -0,0 +1,23 @@ + + +
  • Products
  • +
  • + {#if isMobile} +
    Parent
    + {:else} +
    + Parent +
    + {/if} + +
  • +
  • Item 3
  • diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index f42177d..b761e66 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -8,6 +8,7 @@ import SignIn from '$lib/components/SignIn.svelte'; import SignOut from '$lib/components/SignOut.svelte'; import CookieConsent from '$lib/components/CookieConsent.svelte'; + import NavLinks from '$lib/components/NavLinks.svelte'; export let data; let { supabase, session } = data; @@ -62,7 +63,7 @@
    - +