Update homepage

pull/38/head
Made Baruna 2024-06-26 06:44:12 +08:00
parent c94fbfa48b
commit d9454aafef
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 = {
clorinde: { sigewinne: {
name: 'Clorinde', name: 'Sigewinne',
rarity: 'legendary', rarity: 'legendary',
count: 0, count: 0,
average: '...', average: '...',
percentage: '...', percentage: '...',
}, },
alhaitham: { furina: {
name: 'Alhaitham', name: 'Furina',
rarity: 'legendary', rarity: 'legendary',
count: 0, count: 0,
average: '...', average: '...',
percentage: '...', percentage: '...',
}, },
}; };
const bannerId = 300066; const bannerId = 300067;
const image = 'clorinde alhaitham.png'; const image = 'sigewinne furina.png';
const width = 800; const width = 800;
const height = 371; const height = 566;
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 = ['alhaitham', 'bennett', 'thoma']; const promoted = ['noelle', 'rosaria'];
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 achievements', 'Update timeline']; const changelog = ['Update character', 'Update banners', 'Update timeline'];
const channel = new BroadcastChannel('paimonmoe-sw'); const channel = new BroadcastChannel('paimonmoe-sw');

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 KiB