@php
    use Filament\Facades\Filament;
@endphp

@if(Filament::auth()->check())
    <div class="flex-1 flex items-center lg:gap-y-1 gap-x-6">
        <div class="flex-1">
            <div class="md:flex md:flex-row gap-x-2 items-center">
                <div class="flex items-center gap-x-3">
                    <div class="flex items-center gap-x-2">
                        <span class="text-2xl font-bold text-primary-600 dark:text-primary-400">
                            {{ __('Hello!') }}, {{ Filament::auth()->user()->name ?? __('User') }}
                        </span>
                    </div>

                    {{-- <div class="hidden sm:block">
                        <svg width="1" height="22" viewBox="0 0 1 22" fill="none" xmlns="http://www.w3.org/2000/svg">
                            <rect width="1" height="22" rx="0.5" fill="#E2E8F0" class="dark:fill-gray-600"></rect>
                        </svg>
                    </div>

                    <span class="text-sm font-normal text-gray-600 dark:text-gray-300 hidden sm:inline">
                        {{ __('association-admin-dashboard.dashboard') }}
                    </span> --}}
                </div>

                {{-- <span class="hidden lg:block ml-auto">
                    <svg width="1" height="22" viewBox="0 0 1 22" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <rect width="1" height="22" rx="0.5" fill="#E2E8F0" class="dark:fill-gray-600"></rect>
                    </svg>
                </span>

                <span class="text-xs text-gray-500 dark:text-gray-400 hidden lg:inline"></span> --}}
            </div>
        </div>
    </div>
@endif