Update homepage

This commit is contained in:
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 featured = {
clorinde: {
name: 'Clorinde',
sigewinne: {
name: 'Sigewinne',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
alhaitham: {
name: 'Alhaitham',
furina: {
name: 'Furina',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300066;
const image = 'clorinde alhaitham.png';
const bannerId = 300067;
const image = 'sigewinne furina.png';
const width = 800;
const height = 371;
const height = 566;
let loading = true;
let user = '';

View file

@ -1,6 +1,6 @@
<script context="module">
export async function load({ fetch }) {
const promoted = ['alhaitham', 'bennett', 'thoma'];
const promoted = ['noelle', 'rosaria'];
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 achievements', 'Update timeline'];
const changelog = ['Update character', 'Update banners', 'Update timeline'];
const channel = new BroadcastChannel('paimonmoe-sw');

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 KiB