From c3f4e1381f22014b02bb68c7a38b2e61977f123e Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Mon, 1 Aug 2022 22:11:49 +0700 Subject: [PATCH] Update yoimiya banner --- src/data/banners.js | 20 ++++++++++++++++++ src/routes/_index/banner.svelte | 17 +++++---------- src/routes/index.svelte | 2 +- .../images/banners/Epitome Invocation 32.png | Bin 0 -> 406433 bytes .../banners/Tapestry of Golden Flames.png | Bin 0 -> 548431 bytes static/images/home/yoimiya.png | Bin 0 -> 202674 bytes 6 files changed, 26 insertions(+), 13 deletions(-) create mode 100644 static/images/banners/Epitome Invocation 32.png create mode 100644 static/images/banners/Tapestry of Golden Flames.png create mode 100644 static/images/home/yoimiya.png diff --git a/src/data/banners.js b/src/data/banners.js index f4d485cb..b68a8c02 100644 --- a/src/data/banners.js +++ b/src/data/banners.js @@ -432,6 +432,16 @@ export const banners = { // featuredRare: ['ningguang', 'thoma', 'shikanoin_heizou'], // timezoneDependent: true, // }, + { + name: 'Tapestry of Golden Flames', + image: 2, + shortName: 'Yoimiya', + start: '2022-08-02 18:00:00', + end: '2022-08-23 14:59:59', + color: '#fc8976', + featured: ['yoimiya'], + featuredRare: ['yun_jin', 'xinyan', 'bennett'], + }, ], weapons: [ { @@ -780,5 +790,15 @@ export const banners = { featuredRare: ['the_alley_flash', 'mitternachts_waltz', 'rainslasher', 'favonius_lance', 'the_widsith'], timezoneDependent: true, }, + { + name: 'Epitome Invocation', + image: 32, + start: '2022-08-02 18:00:00', + end: '2022-08-23 14:59:59', + shortName: 'Thundering', + color: '#eae5e1', + featured: ['thundering_pulse', 'summit_shaper'], + featuredRare: ['wine_and_song', 'alley_hunter', 'the_flute', 'sacrificial_greatsword', 'dragons_bane'], + }, ], }; diff --git a/src/routes/_index/banner.svelte b/src/routes/_index/banner.svelte index a190be01..a7561667 100644 --- a/src/routes/_index/banner.svelte +++ b/src/routes/_index/banner.svelte @@ -13,25 +13,18 @@ const dispatch = createEventDispatcher(); const featured = { - shikanoin_heizou: { - name: 'Heizou', - rarity: 'rare', - count: 0, - average: '...', - percentage: '...', - }, - kaedehara_kazuha: { - name: 'Kazuha', + yoimiya: { + name: 'Yoimiya', rarity: 'legendary', count: 0, average: '...', percentage: '...', }, }; - const bannerId = 300032; - const image = 'kazuha_heizo.png'; + const bannerId = 300033; + const image = 'yoimiya.png'; const width = 800; - const height = 488; + const height = 495; let loading = true; let user = ''; diff --git a/src/routes/index.svelte b/src/routes/index.svelte index c2a1bc0a..28c6ca5d 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -1,6 +1,6 @@