@php($locale = app()->getLocale()) @php($name = \App\Services\SystemSettings::institutionName($locale)) @php($slogan = \App\Services\SystemSettings::institutionSlogan($locale)) @php($logo = \App\Services\SystemSettings::logoPath() ?? (config('brand.logo') && file_exists(public_path(config('brand.logo'))) ? config('brand.logo') : null))
@if ($logo) {{ $name }} @else @endif {{ $name }}