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:
7
resources/views/flux/chart/summary/index.blade.php
Normal file
7
resources/views/flux/chart/summary/index.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
@blaze
|
||||
|
||||
<template name="summary">
|
||||
<div {{ $attributes }}>
|
||||
{{ $slot }}
|
||||
</div>
|
||||
</template>
|
||||
15
resources/views/flux/chart/summary/value.blade.php
Normal file
15
resources/views/flux/chart/summary/value.blade.php
Normal file
@@ -0,0 +1,15 @@
|
||||
@blaze
|
||||
|
||||
@props([
|
||||
'field' => null,
|
||||
'format' => null,
|
||||
'fallback' => null,
|
||||
])
|
||||
|
||||
@php
|
||||
$format = is_array($format) ? \Illuminate\Support\Js::encode($format) : $format;
|
||||
@endphp
|
||||
|
||||
<span {{ $attributes }}>
|
||||
<slot @if ($field) field="{{ $field }}" @endif @if ($format) format="{{ $format }}" @endif @if ($fallback) fallback="{{ $fallback }}" @endif></slot>
|
||||
</span>
|
||||
Reference in New Issue
Block a user