<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <title>{{ config('app.name', 'Alliance Services SSO Login') }}</title>
    <!-- Scripts -->
    @if(file_exists(public_path('build/manifest.json')) || file_exists(public_path('hot')))
        @vite(['resources/sass/app.scss', 'resources/js/app.js'])
    @else
    @endif
</head>
<body>
<div class="d-flex justify-content-center align-items-center min-vh-75">
    <div class="container">
        <div class="row">
            <div class="col">
            </div>
        </div>
        <div class="row">
            <div class="col">
            </div>
            <div class="col">
                <div class="card">
                    @if (session('error'))
                        <div class="error">{{ session('error') }}</div>
                    @endif
                    <h1 class="card-img-top" style="margin:0 0 16px;">Sign in with Eve Online</h1>
                    <div class="card-body">
                        <a class="btn-img" href="{{ route('login.eve') }}" aria-label="Login with EVE Online">
                            {{-- Put the official EVE SSO image in: public/images/eve-sso.png --}}
                            <img src="{{ asset('images/eve-sso-login-white-large.png') }}" alt="EVE Online Single Sign-On">
                        </a>
                    </div>

                    <div class="hint">Click the image to begin the EVE Online SSO flow.</div>
                </div>
            </div>
            <div class="col">
            </div>
        </div>
    </div>
</div>
</body>
</html>