@props([ 'title' => 'RemoteMatch', 'max' => 'max-w-6xl', ]) @php $frontendUser = auth('web')->user(); $brandName = setting('general.application_name', config('app.name', 'RemoteMatch')); $ctaText = setting('branding.landing_page_cta_text', 'Get Matched'); $faviconUrl = \App\Support\Branding::assetUrl(setting('branding.favicon')); @endphp {{ $title }}{{ $title !== $brandName ? ' - '.$brandName : '' }} @if ($faviconUrl) @endif @vite(['resources/css/app.css', 'resources/js/app.js']) @stack('head')
@if ($frontendUser)
@if ($frontendUser->canViewMatchedJobs()) @endif
@csrf
@else @endif
{{ $slot }}
@unless ($frontendUser) @endunless