mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2025-03-14 19:48:59 +01:00
Update homepage
This commit is contained in:
parent
25e675b82a
commit
a9f1fd1ecb
4 changed files with 9 additions and 9 deletions
|
@ -13,25 +13,25 @@
|
|||
const dispatch = createEventDispatcher();
|
||||
|
||||
const featured = {
|
||||
baizhu: {
|
||||
name: 'Baizhu',
|
||||
kamisato_ayato: {
|
||||
name: 'Kamisato Ayato',
|
||||
rarity: 'legendary',
|
||||
count: 0,
|
||||
average: '...',
|
||||
percentage: '...',
|
||||
},
|
||||
furina: {
|
||||
name: 'Furina',
|
||||
cyno: {
|
||||
name: 'Cyno',
|
||||
rarity: 'legendary',
|
||||
count: 0,
|
||||
average: '...',
|
||||
percentage: '...',
|
||||
},
|
||||
};
|
||||
const bannerId = 300056;
|
||||
const image = 'baizhu furina.png';
|
||||
const bannerId = 300057;
|
||||
const image = 'ayato cyno.png';
|
||||
const width = 800;
|
||||
const height = 490;
|
||||
const height = 467;
|
||||
|
||||
let loading = true;
|
||||
let user = '';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script context="module">
|
||||
export async function load({ fetch }) {
|
||||
const promoted = ['baizhu', 'collei', 'beidou'];
|
||||
const promoted = ['cyno', 'kamisato_ayato'];
|
||||
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', 'Update weapons', 'Update timelines'];
|
||||
const changelog = ['Update banners', 'Update timelines'];
|
||||
|
||||
const channel = new BroadcastChannel('paimonmoe-sw');
|
||||
|
||||
|
|
BIN
static/images/home/ayato cyno.png
Normal file
BIN
static/images/home/ayato cyno.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 336 KiB |
Loading…
Add table
Reference in a new issue