mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-11-21 14:37:22 +01:00
Update homepage
This commit is contained in:
parent
642f138097
commit
808628fe38
3 changed files with 8 additions and 8 deletions
|
@ -13,25 +13,25 @@
|
||||||
const dispatch = createEventDispatcher();
|
const dispatch = createEventDispatcher();
|
||||||
|
|
||||||
const featured = {
|
const featured = {
|
||||||
nahida: {
|
lyney: {
|
||||||
name: 'Nahida',
|
name: 'Lyney',
|
||||||
rarity: 'legendary',
|
rarity: 'legendary',
|
||||||
count: 0,
|
count: 0,
|
||||||
average: '...',
|
average: '...',
|
||||||
percentage: '...',
|
percentage: '...',
|
||||||
},
|
},
|
||||||
hu_tao: {
|
chasca: {
|
||||||
name: 'Hu Tao',
|
name: 'Chasca',
|
||||||
rarity: 'legendary',
|
rarity: 'legendary',
|
||||||
count: 0,
|
count: 0,
|
||||||
average: '...',
|
average: '...',
|
||||||
percentage: '...',
|
percentage: '...',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
const bannerId = 300073;
|
const bannerId = 300074;
|
||||||
const image = 'nahida hutao.png';
|
const image = 'lyney chasca.png';
|
||||||
const width = 800;
|
const width = 800;
|
||||||
const height = 346;
|
const height = 449;
|
||||||
|
|
||||||
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 = ['nahida', 'hu_tao', 'xingqiu', 'kuki_shinobu'];
|
const promoted = ['sucrose', 'barbara'];
|
||||||
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`);
|
||||||
|
|
BIN
static/images/home/lyney chasca.png
Normal file
BIN
static/images/home/lyney chasca.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 209 KiB |
Loading…
Reference in a new issue