This commit is contained in:
Saeed Vaziry
2024-10-13 12:33:12 +02:00
parent 386d8e73a7
commit 224e0ac2b0
49 changed files with 3668 additions and 766 deletions

View File

@ -1,9 +1,9 @@
@props(["value" => 0])
<div class="relative flex h-6 overflow-hidden rounded bg-primary-200 text-xs dark:bg-primary-500 dark:bg-opacity-10">
<div class="bg-primary-200 dark:bg-primary-500 relative flex h-6 overflow-hidden rounded text-xs dark:bg-opacity-10">
<div
style="width: {{ $value }}%"
class="flex flex-col justify-center whitespace-nowrap bg-primary-500 text-center text-white shadow-none transition-all duration-500 ease-out"
class="bg-primary-500 flex flex-col justify-center whitespace-nowrap text-center text-white shadow-none transition-all duration-500 ease-out"
></div>
<span
class="{{ $value >= 40 ? "text-white" : "text-black dark:text-white" }} absolute left-0 right-0 top-1 text-center font-semibold"

View File

@ -1,10 +1,10 @@
@props([
'heading' => null,
'logo' => true,
'subheading' => null,
"heading" => null,
"logo" => true,
"subheading" => null,
])
<header class="fi-simple-header flex items-center justify-between h-8">
<header class="fi-simple-header flex h-8 items-center justify-between">
<div class="flex items-center gap-1">
@if ($logo)
<x-filament-panels::logo />
@ -20,9 +20,7 @@ class="fi-simple-header-heading text-center text-2xl font-bold tracking-tight te
</div>
@if (filled($subheading))
<p
class="fi-simple-header-subheading text-center text-sm text-gray-500 dark:text-gray-400"
>
<p class="fi-simple-header-subheading text-center text-sm text-gray-500 dark:text-gray-400">
{{ $subheading }}
</p>
@endif