Update homepage

This commit is contained in:
Made Baruna 2023-12-20 11:29:11 +08:00
parent b4717ea413
commit 37cc7435f2
3 changed files with 8 additions and 8 deletions

View file

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher();
const featured = {
kamisato_ayato: {
name: 'Kamisato Ayato',
kamisato_ayaka: {
name: 'Kamisato Ayaka',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
cyno: {
name: 'Cyno',
navia: {
name: 'Navia',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300057;
const image = 'ayato cyno.png';
const bannerId = 300058;
const image = 'navia ayaka.png';
const width = 800;
const height = 467;
const height = 576;
let loading = true;
let user = '';

View file

@ -1,6 +1,6 @@
<script context="module">
export async function load({ fetch }) {
const promoted = ['cyno', 'kamisato_ayato'];
const promoted = ['kamisato_ayaka', 'sucrose', 'candace', 'rosaria'];
const builds = {};
for (const p of promoted) {
const response = await fetch(`/characters/build/${p}.json`);

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 KiB