Update home

pull/37/head
Made Baruna 2024-06-05 14:34:22 +08:00
parent 706a7b7d29
commit 15f445e0da
5 changed files with 10 additions and 9 deletions

View File

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher();
const featured = {
baizhu: {
name: 'Baizhu',
clorinde: {
name: 'Clorinde',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
wanderer: {
name: 'Wanderer',
alhaitham: {
name: 'Alhaitham',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300065;
const image = 'baizhu wanderer.png';
const bannerId = 300066;
const image = 'clorinde alhaitham.png';
const width = 800;
const height = 403;
const height = 371;
let loading = true;
let user = '';

View File

@ -46,6 +46,7 @@
'4.4',
'4.5',
'4.6',
'4.7',
].reduce((acc, version) => {
const parent = version.split('.')[0];
if (!acc[parent]) acc[parent] = [];

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 KiB