Skip to content

Commit

Permalink
Initial commit (#46)
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Pierce-Wrobel <[email protected]>
  • Loading branch information
whalenda and scottpiercew authored Apr 25, 2024
1 parent f3a7483 commit 03aad7b
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 20 deletions.
33 changes: 19 additions & 14 deletions src/components/static/Navigation.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -165,22 +165,27 @@
</div>
{#each dropdownLinks as dropdown}
<div class="pt-4 mx-8">
<a
class="flex justify-between font-bold hover:text-mcswf-gold"
href={dropdown.url}
role="button"
on:click={() => toggleDropdown(dropdown.text)}
on:keydown={(event) => {
if (event.key === 'Enter' || event.key === ' ') {
toggleDropdown(dropdown.text)
}
}}>
<span class="menu-item">{dropdown.text}</span>
<div class="flex justify-between">
<a
class="flex font-bold hover:text-mcswf-gold"
href={dropdown.url}
role="button"
>
<span class="menu-item">{dropdown.text}</span>
</a>
{#if dropdown.subLinks.length > 0}
<span class="text-xl text-right"
>{dropdowns[dropdown.text] ? '-' : '+'}</span>
<span
on:click={() => toggleDropdown(dropdown.text)}
on:keydown={(event) => {
if (event.key === 'Enter' || event.key === ' ') {
toggleDropdown(dropdown.text)
}
}}
class="text-xl text-right">
{dropdowns[dropdown.text] ? '-' : '+'}
</span>
{/if}
</a>
</div>
<div class={dropdowns[dropdown.text] ? 'submenu' : 'hidden'}>
{#each dropdown.subLinks as subLinks}
<div
Expand Down
3 changes: 2 additions & 1 deletion src/pages/about.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ const metrics = await getCollection('aboutMetrics')

<Layout title="About">
<div
class="absolute left-0 z-10 flex justify-center w-full align-middle top-24 h-5/6">
class="fixed left-0 z-10 flex justify-center w-full align-middle top-24 h-5/6"
>
<img src="/ega.svg" />
</div>
<div
Expand Down
2 changes: 1 addition & 1 deletion src/pages/career.astro
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ displaySiteBanner.set(false)

<Layout title="Roles">
<div
class="absolute left-0 z-10 flex justify-center w-full align-middle top-24 h-5/6"
class="fixed left-0 z-10 flex justify-center w-full align-middle top-24 h-5/6"
>
<img src="/ega.svg" />
</div>
Expand Down
3 changes: 2 additions & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ products.sort((a, b) => a.data.order - b.data.order)

<Layout title="">
<div
class="absolute left-0 z-10 flex justify-center w-full align-middle top-24 h-5/6">
class="fixed left-0 z-10 flex justify-center w-full align-middle top-24 h-5/6"
>
<img src="/ega.svg" />
</div>
<div
Expand Down
3 changes: 2 additions & 1 deletion src/pages/products/[...product].astro
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const bgString = 'background-image:url(' + entry.data.background.src + ')'

<Layout title={entry.data.product}>
<div
class="absolute left-0 z-10 flex justify-center w-full align-middle top-24 h-5/6">
class="fixed left-0 z-10 flex justify-center w-full align-middle top-24 h-5/6"
>
<img src="/ega.svg" />
</div>

Expand Down
3 changes: 2 additions & 1 deletion src/pages/roles/[...role].astro
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ const entries = await getCollection('cohorts')

<Layout title={frontmatter.role}>
<div
class="absolute left-0 z-10 flex justify-center w-full align-middle top-24 h-5/6">
class="fixed left-0 z-10 flex justify-center w-full align-middle top-24 h-5/6"
>
<img src="/ega.svg" />
</div>
<div class="max-h-screen font-expressway red-radial-gradient scrollbar-hide">
Expand Down
3 changes: 2 additions & 1 deletion src/pages/roles/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ const { frontmatter, compiledContent } = Astro.props

<Layout title="Roles">
<div
class="absolute left-0 z-10 flex justify-center w-full align-middle top-24 h-5/6">
class="fixed left-0 z-10 flex justify-center w-full align-middle top-24 h-5/6"
>
<img src="/ega.svg" />
</div>
<div
Expand Down

0 comments on commit 03aad7b

Please sign in to comment.