mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-10-23 17:36:30 +02:00
Update homepage
This commit is contained in:
parent
619e8f2dc2
commit
dc2bf05871
19 changed files with 24 additions and 24 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -13,25 +13,25 @@
|
||||||
const dispatch = createEventDispatcher();
|
const dispatch = createEventDispatcher();
|
||||||
|
|
||||||
const featured = {
|
const featured = {
|
||||||
raiden_shogun: {
|
chiori: {
|
||||||
name: 'Raiden Shogun',
|
name: 'Chiori',
|
||||||
rarity: 'legendary',
|
rarity: 'legendary',
|
||||||
count: 0,
|
count: 0,
|
||||||
average: '...',
|
average: '...',
|
||||||
percentage: '...',
|
percentage: '...',
|
||||||
},
|
},
|
||||||
kinich: {
|
xilonen: {
|
||||||
name: 'Kinich',
|
name: 'Xilonen',
|
||||||
rarity: 'legendary',
|
rarity: 'legendary',
|
||||||
count: 0,
|
count: 0,
|
||||||
average: '...',
|
average: '...',
|
||||||
percentage: '...',
|
percentage: '...',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
const bannerId = 300071;
|
const bannerId = 300072;
|
||||||
const image = 'raiden kinich.png';
|
const image = 'xilonen chiori.png';
|
||||||
const width = 800;
|
const width = 800;
|
||||||
const height = 394;
|
const height = 428;
|
||||||
|
|
||||||
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 = ['raiden_shogun', 'thoma', 'kujou_sara'];
|
const promoted = ['dori', 'candace', 'collei'];
|
||||||
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 characters & weapons', 'Update timeline'];
|
const changelog = ['Update banners', 'Update characters & weapons', 'Update achievements'];
|
||||||
|
|
||||||
const channel = new BroadcastChannel('paimonmoe-sw');
|
const channel = new BroadcastChannel('paimonmoe-sw');
|
||||||
|
|
||||||
|
|
BIN
static/images/home/xilonen chiori.png
Normal file
BIN
static/images/home/xilonen chiori.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 237 KiB |
Loading…
Reference in a new issue