@if(Session::has('authenticated') && Session::get('authenticated') == true)
@include('layouts.home.auth.header')
@else
@if ((\Request::route()->getName() == 'login') || (\Request::route()->getName() == 'register') || (\Request::route()->getName() == 'password.request'))
@include('layouts.header')
@elseif (\Request::route()->getName() == 'restaurant-login' || \Request::route()->getName() == 'restaurant-recover-data' || \Request::route()->getName() == 'restaurant-recover-password' || \Request::route()->getName() == 'restaurant-activate-account')
@include('layouts.partnerHeader')
@else @include('layouts.home.header')
@endif
@endif
{{-- @if (\Session::has('success'))--}}
{{--
--}}
{{--
--}}
{{-- - {!! \Session::get('success') !!}
--}}
{{--
--}}
{{--
--}}
{{-- @elseif (\Session::has('danger'))--}}
{{--
--}}
{{--
--}}
{{-- - {!! \Session::get('danger') !!}
--}}
{{--
--}}
{{--
--}}
{{-- @endif--}}
@yield('content')
@include('layouts.partials.modals.login')
@include('layouts.partials.modals.register')
@include('layouts.partials.modals.profileActivationCode')
@include('layouts.home.footer')
@include('layouts.js')
@yield('custom-js')
@include('configurations.mixpanel')
@include('configurations.tracking')