feat: Phase 2 - admin layout, dashboard, page CRUD, subscribers, user management

This commit is contained in:
2026-04-03 20:09:20 +02:00
parent 904cf1241b
commit 78e1be3e3b
27 changed files with 404 additions and 33 deletions

View File

@@ -0,0 +1,15 @@
@props([
'href',
'active' => false,
])
@php
$base = 'group flex items-center gap-3 rounded-lg px-3 py-2 text-sm font-medium transition';
$classes = $active
? $base . ' bg-slate-800 text-white'
: $base . ' text-slate-300 hover:bg-slate-800/80 hover:text-white';
@endphp
<a href="{{ $href }}" {{ $attributes->merge(['class' => $classes]) }}>
{{ $slot }}
</a>