@props(['title' => null]) {{ $title ? $title.' — ' : '' }}{{ config('brand.name.'.app()->getLocale()) }} @vite(['resources/css/app.css', 'resources/js/app.js']) @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)) @php($contact = \App\Services\SystemSettings::contactDetails($locale))
@if ($logo) {{ $name }} @else @endif {{ $name }}
@if (\App\Services\SystemSettings::switcherEnabled()) @endif
{{ $slot }}