diff --git a/src/data/birthdays.js b/src/data/birthdays.js index cf437a70..ec9f864d 100644 --- a/src/data/birthdays.js +++ b/src/data/birthdays.js @@ -14,6 +14,7 @@ export const birthdays = { xiao: [4, 17], yelan: [4, 20], diluc: [4, 30], + collei: [5, 8], gorou: [5, 18], yun_jin: [5, 21], fischl: [5, 27], @@ -49,5 +50,6 @@ export const birthdays = { sucrose: [11, 26], kaeya: [11, 30], ganyu: [12, 2], + tighnari: [12, 29], zhongli: [12, 31], }; diff --git a/src/routes/_index/banner.svelte b/src/routes/_index/banner.svelte index a7561667..344ef046 100644 --- a/src/routes/_index/banner.svelte +++ b/src/routes/_index/banner.svelte @@ -13,18 +13,25 @@ const dispatch = createEventDispatcher(); const featured = { - yoimiya: { - name: 'Yoimiya', + collei: { + name: 'Collei', + rarity: 'rare', + count: 0, + average: '...', + percentage: '...', + }, + tighnari: { + name: 'Tighnari', rarity: 'legendary', count: 0, average: '...', percentage: '...', }, }; - const bannerId = 300033; - const image = 'yoimiya.png'; + const bannerId = 300034; + const image = 'tighnari_collei.png'; const width = 800; - const height = 495; + const height = 593; let loading = true; let user = ''; diff --git a/src/routes/_index/build.svelte b/src/routes/_index/build.svelte index e62285ad..7d74d272 100644 --- a/src/routes/_index/build.svelte +++ b/src/routes/_index/build.svelte @@ -19,6 +19,17 @@ dispatch('done'); } + function getArtifactImage(artifact) { + switch (artifact) { + case '+18%_atk_set': + return 'gladiators_finale'; + case '+20%_energy_recharge': + return 'emblem_of_severed_fate'; + default: + return artifact; + } + } + $: id = promoted[current]; $: buildData = Object.entries(builds[id].roles).sort((a, b) => b[1].recommended - a[1].recommended)[0]; $: buildName = buildData[0]; @@ -60,7 +71,7 @@
{#each artifacts as artifact} {artifact} export async function load({ fetch }) { - const promoted = ['yoimiya', 'yun_jin']; + const promoted = ['fischl', 'diona']; const builds = {}; for (const p of promoted) { const response = await fetch(`/characters/build/${p}.json`); diff --git a/static/images/characters/full/collei.png b/static/images/characters/full/collei.png index d224c79d..03bdc674 100644 Binary files a/static/images/characters/full/collei.png and b/static/images/characters/full/collei.png differ diff --git a/static/images/characters/full/tighnari.png b/static/images/characters/full/tighnari.png index 2b11d167..3689db13 100644 Binary files a/static/images/characters/full/tighnari.png and b/static/images/characters/full/tighnari.png differ diff --git a/static/images/home/tighnari_collei.png b/static/images/home/tighnari_collei.png new file mode 100644 index 00000000..d3901b64 Binary files /dev/null and b/static/images/home/tighnari_collei.png differ