Update homepage

pull/27/head
Made Baruna 2024-01-09 20:25:34 +08:00
parent c3a4319fb1
commit deafdc3484
4 changed files with 9 additions and 9 deletions

View File

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher(); const dispatch = createEventDispatcher();
const featured = { const featured = {
kamisato_ayaka: { raiden_shogun: {
name: 'Kamisato Ayaka', name: 'Raiden Shogun',
rarity: 'legendary', rarity: 'legendary',
count: 0, count: 0,
average: '...', average: '...',
percentage: '...', percentage: '...',
}, },
navia: { yoimiya: {
name: 'Navia', name: 'Yoimiya',
rarity: 'legendary', rarity: 'legendary',
count: 0, count: 0,
average: '...', average: '...',
percentage: '...', percentage: '...',
}, },
}; };
const bannerId = 300058; const bannerId = 300059;
const image = 'navia ayaka.png'; const image = 'raiden yoimiya.png';
const width = 800; const width = 800;
const height = 576; const height = 538;
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 = ['kamisato_ayaka', 'sucrose', 'candace', 'rosaria']; const promoted = ['yoimiya', 'raiden_shogun'];
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 timelines', 'Update Navia', 'Update weapons', 'Bug fixes']; const changelog = ['Update banners', 'Update timelines', 'Update Chevreuse'];
const channel = new BroadcastChannel('paimonmoe-sw'); const channel = new BroadcastChannel('paimonmoe-sw');

Binary file not shown.

After

Width:  |  Height:  |  Size: 424 KiB