Skip to content

Commit

Permalink
swap order of layers
Browse files Browse the repository at this point in the history
  • Loading branch information
mradamcox committed May 30, 2023
1 parent e992164 commit 771ca9d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -339,30 +339,30 @@
</div>
<div class="panel-content">
<div class=layer-section>
<div><button class="layer-header" on:click={() => {showSponsorList=!showSponsorList}}>Visit our sponsors! {@html showSponsorList ? '&blacktriangledown;' : '&blacktriangleright;'}</button></div>
{#if showSponsorList}
<div><button class="layer-header" on:click={() => {showStudioList=!showStudioList}}>Tour Stops {@html showStudioList ? '&blacktriangledown;' : '&blacktriangleright;'}</button></div>
{#if showStudioList}
<div class="layer-item-list">
<ul>
{#each sponsorList as s}
{#each studioList as s}
<li>
<button class="zoom-to" on:click={() => {zoomAndPopup(s, 16)}}>
{#if s.Food == 'Y'}<i class="fa fa-spoon" title="Food here"></i>{/if}
{#if s.Lodging == 'Y'}<i class="fa fa-hotel" title="Lodging here"></i>{/if}
{s.Name}</button>
<button class="zoom-to" on:click={() => {zoomAndPopup(s, 16)}}><strong>{s.Number} &ndash;</strong> {s.Name}</button>
</li>
{/each}
</ul>
</div>
{/if}
</div>
<div class=layer-section>
<div><button class="layer-header" on:click={() => {showStudioList=!showStudioList}}>Tour Stops {@html showStudioList ? '&blacktriangledown;' : '&blacktriangleright;'}</button></div>
{#if showStudioList}
<div><button class="layer-header" on:click={() => {showSponsorList=!showSponsorList}}>Visit our sponsors! {@html showSponsorList ? '&blacktriangledown;' : '&blacktriangleright;'}</button></div>
{#if showSponsorList}
<div class="layer-item-list">
<ul>
{#each studioList as s}
{#each sponsorList as s}
<li>
<button class="zoom-to" on:click={() => {zoomAndPopup(s, 16)}}><strong>{s.Number} &ndash;</strong> {s.Name}</button>
<button class="zoom-to" on:click={() => {zoomAndPopup(s, 16)}}>
{#if s.Food == 'Y'}<i class="fa fa-spoon" title="Food here"></i>{/if}
{#if s.Lodging == 'Y'}<i class="fa fa-hotel" title="Lodging here"></i>{/if}
{s.Name}</button>
</li>
{/each}
</ul>
Expand Down

0 comments on commit 771ca9d

Please sign in to comment.