|
43 | 43 | <RadioItem bind:group={stratName} name="stratName" value={'raidplan'}>Raidplan (Aurelia/wfJ/o1Z)</RadioItem>
|
44 | 44 | <RadioItem bind:group={stratName} name="stratName" value={'codcar'}>CODCAR</RadioItem>
|
45 | 45 | <RadioItem bind:group={stratName} name="stratName" value={'healerout'}>HealerOut</RadioItem>
|
| 46 | + <RadioItem bind:group={stratName} name="stratName" value={'idyll'}>Idyll/game8</RadioItem> |
46 | 47 | </RadioGroup>
|
47 | 48 | </div>
|
48 | 49 | <div>
|
|
78 | 79 | <img style:max-height={'400px'} src={'./strats/codcar/overall.png'} />
|
79 | 80 | {:else if stratPackage?.stratName === 'healerout'}
|
80 | 81 | <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'} /> |
81 | 84 | {/if}
|
82 | 85 | </div>
|
83 | 86 | </div>
|
|
91 | 94 | {:else}
|
92 | 95 | <div class="flex flex-wrap items-center gap-2">
|
93 | 96 | <div class="content-center">
|
94 |
| - {#if stratPackage?.stratUrl} |
| 97 | + {#if typeof stratPackage?.stratUrl === 'string'} |
95 | 98 | <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}
|
96 | 99 | <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">
|
97 | 100 | <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 5h12m0 0L9 1m4 4L9 9"/>
|
98 | 101 | </svg>
|
99 | 102 | </a>
|
| 103 | + {:else if typeof stratPackage?.stratUrl === 'object'} |
| 104 | + {stratPackage.description} |
| 105 | + {#each Object.entries(stratPackage.stratUrl) as [linkName, linkUrl]} |
| 106 | + |
| 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} |
100 | 113 | {/if}
|
101 | 114 | </div>
|
102 | 115 | <div class="grow"></div>
|
|
0 commit comments