Skip to content

Commit 41486f0

Browse files
committed
feat(partners): update ui
1 parent edb2e76 commit 41486f0

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

components/molecules/cards/LogoCard.vue

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,23 @@
1010
</template>
1111
<div class="ListCard-body">
1212
<div class="w-full flex flex-row justify-between">
13-
<NuxtImg
13+
<img
1414
v-if="item.logo && item.logo.dark"
15+
loading="lazy"
1516
:alt="`${item.title} logo`"
1617
:src="item.logo.dark"
1718
class="dark-img w-12 h-12 mr-4 rounded-md"
1819
/>
19-
<NuxtImg
20+
<img
2021
v-if="item.logo && item.logo.light"
22+
loading="lazy"
2123
:alt="`${item.title} logo`"
2224
:src="item.logo.light"
2325
class="light-img w-12 h-12 mr-4 rounded-md"
2426
/>
25-
<NuxtImg
27+
<img
2628
v-if="typeof item.logo === 'string'"
29+
loading="lazy"
2730
:alt="`${item.title} logo`"
2831
:src="item.logo || ''"
2932
class="w-12 h-12 mr-4 rounded-md"

components/templates/Partner.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
<img
1717
:src="`${page.profile.logoLight && page.profile.logoLight.url}`"
1818
:alt="page.name"
19-
class="light-img text-white"
19+
class="light-img text-white rounded-md"
2020
/>
2121
<img
2222
:src="`${page.profile.logoDark && page.profile.logoDark.url}`"
2323
:alt="page.name"
24-
class="dark-img text-white"
24+
class="dark-img text-white rounded-md"
2525
/>
2626
</div>
2727
<div class="flex flex-col justify-end gap-1">

0 commit comments

Comments
 (0)