Update homepage

pull/4/head
Made Baruna 2023-02-28 00:01:13 +08:00
parent 77c85c383a
commit a79dd43bba
3 changed files with 8 additions and 8 deletions

View File

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher();
const featured = {
xiao: {
name: 'Xiao',
hu_tao: {
name: 'Hu Tao',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
alhaitham: {
name: 'Alhaitham',
yelan: {
name: 'Yelan',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300042;
const image = 'xiao_alhaitham.png';
const bannerId = 300043;
const image = 'hutao_yelan.png';
const width = 800;
const height = 500;
const height = 433;
let loading = true;
let user = '';

View File

@ -1,6 +1,6 @@
<script context="module">
export async function load({ fetch }) {
const promoted = ['xinyan', 'yun_jin'];
const promoted = ['beidou', 'ningguang', 'xingqiu'];
const builds = {};
for (const p of promoted) {
const response = await fetch(`/characters/build/${p}.json`);

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 KiB