mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-05 06:38:00 +01:00
docs(app): improve images lazy loading
This commit is contained in:
@@ -51,8 +51,9 @@ useSeoMeta({
|
||||
<NuxtImg
|
||||
:src="`/assets/showcase/${item.name.toLowerCase().replace(/\s/g, '-')}.png`"
|
||||
:alt="`Screenshot of ${item.name}`"
|
||||
loading="lazy"
|
||||
class="rounded-[calc(var(--ui-radius)*1.5)]"
|
||||
width="311"
|
||||
height="194"
|
||||
class="rounded-[calc(var(--ui-radius)*1.5)] group-hover:scale-103 duration-200 transition-transform pointer-events-none"
|
||||
/>
|
||||
|
||||
<div class="flex items-center gap-1 px-1">
|
||||
|
||||
Reference in New Issue
Block a user