diff --git a/src/lib/Setting/Pages/ThanksPage.svelte b/src/lib/Setting/Pages/ThanksPage.svelte index 81b869ba..0e6c147f 100644 --- a/src/lib/Setting/Pages/ThanksPage.svelte +++ b/src/lib/Setting/Pages/ThanksPage.svelte @@ -2,45 +2,22 @@ import { language } from "src/lang"; - interface SupporterImaged{ - name: string, - image: string, - } - interface supporters{ I: string[], II: string[], III: string[], - IV: SupporterImaged[], - V: SupporterImaged[], + IV: string[], + V: string[], } async function loadSupporters() { const dummy:supporters = { //random names - I: ["John", "Doe"], - II: ["Lorem", "Ipsum"], - III: ["Dolor", "Sit"], - IV: [ - { - name: "John", - image: "https://placehold.co/600x400", - }, - { - name: "Doe", - image: "https://placehold.co/600x400", - }, - ], - V: [ - { - name: "John", - image: "https://placehold.co/600x400", - }, - { - name: "Doe", - image: "https://placehold.co/600x400", - }, - ], + I: ["Preview", "Preview"], + II: ["Preview", "Preview"], + III: ["Preview", "Preview"], + IV: ["Preview"], + V: ["Preview"], } return dummy } @@ -52,12 +29,9 @@

Supporter V

{#each supporter.V as support} - -
- {support.name} - -
- {support.name} +
+
+ {support}
{/each} @@ -65,12 +39,9 @@

Supporter IV

{#each supporter.IV as support} - -
- {support.name} - -
- {support.name} +
+
+ {support}
{/each} @@ -80,8 +51,8 @@ {#each supporter.III as support}
-
- {support} +
+ {support}
{/each} @@ -119,9 +90,6 @@ .prism-font-gold{ background: linear-gradient(to right, #D4AF32, #fff ,#D4AF32, #fff, #D4AF32); } - .prism-font-ruby{ - background: linear-gradient(to right, #E0115F, #fff ,#E0115F, #fff, #E0115F); - } .prism-font-copper{ background: linear-gradient(to right, #B87333, #fff ,#B87333, #fff, #B87333); } @@ -129,7 +97,7 @@ .prism-font{ text-align: center; color: transparent; - background-size: 125px 100%; + background-size: 150px 100%; background-clip: text; animation-name: shimmer; animation-duration: 2s; diff --git a/src/lib/Setting/Settings.svelte b/src/lib/Setting/Settings.svelte index e6f7854e..619aef96 100644 --- a/src/lib/Setting/Settings.svelte +++ b/src/lib/Setting/Settings.svelte @@ -134,8 +134,8 @@ {language.advancedSettings} {/each}
+
+
+ + +