diff --git a/src/components/Sidebar/Sidebar.svelte b/src/components/Sidebar/Sidebar.svelte index 388969ba..a3b3f8c2 100644 --- a/src/components/Sidebar/Sidebar.svelte +++ b/src/components/Sidebar/Sidebar.svelte @@ -97,7 +97,15 @@ {mobile} {segment} on:clicked={close} - active={['items', 'achievement', 'reminder', 'furnishing', 'weapons', 'artifacts'].includes(segment)} + active={[ + 'items', + 'achievement', + 'reminder', + 'furnishing', + 'weapons', + 'artifacts', + 'radiant-spincrystal', + ].includes(segment)} image="/images/items.png" label={$t('sidebar.database')} items={[ @@ -108,6 +116,7 @@ { label: $t('sidebar.weapons'), href: '/weapons' }, { label: $t('sidebar.artifacts'), href: '/artifacts' }, { label: $t('sidebar.fishing'), href: '/fishing' }, + { label: $t('sidebar.radiantSpincrystal'), href: '/radiant-spincrystal' }, ]} /> + import data from '../../data/radiantSpincrystal/en.json'; + export async function preload() { + return { data }; + } + + + + + + Radiant Spincrystal - Paimon.moe + + + +
+
+
+ {$t('radiantSpincrystal.title')} +

{$t('radiantSpincrystal.title')}

+
+

+ {current} + {$t('achievement.of')} + {total} +

+
+
+ {#each spincrystals as crystal (crystal.number)} +
+

{crystal.number}

+
+
+
+ +
+

{crystal.song}

+
+ +
+ +
+

+ {crystal.source} + +

+
+
+
+ toggle(crystal.number)} /> +
+
+ {/each} +
+
+ +
+
+ + + + diff --git a/src/routes/settings/index.svelte b/src/routes/settings/index.svelte index 42e3a9c0..03c874b5 100644 --- a/src/routes/settings/index.svelte +++ b/src/routes/settings/index.svelte @@ -171,6 +171,7 @@ 'furnishing-set-placed', 'furnishing-set-character', 'fishing', + 'spincrystals', ]; for (let k of keyWillBeDeleted) { @@ -211,6 +212,7 @@ 'furnishing-set-placed', 'furnishing-set-character', 'fishing', + 'spincrystals', ]; for (let k of keyWillBeDeleted) { @@ -254,6 +256,7 @@ 'furnishing-set-placed', 'furnishing-set-character', 'fishing', + 'spincrystals', ]; const temp = {}; diff --git a/static/images/radiant_spincrystal.png b/static/images/radiant_spincrystal.png new file mode 100644 index 00000000..cf13c840 Binary files /dev/null and b/static/images/radiant_spincrystal.png differ