Update homepage

This commit is contained in:
Made Baruna 2024-03-13 10:35:01 +08:00
parent 12e1925d3a
commit e3527e67c8
5 changed files with 10 additions and 9 deletions

View file

@ -47,6 +47,7 @@ export const birthdays = {
yanfei: [7, 28],
amber: [8, 10],
navia: [8, 16],
chiori: [8, 17],
ningguang: [8, 26],
mona: [8, 31],
chongyun: [9, 7],

View file

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher();
const featured = {
yae_miko: {
name: 'Yae Miko',
arataki_itto: {
name: 'Arataki Itto',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
xiao: {
name: 'Xiao',
chiori: {
name: 'Chiori',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300061;
const image = 'yae xiao.png';
const bannerId = 300062;
const image = 'itto chiori.png';
const width = 800;
const height = 380;
const height = 394;
let loading = true;
let user = '';

View file

@ -1,6 +1,6 @@
<script context="module">
export async function load({ fetch }) {
const promoted = ['xiao', 'yae_miko'];
const promoted = ['arataki_itto', 'yun_jin', 'gorou', 'dori'];
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'];
const changelog = ['Add Chiori & weapons', 'Update banners', 'Update timelines', 'Update achievements'];
const channel = new BroadcastChannel('paimonmoe-sw');

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 KiB