performance updates
This commit is contained in:
@@ -8,13 +8,15 @@
|
||||
<title>{{ __('Log in') }} - {{ config('app.name', 'Systems Helpdesk') }}</title>
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('favicon-32x32.png') }}">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('apple-touch-icon.png') }}">
|
||||
@vite('resources/themes/backend/assets/css/auth.css')
|
||||
<style>
|
||||
{!! file_get_contents(resource_path('themes/backend/assets/css/auth.css')) !!}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main class="auth-main">
|
||||
<div class="auth-wrap">
|
||||
<a class="auth-brand" href="{{ route('home') }}" aria-label="{{ config('app.name', 'Systems Helpdesk') }}">
|
||||
<img src="{{ asset('favicon-96x96.png') }}" width="48" height="48" alt="">
|
||||
<img src="{{ asset('favicon-48x48.webp') }}" width="48" height="48" alt="" decoding="async">
|
||||
</a>
|
||||
|
||||
<section class="auth-card" aria-labelledby="login-heading">
|
||||
@@ -25,12 +27,6 @@
|
||||
<div class="status" role="status">{{ session('status') }}</div>
|
||||
@endif
|
||||
|
||||
<div id="passkey-area" hidden>
|
||||
<button id="passkey-button" class="btn btn-passkey" type="button">{{ __('Sign in with a passkey') }}</button>
|
||||
<p id="passkey-error" class="error passkey-error" role="alert" hidden></p>
|
||||
<div class="divider"><span>{{ __('Or continue with email') }}</span></div>
|
||||
</div>
|
||||
|
||||
<form method="POST" action="{{ route('login.store') }}">
|
||||
@csrf
|
||||
<div class="field">
|
||||
@@ -60,6 +56,12 @@
|
||||
@if (Route::has('register'))
|
||||
<p class="signup">{{ __('Don\'t have an account?') }} <a class="link" href="{{ route('register') }}">{{ __('Sign up') }}</a></p>
|
||||
@endif
|
||||
|
||||
<div id="passkey-area" hidden>
|
||||
<div class="divider"><span>{{ __('Or') }}</span></div>
|
||||
<button id="passkey-button" class="btn btn-passkey" type="button">{{ __('Sign in with a passkey') }}</button>
|
||||
<p id="passkey-error" class="error passkey-error" role="alert" hidden></p>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user