<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,minimal-ui">
    <meta name="author" content="{{ website_config('main')->meta_author }}" />
    <meta name="keywords" content="{{ website_config('main')->meta_keywords }}" />
    <meta name="description" content="{{ website_config('main')->meta_description }}" />
    <title>{{ website_config('main')->website_name }}</title>
    <link rel="shortcut icon" href="{{ url('file/images/'.website_config('main')->website_favicon.'') }}">
    <link href="{{ asset('assets/'.website_config('template')->number.'/libs/sweetalert2/sweetalert2.min.css') }}" rel="stylesheet" type="text/css" />
    <link href="{{ asset('assets/'.website_config('template')->number.'/css/bootstrap.min.css') }}" rel="stylesheet" type="text/css" />
    <link href="{{ asset('assets/'.website_config('template')->number.'/css/icons.min.css') }}" rel="stylesheet" type="text/css" />
    <link href="{{ asset('assets/'.website_config('template')->number.'/css/app.min.css') }}" rel="stylesheet" type="text/css" />
    <link href="{{ asset('assets/custom.css') }}" rel="stylesheet" type="text/css" />
</head>
<body class="bg-primary bg-pattern">
    <div class="account-pages my-5 w-100">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <div class="text-center mb-2">
                        @if (website_config('main')->website_logo_light <> null)
                        <a href="javascript:void(0);" class="logo">
                            <img src="{{ url('file/images/'.website_config('main')->website_logo_light.'') }}" height="35" alt="logo">
                        </a>
                        @else
                        <a href="javascript:void(0);" class="logo text-uppercase text-white" style="font-size: 20px; font-weight: Bold;">
                            <span clas="text-uppercase text-white">{{ website_config('main')->website_name }}</span>
                        </a>
                        @endif
                    </div>
                </div>
            </div>
            <div class="row justify-content-center">
                <div class="col-lg-5">
                    <div class="card">
                        <div class="card-body">
                            <div class="">
                                @include('admin.layouts.alert')
                                @yield('content')
                            </div>
                        </div>
                    </div>
                    @yield('another-page')
                </div>
            </div>
        </div>
    </div>
    <script src="{{ asset('assets/'.website_config('template')->number.'/libs/jquery/jquery.min.js') }}"></script>
    <script src="{{ asset('assets/'.website_config('template')->number.'/libs/bootstrap/js/bootstrap.bundle.min.js') }}"></script>
    <script src="{{ asset('assets/'.website_config('template')->number.'/libs/metismenu/metisMenu.min.js') }}"></script>
    <script src="{{ asset('assets/'.website_config('template')->number.'/libs/simplebar/simplebar.min.js') }}"></script>
    <script src="{{ asset('assets/'.website_config('template')->number.'/libs/node-waves/waves.min.js') }}"></script>
    <script src="{{ asset('assets/'.website_config('template')->number.'/libs/sweetalert2/sweetalert2.min.js') }}"></script>
    <script src="{{ asset('assets/'.website_config('template')->number.'/js/app.js') }}"></script>
    @yield('script')
</body>
</html>
