<?php
$repairLink = Config("params.book_repair_link")
?>


<header class="header {{$headerClass}} py-2">
    <div class="row  justify-content-center mx-0">
        <div class="col-lg-11 px-lg-0">
            <div class="row align-items-center">
                <div class="col-lg-4 col-md-4 col-2 pr-md-3 pr-0">
                    <button type="button" class="menu-toggle-icon" aria-label="Toggle Navigation" >
                        <span class="top"></span>
                        <span class="middle"></span>
                        <span class="bottom"></span>
                    </button>
                    <a href="{{url('/')}}" class="trust-pilot-logo ml-3"><img src="{{ asset('/front/images/trustpilot-logo.svg') }}" width="150"
                                                                             alt=""></a>
                    <a href="https://portal.joblogic.com/" rel="nofollow" target="_blank" title="Login to JobLogic Web" class="btn btn-secondary book-repaire ml-3">Book Your Repair</a>
                    <a href=" <?php if (!empty(auth('customers')->user())) { echo url('account'); } else {echo url('login');}?>" class="btn btn-default mx-1 login">My Account</a>
                </div>
                <div class="col-lg-4 col-md-4 col-9 text-center">
                    <a href="{{url('')}}" class="logo">
                        <img src="{{ asset('/front/images/logo.svg') }}" width="250" height="47" class="img-fluid" alt="Homeflo Ltd">
                    </a>
                </div>
                <div class="col-lg-4 col-md-4  text-md-right text-center mt-md-0 mt-2">
                    <a href="https://portal.joblogic.com/" target="_blank" class="btn btn-secondary d-md-none d-inline-block mr-2"><i class="fas fa-calendar d-md-none d-inline-block"></i><span class="d-md-inline-block d-none">Book Your Repair</span></a>
                    <?php if (!empty(auth('customers')->user())) { ?>
                        <a href=" <?php if (!empty(auth('customers')->user())) { echo url('account'); } else {echo url('login');}?>" class="btn btn-default mx-1 d-md-none d-inline-block"><i class="far fa-user"></i></a>
                        <a href="{{url('logout')}}" class="btn btn-primary mx-1 d-md-inline-block d-none">Logout</a>
                    <?php }else{ ?>
                        <a href=" <?php echo url('login'); ?>" class="btn btn-primary d-md-none d-inline-block"><i class="fas fa-user-lock"></i></a>
                    <?php } ?>
                    @if(isset($cell))
                    <a href="tel:{{$cell->content}}" class="btn btn-secondary btn-phone"><i class="fas fa-phone fa-flip-horizontal mx-md-1"> </i> <span>{{$cell->content}}</span></a>
                    @endif
                    <a href="{{url('get_covered')}}" class="btn btn-primary btn-get-covered mx-1"><i class="far fa-hand-point-right mr-md-1 d-md-inline-block d-none"></i><span class="d-inline-block">Get Covered</span></a>


                    

                </div>
            </div>
        </div>
    </div>
</header>

@include('front/common/navigation')