Update homepage

pull/34/head
Made Baruna 2024-04-24 01:49:33 +08:00
parent baa56816b4
commit 6695447a69
5 changed files with 9 additions and 60 deletions

View File

@ -5080,55 +5080,4 @@ export const builds = {
},
},
},
lyney: {
roles: {
TBD: {
recommended: false,
weapons: [],
artifacts: [],
mainStats: {
sands: ['TBD'],
goblet: ['TBD'],
circlet: ['TBD'],
},
subStats: ['TBD'],
talent: ['TBD'],
note: 'TBD',
},
},
},
lynette: {
roles: {
TBD: {
recommended: false,
weapons: [],
artifacts: [],
mainStats: {
sands: ['TBD'],
goblet: ['TBD'],
circlet: ['TBD'],
},
subStats: ['TBD'],
talent: ['TBD'],
note: 'TBD',
},
},
},
freminet: {
roles: {
TBD: {
recommended: false,
weapons: [],
artifacts: [],
mainStats: {
sands: ['TBD'],
goblet: ['TBD'],
circlet: ['TBD'],
},
subStats: ['TBD'],
talent: ['TBD'],
note: 'TBD',
},
},
},
};

View File

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher();
const featured = {
neuvillette: {
name: 'Neuvillette',
arlecchino: {
name: 'Arlecchino',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
kaedehara_kazuha: {
name: 'Kaedehara Kazuha',
lyney: {
name: 'Lyney',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300063;
const image = 'neuvillette kazuha.png';
const bannerId = 300064;
const image = 'arlecchino lyney.png';
const width = 800;
const height = 482;
const height = 398;
let loading = true;
let user = '';

View File

@ -1,6 +1,6 @@
<script context="module">
export async function load({ fetch }) {
const promoted = ['kaedehara_kazuha', 'barbara', 'xingqiu', 'yanfei'];
const promoted = ['xiangling'];
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 timeline'];
const changelog = ['Add Arlecchino & Weapon', 'Update banners', 'Update achievements', 'Update timeline'];
const channel = new BroadcastChannel('paimonmoe-sw');

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 KiB