Update homepage

This commit is contained in:
Made Baruna 2024-10-29 22:33:25 +08:00
parent 92d9972bd7
commit e23dddf678
4 changed files with 9 additions and 9 deletions

View file

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher();
const featured = {
chiori: {
name: 'Chiori',
nahida: {
name: 'Nahida',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
xilonen: {
name: 'Xilonen',
hutao: {
name: 'Hutao',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300072;
const image = 'xilonen chiori.png';
const bannerId = 300073;
const image = 'nahida hutao.png';
const width = 800;
const height = 428;
const height = 346;
let loading = true;
let user = '';

View file

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

View file

@ -7,7 +7,7 @@ const IMAGE_CACHE = `cacheimg${IMAGE_CACHE_VER}`;
const IMAGE_URL = `${self.location.origin}/images/`;
const changelog = ['Update banners', 'Update characters & weapons', 'Update achievements'];
const changelog = ['Update banners', 'Update timeline', 'Revamp Database > Character Reruns'];
const channel = new BroadcastChannel('paimonmoe-sw');

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB