undocs 0.3.5 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/app/pages/index.vue
CHANGED
|
@@ -201,7 +201,7 @@ const { data: sponsors } = await useAsyncData(() => useSponsors())
|
|
|
201
201
|
<UPageSection v-if="sponsors?.sponsors.length" title="💜 Sponsors">
|
|
202
202
|
<div id="sponsors" class="flex flex-col items-center">
|
|
203
203
|
<div
|
|
204
|
-
v-for="(tier, i) of sponsors.sponsors"
|
|
204
|
+
v-for="(tier, i) of sponsors.sponsors.slice(0, 2)"
|
|
205
205
|
:key="i"
|
|
206
206
|
class="flex flex-wrap justify-center gap-4 mb-6 mt-6 max-w-4xl"
|
|
207
207
|
>
|
|
@@ -217,12 +217,26 @@ const { data: sponsors } = await useAsyncData(() => useSponsors())
|
|
|
217
217
|
:src="s.image"
|
|
218
218
|
:alt="s.name"
|
|
219
219
|
class="object-contain rounded-lg"
|
|
220
|
-
:class="`w-${i === 0 ? 16 :
|
|
220
|
+
:class="`w-${i === 0 ? 16 : 10} h-${i === 0 ? 16 : 10}`"
|
|
221
221
|
/>
|
|
222
222
|
<span v-if="i < 2" class="text-lg font-semibold">{{ s.name }}</span>
|
|
223
223
|
</a>
|
|
224
224
|
</div>
|
|
225
225
|
</div>
|
|
226
|
+
<UAvatarGroup class="flex flex-wrap justify-center gap-4 mb-6 mt-6">
|
|
227
|
+
<UTooltip v-for="s in sponsors.sponsors[2]" :key="s.name" :text="s.name" placement="top">
|
|
228
|
+
<a :href="s.website" target="_blank">
|
|
229
|
+
<UAvatar :alt="s.name" :src="s.image" size="lg" />
|
|
230
|
+
</a>
|
|
231
|
+
</UTooltip>
|
|
232
|
+
</UAvatarGroup>
|
|
233
|
+
<UAvatarGroup class="flex flex-wrap justify-center gap-4 mb-6 mt-6">
|
|
234
|
+
<UTooltip v-for="s in sponsors.sponsors[3]" :key="s.name" :text="s.name" placement="top">
|
|
235
|
+
<a :href="s.website" target="_blank">
|
|
236
|
+
<UAvatar :alt="s.name" :src="s.image" style="opacity: 0.5" />
|
|
237
|
+
</a>
|
|
238
|
+
</UTooltip>
|
|
239
|
+
</UAvatarGroup>
|
|
226
240
|
</div>
|
|
227
241
|
<div class="text-center">
|
|
228
242
|
<UButton
|