From f7c7677c75bdad8b322f3b2b514aea5b62f0cd3b Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Tue, 2 Apr 2024 19:19:07 +0800 Subject: [PATCH] Update banners --- src/data/banners.js | 33 ++++++++++++++++++ src/data/bannersDual.js | 24 +++++++++++++ src/routes/_index/banner.svelte | 14 ++++---- src/routes/index.svelte | 2 +- ... Deeps 2.jpg => Decree of the Deeps 2.png} | Bin ...ation 62.jpg => Epitome Invocation 62.png} | Bin ...he Wind 4.jpg => Leaves in the Wind 4.png} | Bin 7 files changed, 65 insertions(+), 8 deletions(-) rename static/images/banners/{Decree of the Deeps 2.jpg => Decree of the Deeps 2.png} (100%) rename static/images/banners/{Epitome Invocation 62.jpg => Epitome Invocation 62.png} (100%) rename static/images/banners/{Leaves in the Wind 4.jpg => Leaves in the Wind 4.png} (100%) diff --git a/src/data/banners.js b/src/data/banners.js index 520e3722..ac39b5ac 100644 --- a/src/data/banners.js +++ b/src/data/banners.js @@ -1149,6 +1149,28 @@ export const banners = { // version: '4.5', // timezoneDependent: true, // }, + { + name: 'Decree of the Deeps', + image: 2, + shortName: 'Neuvillette', + start: '2024-04-02 18:00:00', + end: '2024-04-23 14:59:00', + color: '#72fefd', + featured: ['neuvillette', 'kaedehara_kazuha'], + featuredRare: ['barbara', 'xingqiu', 'yanfei'], + version: '4.5', + }, + // { + // name: 'Leaves in the Wind', + // image: 4, + // shortName: 'Kazuha', + // start: '2024-04-02 18:00:00', + // end: '2024-04-23 14:59:00', + // color: '#8FFFDE', + // featured: ['neuvillette', 'kaedehara_kazuha'], + // featuredRare: ['barbara', 'xingqiu', 'yanfei'], + // version: '4.5', + // }, ], weapons: [ { @@ -1903,6 +1925,17 @@ export const banners = { version: '4.5', timezoneDependent: true, }, + { + name: 'Epitome Invocation', + image: 62, + shortName: 'Eternal', + start: '2024-04-02 18:00:00', + end: '2024-04-23 14:59:00', + color: '#eae5e1', + featured: ['tome_of_the_eternal_flow', 'freedom-sworn'], + featuredRare: ['wine_and_song', 'mitternachts_waltz', 'the_flute', 'favonius_greatsword', 'favonius_lance'], + version: '4.5', + }, ], chronicled: [ { diff --git a/src/data/bannersDual.js b/src/data/bannersDual.js index 96774a05..7e90e532 100644 --- a/src/data/bannersDual.js +++ b/src/data/bannersDual.js @@ -903,4 +903,28 @@ export const bannersDual = { timezoneDependent: true, }, ], + 'Decree of the Deeps 2': [ + { + name: 'Decree of the Deeps', + image: 2, + shortName: 'Neuvillette', + start: '2024-04-02 18:00:00', + end: '2024-04-23 14:59:00', + color: '#72fefd', + featured: ['neuvillette', 'kaedehara_kazuha'], + featuredRare: ['barbara', 'xingqiu', 'yanfei'], + version: '4.5', + }, + { + name: 'Leaves in the Wind', + image: 4, + shortName: 'Kazuha', + start: '2024-04-02 18:00:00', + end: '2024-04-23 14:59:00', + color: '#8FFFDE', + featured: ['neuvillette', 'kaedehara_kazuha'], + featuredRare: ['barbara', 'xingqiu', 'yanfei'], + version: '4.5', + }, + ], }; diff --git a/src/routes/_index/banner.svelte b/src/routes/_index/banner.svelte index 7cb9a9e6..c5c81a4d 100644 --- a/src/routes/_index/banner.svelte +++ b/src/routes/_index/banner.svelte @@ -13,25 +13,25 @@ const dispatch = createEventDispatcher(); const featured = { - arataki_itto: { - name: 'Arataki Itto', + neuvillette: { + name: 'Neuvillette', rarity: 'legendary', count: 0, average: '...', percentage: '...', }, - chiori: { - name: 'Chiori', + kaedehara_kazuha: { + name: 'Kaedehara Kazuha', rarity: 'legendary', count: 0, average: '...', percentage: '...', }, }; - const bannerId = 300062; - const image = 'itto chiori.png'; + const bannerId = 300063; + const image = 'neuvillette kazuha.png'; const width = 800; - const height = 394; + const height = 482; let loading = true; let user = ''; diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 24861b48..91a3865c 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -1,6 +1,6 @@