Update banner

This commit is contained in:
Made Baruna 2023-05-24 01:17:04 +08:00
parent aebbf66f1d
commit 172a452de8
8 changed files with 71 additions and 9 deletions

View file

@ -802,6 +802,30 @@ export const banners = {
// featuredRare: ['kaveh', 'candace', 'fischl'],
// version: '3.6',
// },
{
name: 'Tapestry of Golden Flames',
image: 4,
shortName: 'Yoimiya',
start: '2023-05-24 06:00:00',
end: '2023-06-13 17:59:59',
color: '#fc8976',
featured: ['yoimiya', 'yae_miko'],
featuredRare: ['kirara', 'yun_jin', 'chongyun'],
timezoneDependent: true,
version: '3.7',
},
// {
// name: 'Everbloom Violet',
// image: 3,
// shortName: 'Yae Miko',
// start: '2023-05-24 06:00:00',
// end: '2023-06-13 17:59:59',
// color: '#ffd1f9',
// featured: ['yoimiya', 'yae_miko'],
// featuredRare: ['kirara', 'yun_jin', 'chongyun'],
// timezoneDependent: true,
// version: '3.7',
// },
],
weapons: [
{
@ -1342,7 +1366,7 @@ export const banners = {
shortName: 'Dreams',
start: '2023-04-12 06:00:00',
end: '2023-05-02 17:59:59',
color: '#eae5e1',
color: '#ffb169',
featured: ['key_of_khaj-nisut', 'a_thousand_floating_dreams'],
featuredRare: [
'xiphos_moonlight',
@ -1365,5 +1389,17 @@ export const banners = {
featuredRare: ['makhaira_aquamarine', 'wandering_evenstar', 'lions_roar', 'favonius_lance', 'sacrificial_bow'],
version: '3.6',
},
{
name: 'Epitome Invocation',
image: 47,
shortName: 'Thundering',
start: '2023-05-24 06:00:00',
end: '2023-06-13 17:59:59',
color: '#ffb169',
featured: ['thundering_pulse', 'kaguras_verity'],
featuredRare: ['akuoumaru', 'the_flute', 'dragons_bane', 'the_widsith', 'rust'],
timezoneDependent: true,
version: '3.7',
},
],
};

View file

@ -527,4 +527,30 @@ export const bannersDual = {
version: '3.6',
},
],
'Tapestry of Golden Flames 4': [
{
name: 'Tapestry of Golden Flames',
image: 4,
shortName: 'Yoimiya',
start: '2023-05-24 06:00:00',
end: '2023-06-13 17:59:59',
color: '#fc8976',
featured: ['yoimiya', 'yae_miko'],
featuredRare: ['kirara', 'yun_jin', 'chongyun'],
timezoneDependent: true,
version: '3.7',
},
{
name: 'Everbloom Violet',
image: 3,
shortName: 'Yae Miko',
start: '2023-05-24 06:00:00',
end: '2023-06-13 17:59:59',
color: '#ffd1f9',
featured: ['yoimiya', 'yae_miko'],
featuredRare: ['kirara', 'yun_jin', 'chongyun'],
timezoneDependent: true,
version: '3.7',
},
],
};

View file

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher();
const featured = {
baizhu: {
name: 'Baizhu',
yoimiya: {
name: 'Yoimiya',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
ganyu: {
name: 'Ganyu',
yae_miko: {
name: 'Yae Miko',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300047;
const image = 'baizhu_ganyu.png';
const bannerId = 300048;
const image = 'yoimiya-yae.png';
const width = 800;
const height = 438;
const height = 539;
let loading = true;
let user = '';

View file

@ -1,6 +1,6 @@
<script context="module">
export async function load({ fetch }) {
const promoted = ['ganyu', 'candace', 'fischl'];
const promoted = ['yoimiya', 'yae_miko'];
const builds = {};
for (const p of promoted) {
const response = await fetch(`/characters/build/${p}.json`);

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB