Update homepage

This commit is contained in:
Made Baruna 2023-11-28 17:36:51 +08:00
parent 25e675b82a
commit a9f1fd1ecb
4 changed files with 9 additions and 9 deletions

View file

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher();
const featured = {
baizhu: {
name: 'Baizhu',
kamisato_ayato: {
name: 'Kamisato Ayato',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
furina: {
name: 'Furina',
cyno: {
name: 'Cyno',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300056;
const image = 'baizhu furina.png';
const bannerId = 300057;
const image = 'ayato cyno.png';
const width = 800;
const height = 490;
const height = 467;
let loading = true;
let user = '';

View file

@ -1,6 +1,6 @@
<script context="module">
export async function load({ fetch }) {
const promoted = ['baizhu', 'collei', 'beidou'];
const promoted = ['cyno', 'kamisato_ayato'];
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 characters', 'Update weapons', 'Update timelines'];
const changelog = ['Update banners', 'Update timelines'];
const channel = new BroadcastChannel('paimonmoe-sw');

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 KiB