Update homepage

pull/1/head
Made Baruna 2022-11-02 02:39:17 +07:00
parent c037864aac
commit f2d2788213
4 changed files with 10 additions and 8 deletions

View File

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher();
const featured = {
nilou: {
name: 'Nilou',
yoimiya: {
name: 'Yoimiya',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
albedo: {
name: 'Albedo',
nahida: {
name: 'Nahida',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300037;
const image = 'nilou_albedo.png';
const bannerId = 300038;
const image = 'nahida_yoimiya.png';
const width = 800;
const height = 490;
const height = 595;
let loading = true;
let user = '';

View File

@ -25,6 +25,8 @@
return 'gladiators_finale';
case '+20%_energy_recharge':
return 'emblem_of_severed_fate';
case '+25%_physical_dmg':
return 'pale_flame';
default:
return artifact;
}

View File

@ -1,6 +1,6 @@
<script context="module">
export async function load({ fetch }) {
const promoted = ['albedo', 'xiangling', 'barbara', 'beidou'];
const promoted = ['yoimiya', 'noelle', 'razor', 'bennett'];
const builds = {};
for (const p of promoted) {
const response = await fetch(`/characters/build/${p}.json`);

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB