Update homepage
|
@ -13,25 +13,25 @@
|
|||
const dispatch = createEventDispatcher();
|
||||
|
||||
const featured = {
|
||||
tartaglia: {
|
||||
name: 'Tartaglia',
|
||||
wanderer: {
|
||||
name: 'Wanderer',
|
||||
rarity: 'legendary',
|
||||
count: 0,
|
||||
average: '...',
|
||||
percentage: '...',
|
||||
},
|
||||
yae_miko: {
|
||||
name: 'Yae Miko',
|
||||
rarity: 'legendary',
|
||||
faruzan: {
|
||||
name: 'Faruzan',
|
||||
rarity: 'rare',
|
||||
count: 0,
|
||||
average: '...',
|
||||
percentage: '...',
|
||||
},
|
||||
};
|
||||
const bannerId = 300039;
|
||||
const image = 'tartaglia_yae.png';
|
||||
const bannerId = 300040;
|
||||
const image = 'wanderer_faruzan.png';
|
||||
const width = 800;
|
||||
const height = 595;
|
||||
const height = 431;
|
||||
|
||||
let loading = true;
|
||||
let user = '';
|
||||
|
|
|
@ -27,6 +27,8 @@
|
|||
return 'emblem_of_severed_fate';
|
||||
case '+25%_physical_dmg':
|
||||
return 'pale_flame';
|
||||
case '+80_em':
|
||||
return 'gilded_dreams';
|
||||
default:
|
||||
return artifact;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script context="module">
|
||||
export async function load({ fetch }) {
|
||||
const promoted = ['tartaglia', 'yae_miko'];
|
||||
const promoted = ['yanfei', 'gorou'];
|
||||
const builds = {};
|
||||
for (const p of promoted) {
|
||||
const response = await fetch(`/characters/build/${p}.json`);
|
||||
|
|
Before Width: | Height: | Size: 340 KiB After Width: | Height: | Size: 354 KiB |
Before Width: | Height: | Size: 315 KiB After Width: | Height: | Size: 327 KiB |
Before Width: | Height: | Size: 340 KiB After Width: | Height: | Size: 354 KiB |
Before Width: | Height: | Size: 315 KiB After Width: | Height: | Size: 327 KiB |
After Width: | Height: | Size: 103 KiB |