File size: 1,470 Bytes
5f32fbd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | <a
{{ $attributes->class(['flex shrink-0 items-center justify-center']) }}
href="{{ LaravelLocalization::localizeUrl(route('dashboard.index')) }}"
>
@if (isset($setting->logo_dashboard))
<img
class="dark:hidden"
src="{{ custom_theme_url($setting->logo_dashboard_path, true) }}"
@if (isset($setting->logo_dashboard_2x_path)) srcset="/{{ $setting->logo_dashboard_2x_path }} 2x" @endif
alt="{{ $setting->site_name }}"
>
<img
class="hidden dark:block"
src="{{ custom_theme_url($setting->logo_dashboard_dark_path, true) }}"
@if (isset($setting->logo_dashboard_dark_2x_path)) srcset="/{{ $setting->logo_dashboard_dark_2x_path }} 2x"
@endif
alt="{{ $setting->site_name }}"
>
@else
<img
class="dark:hidden"
src="{{ custom_theme_url($setting->logo_path, true) }}"
@if (isset($setting->logo_2x_path)) srcset="/{{ $setting->logo_2x_path }} 2x" @endif
alt="{{ $setting->site_name }}"
>
<img
class="hidden dark:block"
src="{{ custom_theme_url($setting->logo_dark_path, true) }}"
@if (isset($setting->logo_dark_2x_path)) srcset="/{{ $setting->logo_dark_2x_path }} 2x" @endif
alt="{{ $setting->site_name }}"
>
@endif
</a> |