wrap extra sections in container component
This commit is contained in:
parent
45fc9237ad
commit
f325836bf6
1 changed files with 10 additions and 5 deletions
|
|
@ -23,6 +23,7 @@
|
||||||
}: Props = $props()
|
}: Props = $props()
|
||||||
|
|
||||||
import WeaponUnit from '$lib/components/units/WeaponUnit.svelte'
|
import WeaponUnit from '$lib/components/units/WeaponUnit.svelte'
|
||||||
|
import ExtraContainer from '$lib/components/extra/ExtraContainer.svelte'
|
||||||
import ExtraWeapons from '$lib/components/extra/ExtraWeaponsGrid.svelte'
|
import ExtraWeapons from '$lib/components/extra/ExtraWeaponsGrid.svelte'
|
||||||
import Guidebooks from '$lib/components/extra/GuidebooksGrid.svelte'
|
import Guidebooks from '$lib/components/extra/GuidebooksGrid.svelte'
|
||||||
|
|
||||||
|
|
@ -81,11 +82,15 @@
|
||||||
{/each}
|
{/each}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{#if raidExtra}
|
{#if raidExtra || showGuidebooks}
|
||||||
<ExtraWeapons {weapons} offset={9} />
|
<ExtraContainer>
|
||||||
{/if}
|
{#if raidExtra}
|
||||||
{#if showGuidebooks}
|
<ExtraWeapons {weapons} offset={9} />
|
||||||
<Guidebooks {guidebooks} />
|
{/if}
|
||||||
|
{#if showGuidebooks}
|
||||||
|
<Guidebooks {guidebooks} />
|
||||||
|
{/if}
|
||||||
|
</ExtraContainer>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue