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

<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
    @include('front/common/header')
    <body>

        <main id="main" role="main">


            <header class="header position-relative bg-white py-md-3 py-2">
                <div class="container-fluid px-md-5">
                    <div class="row align-items-center">
                        <div class="col-md-6 text-md-left text-center">
                            <a href="{{url("/")}}" class="logo ml-md-0 mx-auto">
                                <img src="{{ asset('/front/images/logo.svg') }}" class="img-fluid" alt="">
                            </a>
                        </div>
                        <div class="col-md-6 text-md-right text-center mt-md-0 mt-3">
                            <a href="<?php echo $repairLink ?>" target="_blank" class="btn btn-secondary  mr-2">Book Your Repair</a>
                            <a href="{{url("logout")}}" class="btn btn-primary px-4 mr-2">LOGOUT</a>
                        </div>
                    </div>
                </div>
            </header>

            <section class="py-lg-5 py-3">
                <div class="container-fluid px-md-5">
                    <div class="px-lg-5">
                        <div class="row shadow">
                            <div class="col-lg-4 px-lg-5 py-lg-3 mb-lg-0 mb-4">
                                <ul class="dash-left-menu">
                                    <li><a href="{{url("account")}}"><img src="{{ asset('/front/images/ic_my_account.png') }}" class="mr-3" alt="MY ACCOUNT"> MY ACCOUNT</a></li>
                                    <li><a href="{{url("my-package")}}"><img src="{{ asset('/front/images/ic_my_package.png') }}" class="mr-3" alt="My Package"> My Package</a></li>
                                    <li><a href="{{url("my-payment-method")}}"><img src="{{ asset('/front/images/ic_payment_cards.png') }}" class="mr-3" alt="Payment Cards"> Payment Cards</a></li>
                                    <li><a href="{{url("my-transactions")}}"><img src="{{ asset('/front/images/ic_transactions.png') }}" class="mr-3" alt="Transactions"> Transactions</a></li>
                                    <li><a href="{{url("logout")}}"><img src="{{ asset('/front/images/ic_logout.png') }}" class="mr-3" alt="Logout"> Logout</a></li>
                                </ul>
                                <div class="pt-md-5 pt-3">
                                    <strong>Call Us 24/7 Help line</strong>
                                    <p class="mt-2 mb-4"><a href="tel:08004220124" class="btn btn-lg btn-primary btn-block dash-link phone">0800 422 0124</a></p>
                                    <strong>Email Customer Service</strong>
                                    <p class="mt-2 mb-4"><a href="mailto:customerservice@homeflo.co.uk" class="btn btn-lg btn-primary btn-block dash-link email">customerservice@homeflo.co.uk</a></p>
                                    <p class="pt-md-4"><a href="<?php echo $repairLink ?>" target="_blank" class="btn btn-lg btn-success btn-block dash-link book">Book A Repair</a></p>
                                </div>
                            </div>
                            @yield('content')
                        </div>
                    </div>
                </div>
            </section>

        </main>

        @include('front/common/js')

        @yield('myscript')

        <script>

        </script>
    </body>
</html>