mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-11-21 22:46:29 +01:00
Update homepage
This commit is contained in:
parent
92d9972bd7
commit
e23dddf678
4 changed files with 9 additions and 9 deletions
|
@ -13,25 +13,25 @@
|
|||
const dispatch = createEventDispatcher();
|
||||
|
||||
const featured = {
|
||||
chiori: {
|
||||
name: 'Chiori',
|
||||
nahida: {
|
||||
name: 'Nahida',
|
||||
rarity: 'legendary',
|
||||
count: 0,
|
||||
average: '...',
|
||||
percentage: '...',
|
||||
},
|
||||
xilonen: {
|
||||
name: 'Xilonen',
|
||||
hutao: {
|
||||
name: 'Hutao',
|
||||
rarity: 'legendary',
|
||||
count: 0,
|
||||
average: '...',
|
||||
percentage: '...',
|
||||
},
|
||||
};
|
||||
const bannerId = 300072;
|
||||
const image = 'xilonen chiori.png';
|
||||
const bannerId = 300073;
|
||||
const image = 'nahida hutao.png';
|
||||
const width = 800;
|
||||
const height = 428;
|
||||
const height = 346;
|
||||
|
||||
let loading = true;
|
||||
let user = '';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script context="module">
|
||||
export async function load({ fetch }) {
|
||||
const promoted = ['dori', 'candace', 'collei'];
|
||||
const promoted = ['nahida', 'hu_tao', 'xingqiu', 'kuki_shinobu'];
|
||||
const builds = {};
|
||||
for (const p of promoted) {
|
||||
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 changelog = ['Update banners', 'Update characters & weapons', 'Update achievements'];
|
||||
const changelog = ['Update banners', 'Update timeline', 'Revamp Database > Character Reruns'];
|
||||
|
||||
const channel = new BroadcastChannel('paimonmoe-sw');
|
||||
|
||||
|
|
BIN
static/images/home/nahida hutao.png
Normal file
BIN
static/images/home/nahida hutao.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 169 KiB |
Loading…
Reference in a new issue