Update banner

pull/1/head
Made Baruna 2021-11-02 15:52:36 +07:00
parent d409cfee02
commit 6b718abdaf
4 changed files with 31 additions and 11 deletions

View File

@ -221,6 +221,16 @@ export const banners = {
featuredRare: ['ningguang', 'chongyun', 'yanfei'],
timezoneDependent: true,
},
{
name: 'Moment of Bloom',
image: 2,
shortName: 'Hu Tao',
start: '2021-11-02 18:00:00',
end: '2021-11-23 14:59:59',
color: '#FF7966',
featured: ['hu_tao'],
featuredRare: ['thoma', 'diona', 'sayu'],
},
],
weapons: [
{
@ -415,5 +425,15 @@ export const banners = {
featuredRare: ['akuoumaru', 'favonius_sword', 'favonius_lance', 'eye_of_perception', 'rust'],
timezoneDependent: true,
},
{
name: 'Epitome Invocation',
image: 20,
start: '2021-11-02 18:00:00',
end: '2021-11-23 14:59:59',
shortName: 'Homa',
color: '#b042f5',
featured: ['staff_of_homa', 'elegy_for_the_end'],
featuredRare: ['wavebreakers_fin', 'mouuns_moon', 'sacrificial_sword', 'rainslasher', 'the_widsith'],
},
],
};

View File

@ -28,24 +28,24 @@
<Ad class="my-4" type="desktop" variant="lb" id="1" />
<ItemNew
type="character"
banner={banners.characters[19]}
id={300020}
featured={banners.characters[19].featured}
banner={banners.characters[20]}
id={300021}
featured={banners.characters[20].featured}
/>
<div class="mt-2 mb-4">
<div class="mt-2 mb-2">
<Ad class="flex justify-center" type="mobile" variant="mpu" id="2" />
<Ad type="desktop" variant="lb" id="3" />
<Ad type="desktop" variant="lb" id="2" />
<Ad type="mobile" variant="lb" id="1" />
</div>
<ItemNew type="weapon" banner={banners.weapons[18]} id={400019} featured={banners.weapons[18].featured} />
<ItemNew type="weapon" banner={banners.weapons[19]} id={400020} featured={banners.weapons[19].featured} />
<ItemNew
type="character"
banner={banners.characters[18]}
id={300019}
featured={banners.characters[18].featured}
banner={banners.characters[19]}
id={300020}
featured={banners.characters[19].featured}
/>
<ItemNew type="weapon" banner={banners.weapons[17]} id={400018} featured={banners.weapons[17].featured} />
<ItemNew type="weapon" banner={banners.weapons[18]} id={400019} featured={banners.weapons[18].featured} />
<ItemNew type="character" banner={banners.standard[0]} id={200001} />
{#each showOld as show, i}
{#if show}
@ -53,14 +53,14 @@
this={i < showOld.length - 3 ? ItemNew : Item}
type="character"
banner={banners.characters[banners.characters.length - 3 - i]}
id={300018 - i}
id={300019 - i}
featured={banners.characters[banners.characters.length - 3 - i].featured}
/>
<svelte:component
this={i < showOld.length - 3 ? ItemNew : Item}
type="weapon"
banner={banners.weapons[banners.weapons.length - 3 - i]}
id={400017 - i}
id={400018 - i}
featured={banners.weapons[banners.weapons.length - 3 - i].featured}
/>
{:else}

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 818 KiB