<!doctype html>
<html lang="<?php echo e(config('app.locale')); ?>">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <title><?php echo e(config('app.name', 'ultimatePOS')); ?></title>

        <!-- Fonts -->
        <link href="https://fonts.googleapis.com/css?family=Raleway:100,300,600" rel="stylesheet" type="text/css">

        <!-- Styles -->
        <style>
            html, body {
                background-color: #fff;
                color: #636b6f;
                font-family: 'Raleway', sans-serif;
                font-weight: 100;
                height: 100vh;
                margin: 0;
                background-color: #ffffff;
                background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.12'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            }

            .full-height {
                height: 100vh;
            }

            .flex-center {
                align-items: center;
                display: flex;
                justify-content: center;
            }

            .position-ref {
                position: relative;
            }

            .top-right {
                position: absolute;
                right: 10px;
                top: 18px;
            }

            .content {
                text-align: center;
            }

            .title {
                font-size: 84px;
            }

            .links > a {
                color: #636b6f;
                padding: 0 25px;
                font-size: 12px;
                font-weight: 600;
                letter-spacing: .1rem;
                text-decoration: none;
                text-transform: uppercase;
            }

            .m-b-md {
                margin-bottom: 30px;
            }

            .tagline{
                font-size:25px;
                font-weight: 300;
            }
        </style>
    </head>
    <body>
        <div class="flex-center position-ref full-height">
            <div class="top-right links">

                <?php if(Route::has('login')): ?>
                    <?php if(Auth::check()): ?>
                        <a href="<?php echo e(action('HomeController@index')); ?>"><?php echo e(app('translator')->getFromJson('home.home')); ?></a>
                    <?php else: ?>
                        <a href="<?php echo e(action('Auth\LoginController@login')); ?>"><?php echo e(app('translator')->getFromJson('lang_v1.login')); ?></a>
                        <?php if(env('ALLOW_REGISTRATION', true)): ?>
                            <a href="<?php echo e(route('business.getRegister')); ?>"><?php echo e(app('translator')->getFromJson('lang_v1.register')); ?></a>
                        <?php endif; ?>
                    <?php endif; ?>
                <?php endif; ?>

                <?php if(Route::has('pricing') && config('app.env') != 'demo'): ?>
                    <a href="<?php echo e(action('\Modules\Superadmin\Http\Controllers\PricingController@index')); ?>"><?php echo e(app('translator')->getFromJson('superadmin::lang.pricing')); ?></a>
                <?php endif; ?>
            </div>

            <div class="content">
                <div class="title m-b-md" style="font-weight: 600 !important">
                    <?php echo e(config('app.name', 'ultimatePOS')); ?>

                </div>
                <p class="tagline">
                    <?php echo e(env('APP_TITLE', '')); ?>

                </p>
            </div>
        </div>
    </body>
</html>
