12 lines
583 B
PHP
12 lines
583 B
PHP
@php
|
|
// Brand aus Variable oder Auth-User's Partner, Fallback: aktuelles Theme
|
|
$brand = $brand ?? (auth()->check() && auth()->user()->partner ? auth()->user()->partner->brand : null) ?? config('app.theme', 'b2in');
|
|
@endphp
|
|
<div class="mb-6 mx-auto flex justify-center">
|
|
<img src="{{ asset(\App\Helpers\ThemeHelper::getLogoPathForBrand($brand, 'positive')) }}"
|
|
alt="Logo"
|
|
class="h-14 w-auto dark:hidden" />
|
|
<img src="{{ asset(\App\Helpers\ThemeHelper::getLogoPathForBrand($brand, 'negative')) }}"
|
|
alt="Logo"
|
|
class="h-14 w-auto hidden dark:block" />
|
|
</div>
|