Update homepage

main
Made Baruna 2024-10-09 12:33:11 +08:00
parent 619e8f2dc2
commit dc2bf05871
19 changed files with 24 additions and 24 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher(); const dispatch = createEventDispatcher();
const featured = { const featured = {
raiden_shogun: { chiori: {
name: 'Raiden Shogun', name: 'Chiori',
rarity: 'legendary', rarity: 'legendary',
count: 0, count: 0,
average: '...', average: '...',
percentage: '...', percentage: '...',
}, },
kinich: { xilonen: {
name: 'Kinich', name: 'Xilonen',
rarity: 'legendary', rarity: 'legendary',
count: 0, count: 0,
average: '...', average: '...',
percentage: '...', percentage: '...',
}, },
}; };
const bannerId = 300071; const bannerId = 300072;
const image = 'raiden kinich.png'; const image = 'xilonen chiori.png';
const width = 800; const width = 800;
const height = 394; const height = 428;
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 = ['raiden_shogun', 'thoma', 'kujou_sara']; const promoted = ['dori', 'candace', 'collei'];
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`);

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 KiB