Update homepage
parent
c037864aac
commit
f2d2788213
|
@ -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 = '';
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 |
Loading…
Reference in New Issue