mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 16:00:39 +01:00
Merge remote-tracking branch 'origin/v3' into feat/update-showcase
This commit is contained in:
@@ -56,27 +56,14 @@ useSeoMeta({
|
||||
:modifiers="{
|
||||
position: 'top'
|
||||
}"
|
||||
class="aspect-[16/9] size-full opacity-75 group-hover:opacity-100 group-hover:scale-110 duration-200 transition-[scale,opacity] pointer-events-none"
|
||||
class="aspect-[16/9] size-full opacity-100 group-hover:opacity-70 group-hover:scale-110 duration-200 transition-[scale,opacity] pointer-events-none"
|
||||
/>
|
||||
|
||||
<div class="absolute flex items-center gap-2">
|
||||
<div class="flex items-center px-2.5 py-0.75 gap-1 opacity-0 group-hover:opacity-100 transition-opacity duration-200 pointer-events-none bg-black/90 rounded-full">
|
||||
<span class="text-sm text-(--ui-text-highlighted) font-medium">
|
||||
{{ item.name }}
|
||||
</span>
|
||||
<UIcon name="i-lucide-arrow-up-right" class="size-4 shrink-0" />
|
||||
</div>
|
||||
<UTooltip v-if="item.github" text="Open repository" :content="{ side: 'top' }">
|
||||
<UButton
|
||||
:to="item.github"
|
||||
icon="i-simple-icons-github"
|
||||
variant="ghost"
|
||||
color="neutral"
|
||||
size="xs"
|
||||
target="_blank"
|
||||
class="bg-black/90 rounded-full opacity-0 group-hover:opacity-100 transition-opacity duration-200 hover:bg-black/30"
|
||||
/>
|
||||
</UTooltip>
|
||||
<div class="absolute flex items-center px-2.5 py-0.75 gap-1 opacity-0 group-hover:opacity-100 transition-opacity duration-200 pointer-events-none bg-white rounded-full">
|
||||
<span class="text-sm font-medium text-black">
|
||||
{{ item.name }}
|
||||
</span>
|
||||
<UIcon name="i-lucide-arrow-up-right" class="size-4 shrink-0 text-black" />
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user