Skip to content

Commit 917e8a5

Browse files
committed
feat: make the special thanks section an array-based
1 parent 0414b5a commit 917e8a5

1 file changed

Lines changed: 14 additions & 10 deletions

File tree

src/components/general/Team.vue

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,20 @@ const translations = inject<TranslationsReferenceType>(TranslationsContextKey);
5959
<p class="select-text py-2 text-xl text-white font-semibold sm:text-3xl">
6060
{{ translations?.Messages?.[TeamSocials.Special.Key] }}
6161
</p>
62-
<a
63-
:href="TeamSocials.Special.Entry.Link"
64-
class="w-fit transition-[filter] hover:brightness-70"
65-
>
66-
<Image
67-
class-names="h-12 w-12"
68-
:src="TeamSocials.Special.Entry.Image"
69-
alt="ElyPrismLauncher logo"
70-
/>
71-
</a>
62+
<div class="flex flex-wrap gap-4">
63+
<a
64+
v-for="entry in TeamSocials.Special.Entries"
65+
:key="entry.Link"
66+
:href="entry.Link"
67+
class="w-fit flex items-center transition-[filter] hover:brightness-70"
68+
>
69+
<Image
70+
:src="entry.Image"
71+
:alt="`${entry.Label}'s logo`"
72+
:style="{ height: `${entry.Height}px` }"
73+
/>
74+
</a>
75+
</div>
7276
</div>
7377
</div>
7478
</template>

0 commit comments

Comments
 (0)