Update homepage
parent
d902ef97ed
commit
ed2da8907d
|
@ -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 = '';
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
const promoted = ['arataki_itto', 'gorou'];
|
||||
const promoted = ['xiao'];
|
||||
let current = 0;
|
||||
|
||||
async function change(index) {
|
||||
|
|
|
@ -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 |
Loading…
Reference in New Issue