Update home
parent
706a7b7d29
commit
15f445e0da
|
@ -13,25 +13,25 @@
|
||||||
const dispatch = createEventDispatcher();
|
const dispatch = createEventDispatcher();
|
||||||
|
|
||||||
const featured = {
|
const featured = {
|
||||||
baizhu: {
|
clorinde: {
|
||||||
name: 'Baizhu',
|
name: 'Clorinde',
|
||||||
rarity: 'legendary',
|
rarity: 'legendary',
|
||||||
count: 0,
|
count: 0,
|
||||||
average: '...',
|
average: '...',
|
||||||
percentage: '...',
|
percentage: '...',
|
||||||
},
|
},
|
||||||
wanderer: {
|
alhaitham: {
|
||||||
name: 'Wanderer',
|
name: 'Alhaitham',
|
||||||
rarity: 'legendary',
|
rarity: 'legendary',
|
||||||
count: 0,
|
count: 0,
|
||||||
average: '...',
|
average: '...',
|
||||||
percentage: '...',
|
percentage: '...',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
const bannerId = 300065;
|
const bannerId = 300066;
|
||||||
const image = 'baizhu wanderer.png';
|
const image = 'clorinde alhaitham.png';
|
||||||
const width = 800;
|
const width = 800;
|
||||||
const height = 403;
|
const height = 371;
|
||||||
|
|
||||||
let loading = true;
|
let loading = true;
|
||||||
let user = '';
|
let user = '';
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
'4.4',
|
'4.4',
|
||||||
'4.5',
|
'4.5',
|
||||||
'4.6',
|
'4.6',
|
||||||
|
'4.7',
|
||||||
].reduce((acc, version) => {
|
].reduce((acc, version) => {
|
||||||
const parent = version.split('.')[0];
|
const parent = version.split('.')[0];
|
||||||
if (!acc[parent]) acc[parent] = [];
|
if (!acc[parent]) acc[parent] = [];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<script context="module">
|
<script context="module">
|
||||||
export async function load({ fetch }) {
|
export async function load({ fetch }) {
|
||||||
const promoted = ['wanderer', 'beidou', 'faruzan', 'layla'];
|
const promoted = ['alhaitham', 'bennett', 'thoma'];
|
||||||
const builds = {};
|
const builds = {};
|
||||||
for (const p of promoted) {
|
for (const p of promoted) {
|
||||||
const response = await fetch(`/characters/build/${p}.json`);
|
const response = await fetch(`/characters/build/${p}.json`);
|
||||||
|
|
|
@ -7,7 +7,7 @@ const IMAGE_CACHE = `cacheimg${IMAGE_CACHE_VER}`;
|
||||||
|
|
||||||
const IMAGE_URL = `${self.location.origin}/images/`;
|
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');
|
const channel = new BroadcastChannel('paimonmoe-sw');
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 239 KiB |
Loading…
Reference in New Issue