Update homepage and wish tally

This commit is contained in:
Made Baruna 2021-10-13 08:20:14 +07:00
parent 635240eb71
commit 0b6a10de15
No known key found for this signature in database
GPG key ID: 5AA5DA16AA5DCEAD
5 changed files with 14 additions and 14 deletions

View file

@ -13,16 +13,16 @@
const dispatch = createEventDispatcher();
const featured = {
sangonomiya_kokomi: {
name: 'Sangonomiya Kokomi',
tartaglia: {
name: 'Tartaglia',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300019;
const image = 'kokomi.png';
const bannerId = 300020;
const image = 'tartaglia.png';
let loading = true;
let user = '';
@ -72,7 +72,7 @@
<div
class="flex flex-col pt-2"
style="background: linear-gradient(270deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 17%, rgba(0,0,0,0.75) 70%, rgba(0,0,0,0) 100%);
{i === 0 ? 'margin-right: 5%;' : ''}"
{i === 0 ? 'margin-right: 0%;' : ''}"
>
<h3 class="text-3xl mr-4 font-black leading-6 text-right">
{#if loading}

View file

@ -28,24 +28,24 @@
<Ad class="my-4" type="desktop" variant="lb" id="1" />
<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}
/>
<div class="my-4">
<div class="mt-2 mb-4">
<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[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.characters[17]}
id={300018}
featured={banners.characters[17].featured}
banner={banners.characters[18]}
id={300019}
featured={banners.characters[18].featured}
/>
<ItemNew type="weapon" banner={banners.weapons[16]} id={400017} featured={banners.weapons[16].featured} />
<ItemNew type="weapon" banner={banners.weapons[17]} id={400018} featured={banners.weapons[17].featured} />
<ItemNew type="character" banner={banners.standard[0]} id={200001} />
{#each showOld as show, i}
{#if show}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 KiB