Update homepage
|
@ -13,25 +13,25 @@
|
||||||
const dispatch = createEventDispatcher();
|
const dispatch = createEventDispatcher();
|
||||||
|
|
||||||
const featured = {
|
const featured = {
|
||||||
tartaglia: {
|
wanderer: {
|
||||||
name: 'Tartaglia',
|
name: 'Wanderer',
|
||||||
rarity: 'legendary',
|
rarity: 'legendary',
|
||||||
count: 0,
|
count: 0,
|
||||||
average: '...',
|
average: '...',
|
||||||
percentage: '...',
|
percentage: '...',
|
||||||
},
|
},
|
||||||
yae_miko: {
|
faruzan: {
|
||||||
name: 'Yae Miko',
|
name: 'Faruzan',
|
||||||
rarity: 'legendary',
|
rarity: 'rare',
|
||||||
count: 0,
|
count: 0,
|
||||||
average: '...',
|
average: '...',
|
||||||
percentage: '...',
|
percentage: '...',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
const bannerId = 300039;
|
const bannerId = 300040;
|
||||||
const image = 'tartaglia_yae.png';
|
const image = 'wanderer_faruzan.png';
|
||||||
const width = 800;
|
const width = 800;
|
||||||
const height = 595;
|
const height = 431;
|
||||||
|
|
||||||
let loading = true;
|
let loading = true;
|
||||||
let user = '';
|
let user = '';
|
||||||
|
|
|
@ -27,6 +27,8 @@
|
||||||
return 'emblem_of_severed_fate';
|
return 'emblem_of_severed_fate';
|
||||||
case '+25%_physical_dmg':
|
case '+25%_physical_dmg':
|
||||||
return 'pale_flame';
|
return 'pale_flame';
|
||||||
|
case '+80_em':
|
||||||
|
return 'gilded_dreams';
|
||||||
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 = ['tartaglia', 'yae_miko'];
|
const promoted = ['yanfei', 'gorou'];
|
||||||
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`);
|
||||||
|
|
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 |