Update homepage

This commit is contained in:
Made Baruna 2024-07-17 15:27:51 +08:00
parent e7da0a5bb7
commit a647610d6f
4 changed files with 9 additions and 9 deletions

View file

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher();
const featured = {
sigewinne: {
name: 'Sigewinne',
navia: {
name: 'Navia',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
furina: {
name: 'Furina',
nilou: {
name: 'Nilou',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300067;
const image = 'sigewinne furina.png';
const bannerId = 300068;
const image = 'nilou_navia.png';
const width = 800;
const height = 566;
const height = 405;
let loading = true;
let user = '';

View file

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 KiB