From 001f558a128ceccc8775e8f6f62da95eaf87beae Mon Sep 17 00:00:00 2001 From: zzzmlssqnzzz Date: Thu, 11 Sep 2025 10:59:22 -0400 Subject: [PATCH] small change to hide the join council tab since its currently not open --- src/components/NavBar.svelte | 7 ++++++- src/routes/join/+page.svelte | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/NavBar.svelte b/src/components/NavBar.svelte index 8e0ee44..752f015 100644 --- a/src/components/NavBar.svelte +++ b/src/components/NavBar.svelte @@ -4,6 +4,7 @@ import ECSESS from 'assets/ECSESS.png'; import { Menu } from '@lucide/svelte'; import { slide } from 'svelte/transition'; + let isElectionTime = $state(false); let menuHidden = $state(true); @@ -31,7 +32,9 @@ Meet the council Events Resources + {#if isElectionTime} Join ECSESS + {/if} {/if} @@ -45,7 +48,9 @@ Meet the council Events Resources - Join ECSESS + {#if isElectionTime} + Join ECSESS + {/if} diff --git a/src/routes/join/+page.svelte b/src/routes/join/+page.svelte index 69b0002..61965cd 100644 --- a/src/routes/join/+page.svelte +++ b/src/routes/join/+page.svelte @@ -16,9 +16,9 @@

Want to join ECSESS Council?

Come back around March for application period!

- {#if isElectionTime} +