From c11ecf159b6d58169d7c5898061bb827121cfaa3 Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Tue, 11 Apr 2023 23:11:27 +0800 Subject: [PATCH] Update banners --- src/data/banners.js | 42 ++++++++++++++++++ src/data/bannersDual.js | 26 +++++++++++ src/routes/_index/banner.svelte | 14 +++--- src/routes/index.svelte | 2 +- .../images/banners/Epitome Invocation 45.png | Bin 0 -> 176055 bytes .../The Moongrass' Enlightenment 2.png | Bin 0 -> 273653 bytes static/images/banners/Twirling Lotus 2.png | Bin 0 -> 282114 bytes static/images/home/nilou_nahida.png | Bin 0 -> 268139 bytes 8 files changed, 76 insertions(+), 8 deletions(-) create mode 100644 static/images/banners/Epitome Invocation 45.png create mode 100644 static/images/banners/The Moongrass' Enlightenment 2.png create mode 100644 static/images/banners/Twirling Lotus 2.png create mode 100644 static/images/home/nilou_nahida.png diff --git a/src/data/banners.js b/src/data/banners.js index 99da599f..550dd92a 100644 --- a/src/data/banners.js +++ b/src/data/banners.js @@ -756,6 +756,30 @@ export const banners = { // featuredRare: ['diona', 'sucrose', 'mika'], // version: '3.5', // }, + { + name: "The Moongrass' Enlightenment", + image: 2, + shortName: 'Nahida', + start: '2023-04-12 06:00:00', + end: '2023-05-02 17:59:59', + color: '#b8db94', + featured: ['nahida', 'nilou'], + featuredRare: ['kuki_shinobu', 'dori', 'layla'], + timezoneDependent: true, + version: '3.6', + }, + // { + // name: "Twirling Lotus", + // image: 2, + // shortName: 'Nilou', + // start: '2023-04-12 06:00:00', + // end: '2023-05-02 17:59:59', + // color: '#b2e0f0', + // featured: ['nahida', 'nilou'], + // featuredRare: ['kuki_shinobu', 'dori', 'layla'], + // timezoneDependent: true, + // version: '3.6', + // }, ], weapons: [ { @@ -1290,5 +1314,23 @@ export const banners = { featuredRare: ['wine_and_song', 'sacrificial_sword', 'the_bell', 'favonius_lance', 'favonius_warbow'], version: '3.5', }, + { + name: 'Epitome Invocation', + image: 45, + shortName: 'Dreams', + start: '2023-04-12 06:00:00', + end: '2023-05-02 17:59:59', + color: '#eae5e1', + featured: ['key_of_khaj-nisut', 'a_thousand_floating_dreams'], + featuredRare: [ + 'xiphos_moonlight', + 'favonius_greatsword', + 'dragons_bane', + 'sacrificial_fragments', + 'the_stringless', + ], + timezoneDependent: true, + version: '3.6', + }, ], }; diff --git a/src/data/bannersDual.js b/src/data/bannersDual.js index 98873518..32ebe3e7 100644 --- a/src/data/bannersDual.js +++ b/src/data/bannersDual.js @@ -477,4 +477,30 @@ export const bannersDual = { version: '3.5', }, ], + "The Moongrass' Enlightenment 2": [ + { + name: "The Moongrass' Enlightenment", + image: 2, + shortName: 'Nahida', + start: '2023-04-12 06:00:00', + end: '2023-05-02 17:59:59', + color: '#b8db94', + featured: ['nahida', 'nilou'], + featuredRare: ['kuki_shinobu', 'dori', 'layla'], + timezoneDependent: true, + version: '3.6', + }, + { + name: 'Twirling Lotus', + image: 2, + shortName: 'Nilou', + start: '2023-04-12 06:00:00', + end: '2023-05-02 17:59:59', + color: '#b2e0f0', + featured: ['nahida', 'nilou'], + featuredRare: ['kuki_shinobu', 'dori', 'layla'], + timezoneDependent: true, + version: '3.6', + }, + ], }; diff --git a/src/routes/_index/banner.svelte b/src/routes/_index/banner.svelte index 898f7a94..b90548dd 100644 --- a/src/routes/_index/banner.svelte +++ b/src/routes/_index/banner.svelte @@ -13,25 +13,25 @@ const dispatch = createEventDispatcher(); const featured = { - shenhe: { - name: 'Shenhe', + nilou: { + name: 'Nilou', rarity: 'legendary', count: 0, average: '...', percentage: '...', }, - kamisato_ayaka: { - name: 'Kamisato Ayaka', + nahida: { + name: 'Nahida', rarity: 'legendary', count: 0, average: '...', percentage: '...', }, }; - const bannerId = 300045; - const image = 'shenhe_ayaka.png'; + const bannerId = 300046; + const image = 'nilou_nahida.png'; const width = 800; - const height = 402; + const height = 416; let loading = true; let user = ''; diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 5c6c41a1..9f911d86 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -1,6 +1,6 @@