<!doctype html>
<html lang="en">

{{-- user auth head part included here --}}
@include('frontend.layouts.user.partials._head')

<body>
<div class="page">

    {{--validation error notification--}}
    @if ( !$errors->isEmpty() && $errors->any())
        @php
            notifyEvs('error', $errors->first());
            session()->flash('errors', $errors);
            session()->save();
        @endphp
    @endif

    @include('frontend.layouts.user.partials._navbar')

    <div class="page-wrapper">

        {{-- Page header --}}
        @include('frontend.layouts.user.partials._page_header')

        <div class="page-body">
            <div class="container-xl">

                {{-- page content here --}}
                @yield('user-content')
            </div>
        </div>

        @include('frontend.layouts.user.partials._footer')
    </div>
</div>
{{-- user auth script part included here--}}
@include('frontend.layouts.user.partials._script')
</body>
</html>
