Update homepage

pull/1/head
Made Baruna 2022-01-05 09:39:18 +07:00
parent d902ef97ed
commit ed2da8907d
4 changed files with 9 additions and 7 deletions

View File

@ -13,23 +13,23 @@
const dispatch = createEventDispatcher(); const dispatch = createEventDispatcher();
const featured = { const featured = {
arataki_itto: { xiao: {
name: 'Itto', name: 'Xiao',
rarity: 'legendary', rarity: 'legendary',
count: 0, count: 0,
average: '...', average: '...',
percentage: '...', percentage: '...',
}, },
gorou: { shenhe: {
name: 'Gorou', name: 'Shenhe',
rarity: 'legendary', rarity: 'legendary',
count: 0, count: 0,
average: '...', average: '...',
percentage: '...', percentage: '...',
}, },
}; };
const bannerId = 300023; const bannerId = 300024;
const image = 'ittogorou.png'; const image = 'shenhexiao.png';
let loading = true; let loading = true;
let user = ''; let user = '';

View File

@ -9,7 +9,7 @@
const dispatch = createEventDispatcher(); const dispatch = createEventDispatcher();
const promoted = ['arataki_itto', 'gorou']; const promoted = ['xiao'];
let current = 0; let current = 0;
async function change(index) { async function change(index) {

View File

@ -115,6 +115,8 @@
if (res.status === 400) { if (res.status === 400) {
error = 'Not available yet'; error = 'Not available yet';
loading = false;
return;
} }
const data = await res.json(); const data = await res.json();

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB