@vite(['resources/css/app.css', 'resources/js/app.js'])
@php try { $logoPath = \App\Models\SystemSetting::get('logo_path'); $logoDarkPath = \App\Models\SystemSetting::get('logo_dark_path'); $siteName = \App\Models\SystemSetting::get('site_name', 'Appy'); $siteTagline = \App\Models\SystemSetting::get('site_tagline', 'Build native apps'); } catch (\Exception $e) { $logoPath = null; $logoDarkPath = null; $siteName = 'Appy'; $siteTagline = 'Build native apps'; } @endphp @if($logoPath && $logoDarkPath) {{ $siteName }} @elseif($logoPath) {{ $siteName }} @elseif($logoDarkPath) {{ $siteName }} @else
{{ $siteName }}

{{ $siteTagline }}

@endif
@yield('header')
@if ($errors->any()) @endif @if (session('success')) @endif @if (session('error')) @endif @yield('content')
@hasSection('footer')
@yield('footer')
@endif

© {{ date('Y') }}. {{ __('common.all_rights_reserved') }}