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

View file

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB