@php $user_avatar = Auth::user()->avatar; if (!Auth::user()->github_token && !Auth::user()->google_token && !Auth::user()->facebook_token) { $user_avatar = '/' . $user_avatar; } @endphp
!$attributes->get('layout-wide'), Theme::getSetting('wideLayoutPaddingX', '') => filled(Theme::getSetting('wideLayoutPaddingX', '')) && $attributes->get('layout-wide'), ])> {{-- Mobile nav toggle and logo --}} {{-- Title slot --}} @if ($title ?? false) @endif {{-- Search form --}}
{{-- Action buttons --}} @if ($actions ?? false) {{ $actions }} @else
@if (Auth::user()->type == 'admin') {{ __('Admin Panel') }} @endif @if ($settings_two->liquid_license_type == 'Extended License') @if (getSubscriptionStatus()) {{ getSubscriptionName() }} - {{ getSubscriptionDaysLeft() }} {{ __('Days Left') }} @else {{ __('No Active Subscription') }} @endif {{ __('Upgrade') }} @endif
@endif
{{-- Dark/light switch --}} {{-- Language dropdown --}} @if (count(explode(',', $settings_two->languages)) > 1) @foreach (LaravelLocalization::getSupportedLocales() as $localeCode => $properties) @if (in_array($localeCode, explode(',', $settings_two->languages))) {{ country2flag(substr($properties['regional'], strrpos($properties['regional'], '_') + 1)) }} {{ $properties['native'] }} @endif @endforeach @endif {{-- Upgrade button on mobile --}} {{-- User menu --}}

{{ Auth::user()->fullName() }}

{{ Auth::user()->email }}