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:
17
resources/views/flux/main.blade.php
Normal file
17
resources/views/flux/main.blade.php
Normal file
@@ -0,0 +1,17 @@
|
||||
@blaze
|
||||
|
||||
@props([
|
||||
'container' => null,
|
||||
])
|
||||
|
||||
@php
|
||||
$classes = Flux::classes('[grid-area:main]')
|
||||
->add('p-6 lg:p-8')
|
||||
->add('[[data-flux-container]_&]:px-0') // If there is a wrapping container, let IT handle the x padding...
|
||||
->add($container ? 'mx-auto w-full [:where(&)]:max-w-7xl' : '')
|
||||
;
|
||||
@endphp
|
||||
|
||||
<div {{ $attributes->class($classes) }} data-flux-main>
|
||||
{{ $slot }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user