mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-28 07:43:18 +00:00
🎨 Add new Flux icons: implement multiple reusable icon components (e.g., hand-raised, hand-thumb-up, heart, hashtag, home) with variant support for improved UI consistency.
This commit is contained in:
23
resources/views/flux/tooltip/content.blade.php
Normal file
23
resources/views/flux/tooltip/content.blade.php
Normal file
@@ -0,0 +1,23 @@
|
||||
@blaze
|
||||
|
||||
@props([
|
||||
'kbd' => null,
|
||||
])
|
||||
|
||||
@php
|
||||
$classes = Flux::classes([
|
||||
'relative py-2 px-2.5',
|
||||
'rounded-md',
|
||||
'text-xs text-white font-medium',
|
||||
'bg-zinc-800 dark:bg-zinc-700 dark:border dark:border-white/10',
|
||||
'p-0 overflow-visible',
|
||||
]);
|
||||
@endphp
|
||||
|
||||
<div popover="manual" {{ $attributes->class($classes) }} data-flux-tooltip-content>
|
||||
{{ $slot }}
|
||||
|
||||
<?php if ($kbd): ?>
|
||||
<span class="ps-1 text-zinc-300">{{ $kbd }}</span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
Reference in New Issue
Block a user