<!DOCTYPE html>
<html lang="en">
<x-head />

<body class="custom-cursor">

    <div class="custom-cursor__cursor"></div>
    <div class="custom-cursor__cursor-two"></div>

    <x-loader />
    @if (!(request()->routeIs('admin.dashboard')))
        <x-chat_popup />
    @endif
    <x-side_content />

    <div class="page-wrapper">
        {{-- Hide header for admin dashboard --}}
        @if (!(request()->routeIs('admin.dashboard')))
            <x-header_one />
            <x-stricky_header />
        @endif

        @yield('content')

        <x-mobile_nav />
        <x-search_popup />
        <x-scroll_to_top />
        <x-scripts />

</body>

</html>
