<!doctype html>
<html class="no-js " lang="en">

<head>
    @php
    $settings = \App\Models\GeneralSetting::find(1);
    @endphp
    
        <meta charset="utf-8">
        <meta http-equiv="x-admin-ua-compatible" content="ie=edge">
        <title>@if($settings){{$settings->site_title}}@endif</title>
        @yield('meta-content')
        <link rel="shortcut icon" type="image/x-admin-icon" href="@if($settings){{ asset('admin-assets/images/logos') }}/{{$settings->favicon}}@endif">
    <x-admin-styles-component></x-admin-styles-component>
    @yield('custom-styles')

</head>

<body class="theme-black">

    <x-admin-sidebars-component></x-admin-sidebars-component>
    <!-- Main Content -->
    <section class="content home">
        <div class="container-fluid">
            <div class="block-header">
                <div class="row clearfix">
                    <div class="col-lg-5 col-md-5 col-sm-12">
                        <h2>{{$page_data['title']}}</h2>
                        <ul class="breadcrumb padding-0">
                            <li class="breadcrumb-item"><a href="index.html"><i class="zmdi zmdi-home"></i></a></li>
                            <li class="breadcrumb-item active">{{$page_data['slug']}}</li>
                        </ul>
                    </div>
                    <div class="col-lg-7 col-md-7 col-sm-12">
                        <div class="input-group m-b-0">
                            <input type="text" class="form-control" placeholder="Search...">
                            <span class="input-group-addon">
                                <i class="zmdi zmdi-search"></i>
                            </span>
                        </div>
                    </div>
                </div>
            </div>
            @yield('content')
        </div>
    </section>

    <!-- Jquery Core Js -->
    <x-admin-scripts-component></x-admin-scripts-component>
    <script>
        $(".alert").delay(4000).slideUp(200, function() {
            $(this).alert('close');
        });
    </script>
    @yield('custom-scripts')
</body>

</html>
