Skip to content

Commit 52528eb

Browse files
authored
Merge pull request #7 from Soreepeong/feature/idyll
Add Idyll/game8 strat
2 parents 82edf7a + 7d76cef commit 52528eb

29 files changed

+1702
-5
lines changed

wtfdig/src/routes/+layout.svelte

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
type: 'alert',
1717
title: 'Changelog',
1818
body:
19-
`1/10/2025: added more comprehensive post-swap spots to raidplan
19+
`1/19/2025: added idyll/game8 strat - added by kizer
20+
1/10/2025: added more comprehensive post-swap spots to raidplan
2021
1/9/2025: switched melee spread spots for raidplan A+C, fixed text wrapping at high zoom
2122
1/7/2025: added HealerOut to the strat selector - added by Jake Hale @ Louisoux
2223
1/5/2025: fixed raidplan spread spots to match where people end up after tether breaks, added pair partners + cleaned up phrasing

wtfdig/src/routes/+page.svelte

+14-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
<RadioItem bind:group={stratName} name="stratName" value={'raidplan'}>Raidplan (Aurelia/wfJ/o1Z)</RadioItem>
4444
<RadioItem bind:group={stratName} name="stratName" value={'codcar'}>CODCAR</RadioItem>
4545
<RadioItem bind:group={stratName} name="stratName" value={'healerout'}>HealerOut</RadioItem>
46+
<RadioItem bind:group={stratName} name="stratName" value={'idyll'}>Idyll/game8</RadioItem>
4647
</RadioGroup>
4748
</div>
4849
<div>
@@ -78,6 +79,8 @@
7879
<img style:max-height={'400px'} src={'./strats/codcar/overall.png'} />
7980
{:else if stratPackage?.stratName === 'healerout'}
8081
<img style:max-height={'400px'} src={'./strats/healerout/overall.png'} />
82+
{:else if stratPackage?.stratName === 'idyll'}
83+
<img style:max-height={'400px'} src={'./strats/idyll/overall.png'} />
8184
{/if}
8285
</div>
8386
</div>
@@ -91,12 +94,22 @@
9194
{:else}
9295
<div class="flex flex-wrap items-center gap-2">
9396
<div class="content-center">
94-
{#if stratPackage?.stratUrl}
97+
{#if typeof stratPackage?.stratUrl === 'string'}
9598
<a class="inline-flex items-center font-medium text-blue-600 dark:text-blue-500 hover:underline" target="_blank" rel="noopener noreferrer" href={stratPackage.stratUrl}>{stratPackage.description}
9699
<svg class="w-4 h-4 ms-2 rtl:rotate-180" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 10">
97100
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 5h12m0 0L9 1m4 4L9 9"/>
98101
</svg>
99102
</a>
103+
{:else if typeof stratPackage?.stratUrl === 'object'}
104+
{stratPackage.description}
105+
{#each Object.entries(stratPackage.stratUrl) as [linkName, linkUrl]}
106+
&nbsp;
107+
<a class="inline-flex items-center font-medium text-blue-600 dark:text-blue-500 hover:underline" target="_blank" rel="noopener noreferrer" href={linkUrl}>{linkName}
108+
<svg class="w-4 h-4 ms-2 rtl:rotate-180" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 10">
109+
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 5h12m0 0L9 1m4 4L9 9"/>
110+
</svg>
111+
</a>
112+
{/each}
100113
{/if}
101114
</div>
102115
<div class="grow"></div>

wtfdig/src/routes/+page.ts

+1,686-3
Large diffs are not rendered by default.
45.6 KB
Loading
Loading
Loading
Loading
Loading
Loading
63.1 KB
Loading
50.1 KB
Loading

wtfdig/static/strats/idyll/chaser.png

55.3 KB
Loading
49.6 KB
Loading
Loading
Loading
Loading
109 KB
Loading
Loading
Loading

wtfdig/static/strats/idyll/spinny.png

190 KB
Loading

wtfdig/static/strats/idyll/spread.png

35.5 KB
Loading
Loading
Loading
26.2 KB
Loading
47.3 KB
Loading
21.5 KB
Loading
34.7 KB
Loading
Loading
48.7 KB
Loading

0 commit comments

Comments
 (0)