diff --git a/AquaNet/src/components/UserBox.svelte b/AquaNet/src/components/UserBox.svelte deleted file mode 100644 index a2be5cc3..00000000 --- a/AquaNet/src/components/UserBox.svelte +++ /dev/null @@ -1,552 +0,0 @@ - - - - -{#if !loading && !error} -
- {#each userBoxFields as { key, label, kind }, i (key)} -
- -
- - {#if changed.includes(key)} - - {/if} -
-
- {/each} -
- {#if HAS_USERBOX_ASSETS} -
-

{t("userbox.preview.ui")}

- - {#if values.frame} - Preview - {/if} - -
- - {#if values.mapicon} -
- Preview -
- {/if} - - - {#if values.voice} -
- Preview -
- {/if} -
- -

{t("userbox.preview.nameplate")}

- - {#if values.nameplate} -
- Preview -

- {availableOptions.trophy.find((x) => x.id === values.trophy) - ?.label} -

-
-

- {user.displayName} -

-
-
- {/if} - -

{t("userbox.preview.avatar")}

-
-
- Preview -
-
- Preview -
-
- Preview -
-
- Preview -
-
- Preview -
-
- Preview -
-
- Preview -
-
-
- {/if} -{/if} - - - diff --git a/AquaNet/src/components/settings/ChuniSettings.svelte b/AquaNet/src/components/settings/ChuniSettings.svelte new file mode 100644 index 00000000..63a7739b --- /dev/null +++ b/AquaNet/src/components/settings/ChuniSettings.svelte @@ -0,0 +1,205 @@ + + + + + +{#if !loading && !error} +
+

{t("userbox.header.general")}

+ +

{t("userbox.header.userbox")}

+
+ {#each userItems as { iKey, ubKey, items }, i} +
+ +
+ + {#if changed.includes(ubKey)} + + {/if} +
+
+ {/each} +
+ {#if HAS_USERBOX_ASSETS} +

{t("userbox.header.preview")}

+

{t("userbox.preview.notice")}

+ + {#if preview} +
+ {#each userItems.filter(v => v.iKey != 'trophy' && v.iKey != 'systemVoice') as { iKey, ubKey, items }, i} +
+ {ts(`userbox.${ubKey}`)} + +
+ {/each} +
+ {/if} + {/if} +
+{/if} + +