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()
|
||||
|
||||
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 Guidebooks from '$lib/components/extra/GuidebooksGrid.svelte'
|
||||
|
||||
|
|
@ -81,11 +82,15 @@
|
|||
{/each}
|
||||
</ul>
|
||||
</div>
|
||||
{#if raidExtra}
|
||||
<ExtraWeapons {weapons} offset={9} />
|
||||
{/if}
|
||||
{#if showGuidebooks}
|
||||
<Guidebooks {guidebooks} />
|
||||
{#if raidExtra || showGuidebooks}
|
||||
<ExtraContainer>
|
||||
{#if raidExtra}
|
||||
<ExtraWeapons {weapons} offset={9} />
|
||||
{/if}
|
||||
{#if showGuidebooks}
|
||||
<Guidebooks {guidebooks} />
|
||||
{/if}
|
||||
</ExtraContainer>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue