Update homepage

pull/1/head
Made Baruna 2022-12-07 01:57:31 +08:00
parent 160e1ab5e5
commit 9154f73dd7
8 changed files with 11 additions and 9 deletions

View File

@ -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 = '';

View File

@ -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;
}

View File

@ -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`);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 340 KiB

After

Width:  |  Height:  |  Size: 354 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 315 KiB

After

Width:  |  Height:  |  Size: 327 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 340 KiB

After

Width:  |  Height:  |  Size: 354 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 315 KiB

After

Width:  |  Height:  |  Size: 327 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB