{{-- Font Awesome CDN --}} {{-- modal script --}} {{-- font url --}} {{-- hedvig font --}} {{-- swiper --}} {{-- guest layout --}} @if (Request::routeIs('show.login*') || Request::routeIs('show.register*'))
{{ $slot }}
@if (Request::routeIs('show.register')) {{-- register button --}} @elseif (Request::routeIs('show.login')) @endif
{{-- intern layout --}} @elseif (Request::routeIs('users.dashboard*') || Request::routeIs('users.settings*') || Request::routeIs('users.dtr*') || Request::routeIs('users.request*'))
@php $profile = \App\Models\Profile::where('id', Auth::user()->profile_id)->first(); $file = \App\Models\File::where('id', $profile->file_id)->first(); @endphp
{{ $slot }}
{{-- admin layout --}} @elseif (Request::routeIs('admin*')) @props(['breadcumb' => '', 'page' => ''])
{{ $slot }}
@else {{-- login / register form layout --}}
{{ $slot }}
@endif