Update homepage
parent
c037864aac
commit
f2d2788213
|
@ -13,25 +13,25 @@
|
||||||
const dispatch = createEventDispatcher();
|
const dispatch = createEventDispatcher();
|
||||||
|
|
||||||
const featured = {
|
const featured = {
|
||||||
nilou: {
|
yoimiya: {
|
||||||
name: 'Nilou',
|
name: 'Yoimiya',
|
||||||
rarity: 'legendary',
|
rarity: 'legendary',
|
||||||
count: 0,
|
count: 0,
|
||||||
average: '...',
|
average: '...',
|
||||||
percentage: '...',
|
percentage: '...',
|
||||||
},
|
},
|
||||||
albedo: {
|
nahida: {
|
||||||
name: 'Albedo',
|
name: 'Nahida',
|
||||||
rarity: 'legendary',
|
rarity: 'legendary',
|
||||||
count: 0,
|
count: 0,
|
||||||
average: '...',
|
average: '...',
|
||||||
percentage: '...',
|
percentage: '...',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
const bannerId = 300037;
|
const bannerId = 300038;
|
||||||
const image = 'nilou_albedo.png';
|
const image = 'nahida_yoimiya.png';
|
||||||
const width = 800;
|
const width = 800;
|
||||||
const height = 490;
|
const height = 595;
|
||||||
|
|
||||||
let loading = true;
|
let loading = true;
|
||||||
let user = '';
|
let user = '';
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
return 'gladiators_finale';
|
return 'gladiators_finale';
|
||||||
case '+20%_energy_recharge':
|
case '+20%_energy_recharge':
|
||||||
return 'emblem_of_severed_fate';
|
return 'emblem_of_severed_fate';
|
||||||
|
case '+25%_physical_dmg':
|
||||||
|
return 'pale_flame';
|
||||||
default:
|
default:
|
||||||
return artifact;
|
return artifact;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<script context="module">
|
<script context="module">
|
||||||
export async function load({ fetch }) {
|
export async function load({ fetch }) {
|
||||||
const promoted = ['albedo', 'xiangling', 'barbara', 'beidou'];
|
const promoted = ['yoimiya', 'noelle', 'razor', 'bennett'];
|
||||||
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`);
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 118 KiB |
Loading…
Reference in New Issue