@extends('layouts.staff')
@section('title', 'Dashboard')
@section('content')
    <x-page-head title="Staff Portal" :subtitle="$role" />
    <x-panel>
        <p style="margin-bottom:16px;">Welcome to your staff workspace. Use the sidebar to access library, messages, and notifications.</p>
        @if ($adminLinks->isNotEmpty())
            <h4 style="margin-bottom:10px;">Admin shortcuts</h4>
            <div style="display:flex; gap:10px; flex-wrap:wrap;">
                @foreach ($adminLinks as $link)
                    <a href="{{ route($link['route']) }}" class="btn btn-outline">{{ $link['label'] }}</a>
                @endforeach
            </div>
        @endif
    </x-panel>
@endsection
