Update homepage
parent
7d6b4a901b
commit
142f6c5d7e
|
@ -14,24 +14,24 @@
|
||||||
|
|
||||||
const featured = {
|
const featured = {
|
||||||
yoimiya: {
|
yoimiya: {
|
||||||
name: 'Yoimiya',
|
name: 'Alhaitham',
|
||||||
rarity: 'legendary',
|
rarity: 'legendary',
|
||||||
count: 0,
|
count: 0,
|
||||||
average: '...',
|
average: '...',
|
||||||
percentage: '...',
|
percentage: '...',
|
||||||
},
|
},
|
||||||
yae_miko: {
|
yae_miko: {
|
||||||
name: 'Yae Miko',
|
name: 'Kaedehara Kazuha',
|
||||||
rarity: 'legendary',
|
rarity: 'legendary',
|
||||||
count: 0,
|
count: 0,
|
||||||
average: '...',
|
average: '...',
|
||||||
percentage: '...',
|
percentage: '...',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
const bannerId = 300048;
|
const bannerId = 300049;
|
||||||
const image = 'yoimiya-yae.png';
|
const image = 'kazuha_alhaitham.png';
|
||||||
const width = 800;
|
const width = 800;
|
||||||
const height = 539;
|
const height = 453;
|
||||||
|
|
||||||
let loading = true;
|
let loading = true;
|
||||||
let user = '';
|
let user = '';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<script context="module">
|
<script context="module">
|
||||||
export async function load({ fetch }) {
|
export async function load({ fetch }) {
|
||||||
const promoted = ['yoimiya', 'yae_miko'];
|
const promoted = ['alhaitham', 'kaedehara_kazuha'];
|
||||||
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 = ['Udpate character builds', 'Update timeline'];
|
const changelog = ['Update banners', 'Update timeline'];
|
||||||
|
|
||||||
const channel = new BroadcastChannel('paimonmoe-sw');
|
const channel = new BroadcastChannel('paimonmoe-sw');
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 246 KiB |
Loading…
Reference in New Issue