<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}" dir="ltr" class="h-full font-sans antialiased">
<head>
    <meta name="theme-color" content="#fff">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width"/>
    <meta name="locale" content="tk"/>
    <meta name="robots" content="noindex">

    <link rel="shortcut icon" href="/favicon.png" type="image/png">
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
    <link rel="manifest" href="/site.webmanifest">
    <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">

    <!-- Styles -->
    <link rel="stylesheet" href="/assets/css/auth-layout.css">
    <link rel="stylesheet" href="/assets/css/auth.css">
    <link rel="stylesheet" href="/assets/css/cookieconsent.css">
</head>
<body>
    <div>
        <div class="bg-white flex justify-between px-4 py-1 absolute w-full shadow-none shadow-lg">
            <div class="px-8 text-sm p-1 rounded uppercase font-bold padding-none">
                <a href="#" class="d-none-copyright"> “Türkmenbaşy” PTB © </a>
            </div>
            <div class="flex items-center">
                <a href="tel:+99312444234" class="mr-6 text-sm text-gray-900">(+99312) 44-42-34</a>
                <a href="#" class="mr-6 text-sm text-gray-900 uppercase">{{ __('module.base-auth::base.help') }}</a>

                <div class="flex text-sm text-gray-90a0 space-x-1 uppercase">
                    @if (module('BaseLocale')->isEnabled())
                        @foreach(baseLocales() as $localeKey => $localeDisplayName)
                            <a
                                href="{{ route('module.base-locale.set-locale', ['locale' => $localeKey]) }}"
                                class="{{ app()->getLocale() === $localeKey ? 'font-bold' : '' }}"
                            >
                                {{ $localeKey }}

                                @unless($loop->last)
                                    |
                                @endif
                            </a>
                        @endforeach
                    @endif
                </div>

            </div>
        </div>

        <div class="login-section d-center items-center h-screen">
            <div class="d-none h-full max-w-4xl">
                <img src="/assets/images/bank-img.PNG" class="h-full object-cover">
            </div>

            <div class="relative">
                @yield('content')

                <div class="text-center relative" style="top: 4em;">
                    <a href="/privacy-policy.pdf" class="text-gray-500 font-bold text-underline" target="_blank">
                        {{ __('module.base-auth::base.privacy_policy')  }}
                    </a>
                </div>
            </div>
        </div>
    </div>

    <script src="/assets/js/inputmask.min.js"></script>
    <script src="/assets/js/sweetalert2.js"></script>

    <script src="/assets/js/cookieconsent.js"></script>
    <script src="/assets/js/fn.js"></script>
    <script src="/assets/js/app.js"></script>
    
    @stack('js')
</body>
</html>

