14 lines
724 B
PHP
14 lines
724 B
PHP
@php
|
|
$panelName = \App\Models\DnsSetting::get('panel_name', 'Jabali');
|
|
$customLogo = \App\Models\DnsSetting::get('custom_logo');
|
|
$logoUrl = $customLogo ? asset('storage/' . $customLogo) : asset('images/jabali_logo.svg');
|
|
@endphp
|
|
<style>
|
|
.dark .jabali-logo-img { filter: invert(1) brightness(2); }
|
|
.dark .jabali-footer-logo { filter: invert(1) brightness(2); }
|
|
</style>
|
|
<div style="display: flex; align-items: center; gap: 10px; flex-direction: row;">
|
|
<img src="{{ $logoUrl }}" alt="{{ $panelName }}" style="height: 50px; width: 50px; flex-shrink: 0;" class="jabali-logo-img">
|
|
<span style="font-size: 1.5rem; font-weight: 700;" class="text-gray-900 dark:text-white">{{ $panelName }}</span>
|
|
</div>
|