mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
tests
This commit is contained in:
@ -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"
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user