Merge pull request #46 from mcgill-ecsess/hide-join-council-tab
Small change to hide the join council tab since its currently not open
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
import ECSESS from 'assets/ECSESS.png';
|
import ECSESS from 'assets/ECSESS.png';
|
||||||
import { Menu } from '@lucide/svelte';
|
import { Menu } from '@lucide/svelte';
|
||||||
import { slide } from 'svelte/transition';
|
import { slide } from 'svelte/transition';
|
||||||
|
let isElectionTime = $state(false);
|
||||||
let menuHidden = $state(true);
|
let menuHidden = $state(true);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -31,7 +32,9 @@
|
|||||||
<NavButton href="/council">Meet the council</NavButton>
|
<NavButton href="/council">Meet the council</NavButton>
|
||||||
<NavButton href="/events">Events</NavButton>
|
<NavButton href="/events">Events</NavButton>
|
||||||
<NavButton href="/resources">Resources</NavButton>
|
<NavButton href="/resources">Resources</NavButton>
|
||||||
|
{#if isElectionTime}
|
||||||
<NavButton href="/join">Join ECSESS</NavButton>
|
<NavButton href="/join">Join ECSESS</NavButton>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
@@ -45,7 +48,9 @@
|
|||||||
<NavButton href="/council">Meet the council</NavButton>
|
<NavButton href="/council">Meet the council</NavButton>
|
||||||
<NavButton href="/events">Events</NavButton>
|
<NavButton href="/events">Events</NavButton>
|
||||||
<NavButton href="/resources">Resources</NavButton>
|
<NavButton href="/resources">Resources</NavButton>
|
||||||
|
{#if isElectionTime}
|
||||||
<NavButton href="/join">Join ECSESS</NavButton>
|
<NavButton href="/join">Join ECSESS</NavButton>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -16,9 +16,9 @@
|
|||||||
<p class="page-title">Want to join ECSESS Council?</p>
|
<p class="page-title">Want to join ECSESS Council?</p>
|
||||||
<p>Come back around March for application period!</p>
|
<p>Come back around March for application period!</p>
|
||||||
|
|
||||||
{#if isElectionTime}
|
<!-- {#if isElectionTime}
|
||||||
<ResourceCard title="Involvement Booklet">
|
<ResourceCard title="Involvement Booklet">
|
||||||
A guide to involvement with ECSESS and its subcommittees (The Factory, IEEE McGill, CodeJam).
|
A guide to involvement with ECSESS and its subcommittees (The Factory, IEEE McGill, CodeJam).
|
||||||
</ResourceCard>
|
</ResourceCard>
|
||||||
{:else}{/if}
|
{:else}{/if} -->
|
||||||
</Section>
|
</Section>
|
||||||
|
|||||||
Reference in New Issue
Block a user