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 featured = {
arataki_itto: {
name: 'Itto',
xiao: {
name: 'Xiao',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
gorou: {
name: 'Gorou',
shenhe: {
name: 'Shenhe',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300023;
const image = 'ittogorou.png';
const bannerId = 300024;
const image = 'shenhexiao.png';
let loading = true;
let user = '';

View File

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

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB