diff --git a/src/data/timeline.js b/src/data/timeline.js index b24634d9..89448796 100644 --- a/src/data/timeline.js +++ b/src/data/timeline.js @@ -1,38 +1,5 @@ export const eventsData = [ [ - { - name: "Windblume's Breath", - pos: '0% 20%', - zoom: '100%', - image: 'windblumes_breath.jpg', - start: '2023-03-03 10:00:00', - end: '2023-03-20 03:59:59', - color: '#4a9dff', - url: 'https://www.hoyolab.com/article/16631602', - showOnHome: true, - }, - { - name: 'Fungus Mechanicus', - pos: '0% 60%', - zoom: '200%', - image: 'fungus_mechanicus.jpg', - start: '2023-03-23 10:00:00', - end: '2023-04-03 03:59:59', - color: '#5cbcad', - url: 'https://www.hoyolab.com/article/17144800', - showOnHome: true, - }, - { - name: 'Ley Line Overflow', - pos: '0% 40%', - zoom: '200%', - image: 'leyline_overflow.jpg', - start: '2023-04-03 04:00:00', - end: '2023-04-10 03:59:59', - color: '#5baced', - url: 'https://www.hoyolab.com/article/17374982', - showOnHome: true, - }, { name: 'Fulminating Sandstorm', pos: '0% 20%', @@ -55,30 +22,19 @@ export const eventsData = [ url: 'https://www.hoyolab.com/article/18031376', showOnHome: true, }, + { + name: "Divine Ingenuity: Collector's Chapter", + pos: '0% 30%', + zoom: '150%', + image: 'Divine Ingenuity 2 Temp.png', + start: '2023-06-08 10:00:00', + end: '2023-06-29 03:59:59', + color: '#cbfeff', + url: 'https://www.hoyolab.com/article/18699187', + showOnHome: true, + }, ], [ - { - name: 'Vibro Crystal Verification', - pos: '0% 0%', - zoom: '230%', - image: 'vibro_crysta_research_2.jpg', - start: '2023-03-14 10:00:00', - end: '2023-03-27 03:59:59', - color: '#38c2f9', - url: 'https://www.hoyolab.com/article/16959444', - showOnHome: true, - }, - { - name: 'Spices From the West: Northerly Search', - pos: '0% 40%', - zoom: '200%', - image: 'spices_from_the_west_northerly_search.jpg', - start: '2023-03-31 10:00:00', - end: '2023-04-10 03:59:59', - color: '#83bfb4', - url: 'https://www.hoyolab.com/article/17337582', - showOnHome: true, - }, { name: 'Brewing Developments', pos: '0% 20%', @@ -112,31 +68,19 @@ export const eventsData = [ url: 'https://www.hoyolab.com/article/18031376', showOnHome: true, }, + { + name: "Duel! The Summoners' Summit!", + pos: '35% 20%', + zoom: '250%', + image: 'Duel The Summoners Summit.png', + start: '2023-05-25 10:00:00', + end: '2023-06-12 03:59:59', + color: '#d8e29d', + url: 'https://www.hoyolab.com/article/18699059', + showOnHome: true, + }, ], [ - { - name: 'Auric Blaze - Dehya Banner', - pos: '30% 15%', - zoom: '150%', - image: 'auric_blaze_1.jpg', - start: '2023-03-01 06:00:00', - end: '2023-03-21 17:59:59', - color: '#ec614f', - url: 'https://www.hoyolab.com/article/16631471', - showOnHome: true, - timezoneDependent: true, - }, - { - name: 'The Transcendent One Returns - Shenhe Banner', - pos: '30% 15%', - zoom: '150%', - image: 'the_transcendent_one_returns_2.jpg', - start: '2023-03-21 18:00:00', - end: '2023-04-11 14:59:59', - color: '#81DDF0', - url: 'https://www.hoyolab.com/article/17043829', - showOnHome: true, - }, { name: "The Moongrass' Enlightenment - Nahida Banner", pos: '10% 15%', @@ -160,31 +104,20 @@ export const eventsData = [ url: 'https://www.hoyolab.com/article/18031187', showOnHome: true, }, - ], - [ { - name: 'Twilight Arbiter - Cyno Banner', - pos: '30% 15%', + name: 'Tapestry of Golden Flames - Yoimiya Banner', + pos: '10% 15%', zoom: '150%', - image: 'twilight_arbiter_2.jpg', - start: '2023-03-01 06:00:00', - end: '2023-03-21 17:59:59', - color: '#d8b8f7', - url: 'https://www.hoyolab.com/article/16631471', + image: 'Tapestry of Golden Flames 4.png', + start: '2023-05-24 06:00:00', + end: '2023-06-13 17:59:59', + color: '#fc8976', + url: 'https://www.hoyolab.com/article/18699067', showOnHome: true, timezoneDependent: true, }, - { - name: "The Heron's Court - Ayaka Banner", - pos: '30% 15%', - zoom: '150%', - image: 'the_herons_court_3.jpg', - start: '2023-03-21 18:00:00', - end: '2023-04-11 14:59:59', - color: '#FFFBF7', - url: 'https://www.hoyolab.com/article/17043829', - showOnHome: true, - }, + ], + [ { name: 'Twirling Lotus - Nilou Banner', pos: '10% 15%', @@ -208,31 +141,20 @@ export const eventsData = [ url: 'https://www.hoyolab.com/article/18031187', showOnHome: true, }, - ], - [ { - name: 'Epitome Invocation - Weapon Banner', - pos: '30% 15%', + name: 'Everbloom Violet - Yae Miko Banner', + pos: '10% 15%', zoom: '150%', - image: 'epitome_invocation_43.jpg', - start: '2023-03-01 06:00:00', - end: '2023-03-21 17:59:59', - color: '#FFAA4B', - url: 'https://www.hoyolab.com/article/16631471', + image: 'Everbloom Violet 3.png', + start: '2023-05-24 06:00:00', + end: '2023-06-13 17:59:59', + color: '#ffd1f9', + url: 'https://www.hoyolab.com/article/18699067', showOnHome: true, timezoneDependent: true, }, - { - name: 'Epitome Invocation - Weapon Banner', - pos: '30% 15%', - zoom: '150%', - image: 'epitome_invocation_44.jpg', - start: '2023-03-21 18:00:00', - end: '2023-04-11 14:59:59', - color: '#FFAA4B', - url: 'https://www.hoyolab.com/article/17043829', - showOnHome: true, - }, + ], + [ { name: 'Epitome Invocation - Weapon Banner', pos: '30% 35%', @@ -256,28 +178,20 @@ export const eventsData = [ url: 'https://www.hoyolab.com/article/18031187', showOnHome: true, }, + { + name: 'Epitome Invocation - Weapon Banner', + pos: '30% 35%', + zoom: '150%', + image: 'Epitome Invocation 47.png', + start: '2023-05-24 06:00:00', + end: '2023-06-13 17:59:59', + color: '#FFAA4B', + url: 'https://www.hoyolab.com/article/18699067', + showOnHome: true, + timezoneDependent: true, + }, ], [ - { - name: 'Spiral Abyss', - image: 'spiral_abyss.jpg', - pos: '50% 20%', - start: '2023-03-01 04:00:00', - end: '2023-03-16 04:00:00', - color: '#4299E1', - description: - "When a character triggers a Spread or Aggravate reaction on an opponent, a shockwave will be unleashed at the opponent's position, dealing True DMG. A shockwave can be unleashed this way every 3s.", - }, - { - name: 'Spiral Abyss', - image: 'spiral_abyss.jpg', - pos: '50% 20%', - start: '2023-03-16 04:00:00', - end: '2023-04-01 04:00:00', - color: '#4299E1', - description: - "After a character's HP decreases, all party members will gain a stack of Implacable: DMG dealt will be increased by 8% for 8s. This effect can be triggered once every 0.3s. Max 4 stacks. Each stack's duration is counted independently.", - }, { name: 'Spiral Abyss', image: 'spiral_abyss.jpg', @@ -320,16 +234,6 @@ export const eventsData = [ }, ], [ - { - name: "Paimon's Bargain - Ningguang, Xingqiu, and Blackcliff", - pos: '0% 50%', - zoom: '150%', - start: '2023-03-01 04:00:00', - end: '2023-04-01 04:00:00', - color: '#B6A1EA', - image: 'paimon_bargain.png', - description: 'Now selling: Ningguang, Xingqiu, and Blackcliff Weapons.', - }, { name: "Paimon's Bargain - Razor, Amber, and Royal", pos: '0% 50%', @@ -352,16 +256,6 @@ export const eventsData = [ }, ], [ - { - name: 'Battle Pass - Artful Intent', - pos: '0% 12%', - image: 'artful_intent.jpg', - start: '2023-03-01 06:00:00', - end: '2023-04-10 03:59:59', - color: '#95c9ce', - url: 'https://www.hoyolab.com/article/16631602', - timezoneDependent: true, - }, { name: 'Battle Pass - Crown of Glory', pos: '0% 12%', @@ -372,5 +266,15 @@ export const eventsData = [ url: 'https://www.hoyolab.com/article/17591460', timezoneDependent: true, }, + { + name: "Battle Pass - Invoker's Secrets", + pos: '0% 12%', + image: 'Invokers Secrets.png', + start: '2023-05-24 06:00:00', + end: '2023-07-03 03:59:59', + color: '#e4e574', + url: 'https://www.hoyolab.com/article/18699187', + timezoneDependent: true, + }, ], ]; diff --git a/src/routes/timeline/_item.svelte b/src/routes/timeline/_item.svelte index 3db18148..8e71d4d3 100644 --- a/src/routes/timeline/_item.svelte +++ b/src/routes/timeline/_item.svelte @@ -37,7 +37,7 @@ {prevNearby && !started && (attachedPrev || prevEnded) && prevNearby ? 'padding-left: 35px;' : 'padding-left: 10px;'} - --image: url(/images/events/{event.image}); --pos: {event.pos}; --color: {event.color}; + --image: url('/images/events/{event.image}'); --pos: {event.pos}; --color: {event.color}; --zoom: {event.zoom ? event.zoom : '200%'};" >
diff --git a/static/images/events/Divine Ingenuity 2 Temp.png b/static/images/events/Divine Ingenuity 2 Temp.png new file mode 100644 index 00000000..6073dbed Binary files /dev/null and b/static/images/events/Divine Ingenuity 2 Temp.png differ diff --git a/static/images/events/Duel The Summoners Summit.png b/static/images/events/Duel The Summoners Summit.png new file mode 100644 index 00000000..499f67b4 Binary files /dev/null and b/static/images/events/Duel The Summoners Summit.png differ diff --git a/static/images/events/Epitome Invocation 47.png b/static/images/events/Epitome Invocation 47.png new file mode 100644 index 00000000..94433430 Binary files /dev/null and b/static/images/events/Epitome Invocation 47.png differ diff --git a/static/images/events/Everbloom Violet 3.png b/static/images/events/Everbloom Violet 3.png new file mode 100644 index 00000000..e4d2fda8 Binary files /dev/null and b/static/images/events/Everbloom Violet 3.png differ diff --git a/static/images/events/Invokers Secrets.png b/static/images/events/Invokers Secrets.png new file mode 100644 index 00000000..81f79e57 Binary files /dev/null and b/static/images/events/Invokers Secrets.png differ diff --git a/static/images/events/Tapestry of Golden Flames 4.png b/static/images/events/Tapestry of Golden Flames 4.png new file mode 100644 index 00000000..b5069b1f Binary files /dev/null and b/static/images/events/Tapestry of Golden Flames 4.png differ