Update homepage

This commit is contained in:
Made Baruna 2024-11-20 03:00:39 +08:00
parent 642f138097
commit 808628fe38
3 changed files with 8 additions and 8 deletions

View file

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher();
const featured = {
nahida: {
name: 'Nahida',
lyney: {
name: 'Lyney',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
hu_tao: {
name: 'Hu Tao',
chasca: {
name: 'Chasca',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300073;
const image = 'nahida hutao.png';
const bannerId = 300074;
const image = 'lyney chasca.png';
const width = 800;
const height = 346;
const height = 449;
let loading = true;
let user = '';

View file

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB