From dd573945ed8b702cba8986edc847f04697b5f3d3 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Mon, 23 Dec 2024 18:56:44 -0500 Subject: [PATCH] [F] Fix build warnings --- AquaNet/src/components/ActionCard.svelte | 152 ++-- AquaNet/src/components/CommunityCard.svelte | 2 +- .../src/components/RatingComposition.svelte | 8 +- AquaNet/src/components/UserBox.svelte | 27 - AquaNet/src/components/UserCard.svelte | 2 +- AquaNet/src/pages/Home.svelte | 196 ++--- AquaNet/src/pages/Home/LinkCard.svelte | 750 +++++++++--------- AquaNet/src/pages/Ranking.svelte | 6 +- AquaNet/src/pages/UserHome.svelte | 7 +- 9 files changed, 560 insertions(+), 590 deletions(-) diff --git a/AquaNet/src/components/ActionCard.svelte b/AquaNet/src/components/ActionCard.svelte index 3bb44ac7..036699ae 100644 --- a/AquaNet/src/components/ActionCard.svelte +++ b/AquaNet/src/components/ActionCard.svelte @@ -1,76 +1,76 @@ - - - - -
- - -
- {#each iconPos as [x, y, size], i} - - {/each} -
-
- - + + + + +
+ + +
+ {#each iconPos as [x, y, size], i} + + {/each} +
+
+ + diff --git a/AquaNet/src/components/CommunityCard.svelte b/AquaNet/src/components/CommunityCard.svelte index 7b1ba4e3..be2d2d70 100644 --- a/AquaNet/src/components/CommunityCard.svelte +++ b/AquaNet/src/components/CommunityCard.svelte @@ -39,7 +39,7 @@ filter: drop-shadow(0 0 12px rgba(var(--card-color), 0.5)) outline-color: rgba(var(--card-color), 0.5) - span + :global(span) font-size: 1.2rem display: block margin-bottom: 0.5rem diff --git a/AquaNet/src/components/RatingComposition.svelte b/AquaNet/src/components/RatingComposition.svelte index 57aeb1f8..0bfa7a88 100644 --- a/AquaNet/src/components/RatingComposition.svelte +++ b/AquaNet/src/components/RatingComposition.svelte @@ -26,16 +26,10 @@ diff --git a/AquaNet/src/components/UserBox.svelte b/AquaNet/src/components/UserBox.svelte index e1669ee7..a3f51d74 100644 --- a/AquaNet/src/components/UserBox.svelte +++ b/AquaNet/src/components/UserBox.svelte @@ -434,37 +434,10 @@ + + +
+ + + + {#if tab === 0} +
+ tab = 1}> + {#if me && me.cards.length > 1} +

{t('home.manage-cards')}

+ {t('home.manage-cards-description')} + {:else if me} +

{t('home.link-card')}

+ {t('home.link-cards-description')} + {/if} +
+ + tab = 3}> +

{t('home.join-community')}

+ {t('home.join-community-description')} +
+ + tab = 2} icon="uil:link-alt"> +

{t('home.setup')}

+ {t('home.setup-description')} +
+ + +
+ {:else if tab === 1} +
+ +
+ {:else if tab === 2} +
+ +
+ {:else if tab === 3} +
+ +
+ {/if} +
+ + + + diff --git a/AquaNet/src/pages/Home/LinkCard.svelte b/AquaNet/src/pages/Home/LinkCard.svelte index a462f1d4..77ce9218 100644 --- a/AquaNet/src/pages/Home/LinkCard.svelte +++ b/AquaNet/src/pages/Home/LinkCard.svelte @@ -1,375 +1,375 @@ - - - - -