19-05-2026 Rebrand Pressekonto, Hub-Flux UI und Legacy-Media-Migration
Umbenennung presseportale → pressekonto in Domains, Themes und Dokumentation. Design-Tokens, Portal-Shell, Customer-Dashboard, Auth- und Admin-PM-Views. Artisan-Befehl migrate:legacy-media mit Tests und Hub-Flux-Entwicklungsdocs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
092ee0e918
commit
0a3e52d603
112 changed files with 8464 additions and 1649 deletions
37
resources/views/components/portal/stat-card.blade.php
Normal file
37
resources/views/components/portal/stat-card.blade.php
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
@props([
|
||||
/**
|
||||
* Strip- und Label-Farbvariante.
|
||||
* Erlaubte Werte: primary | ok | warn | muted.
|
||||
* Mockup: dev/frontend/tailwind_v3/User Dashboard presseportale.html
|
||||
*/
|
||||
'variant' => 'muted',
|
||||
|
||||
/** Eyebrow-Label oben links (UPPERCASE, sperrgesetzt) */
|
||||
'label' => '',
|
||||
|
||||
/** Hauptzahl in JetBrains Mono */
|
||||
'value' => 0,
|
||||
])
|
||||
|
||||
@php
|
||||
$allowedVariants = ['primary', 'ok', 'warn', 'muted'];
|
||||
$variant = in_array($variant, $allowedVariants, true) ? $variant : 'muted';
|
||||
@endphp
|
||||
|
||||
<article {{ $attributes->class(['stat-card', "is-{$variant}"]) }}>
|
||||
<span class="stat-strip"></span>
|
||||
|
||||
<div class="flex items-baseline justify-between gap-3">
|
||||
<div class="stat-label">{{ $label }}</div>
|
||||
|
||||
@isset($meta)
|
||||
<span class="stat-meta">{{ $meta }}</span>
|
||||
@endisset
|
||||
</div>
|
||||
|
||||
<div class="stat-num">{{ $value }}</div>
|
||||
|
||||
@isset($trend)
|
||||
<div class="stat-trend">{{ $trend }}</div>
|
||||
@endisset
|
||||
</article>
|
||||
Loading…
Add table
Add a link
Reference in a new issue