{{-- ===== TOP BAR ===== --}}
@auth('web') {{ trim(auth('web')->user()->full_name) ?: __('sections.topbar.my_account') }}
@else {{ __('sections.topbar.my_account') }}
{{ __('sections.topbar.sign_up') }}
@endauth @if(isset($activeLanguages) && $activeLanguages->count() > 1)
{{ $currentLocaleName ?? __('client.topbar.language') }}
@foreach($activeLanguages as $language) {{ $language->native_name }} @endforeach
@else {{ __('client.topbar.language') }} @endif
@if(isset($customerCurrencyChoice) && $customerCurrencyChoice->count() > 1) {{-- The visitor's currency, kept for the session (CustomerCurrency). --}}
{{ $displayCurrency?->code ?? currency_code_default() }}
@elseif(($customerCurrencyEnabled ?? false) && $displayCurrency) {{-- A customer's account currency: changed by staff, not by a link. --}} {{ $displayCurrency->code }} @else {{-- The shop's own currency, not a word from the language file: that printed "TRY" on every Turkish page, whatever the shop sells in. --}} {{ currency_code_default() }} @endif