<!-- Start preloader -->
    <div class="loader-wrap">
        <div class="preloader">
            <div class="preloader-close">x</div>
            <div id="handle-preloader" class="handle-preloader">
                <div class="animation-preloader">
                    <div class="spinner"></div>
                    <div class="txt-loading">
                        <span data-text-preloader="t" class="letters-loading">
                            t
                        </span>
                        <span data-text-preloader="a" class="letters-loading">
                            a
                        </span>
                        <span data-text-preloader="k" class="letters-loading">
                            k
                        </span>
                        <span data-text-preloader="e" class="letters-loading">
                            e
                        </span>
                        <span data-text-preloader="h" class="letters-loading">
                            h
                        </span>
                        <span data-text-preloader="o" class="letters-loading">
                            o
                        </span>
                        <span data-text-preloader="u" class="letters-loading">
                            u
                        </span>
                        <span data-text-preloader="s" class="letters-loading">
                            s
                        </span>
                        <span data-text-preloader="e" class="letters-loading">
                            e
                        </span>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- End preloader -->


    <div class="page-wrapper">

        <header class="main-header main-header-style1 header-custom">
            <nav class="main-menu main-menu-style1">
                <div class="main-menu__wrapper clearfix">
                    <div class="container">
                        <div class="main-menu__wrapper-inner">

                            <div class="logo-box-style1">
                                <a href="./">
                                    <img src="assets/images/logo.png" alt="Take House" title="">
                                </a>
                            </div>


                            <div class="main-menu-box">
                                <a href="#" class="mobile-nav__toggler">
                                    <i class="icon-menu"></i>
                                </a>

                                <ul class="main-menu__list">
                                    <li>
                                        <a href="javascript:void(0);">Home</a>
                                    </li>
                                    <li>
                                        <a href="javascript:void(0);">About</a>
                                    </li>
									<li>
                                        <a href="javascript:void(0);">Rent</a>
                                    </li>
									<li>
                                        <a href="javascript:void(0);">Contact</a>
                                    </li>
									<li>
                                        <a href="javascript:void(0);">Help</a>
                                    </li>
                                </ul>
                            </div>

                            <?php if(isset($isLoggedIn) && $isLoggedIn == true):?>
                                <div class="main-menu-style1-right">
                                    <ul class="main-menu__list">
                                        <li class="dropdown">
                                            <a href="javascript:void(0);">{{ $user->name;}}</a>
                                            <ul>
                                                <li><a href="{{route('property.add')}}">Add Property</a></li>
                                                <li><a href="javascript:void(0);">Profile</a></li>
                                                <li><a href="{{route('property.listing.user')}}">Listing</a></li>
                                                <li><a href="javascript:void(0);">Favorite</a></li>
                                                <li>
                                                        <form method="POST" action="{{ route('logout') }}">
                                                            @csrf

                                                            <x-responsive-nav-link :href="route('logout')"
                                                                    onclick="event.preventDefault();
                                                                                this.closest('form').submit();">
                                                                {{ __('Log Out') }}
                                                            </x-responsive-nav-link>
                                                        </form>
                                                </li>
                                            </ul>
                                        </li>
                                    </ul>
                                </div>
                            <?php else:?>
                                <div class="main-menu-style1-right">
                                    <div class="sign-in-box-style1">
                                        <span class="icon-user"></span>
                                        <a href="{{ route('login') }}">
                                            Sign In
                                        </a>
                                    </div>
                                </div>
                            <?php endif;?>
                        </div>
                    </div>
                </div>
            </nav>
        </header>


        <div class="stricky-header stricked-menu main-menu">
            <div class="sticky-header__content"></div><!-- /.sticky-header__content -->
        </div><!-- /.stricky-header -->