Refactor forgot password page layout

This commit is contained in:
Andras Bacsai 2024-03-27 11:41:14 +01:00
parent a164e4bf3a
commit d92b5db320

View File

@ -1,18 +1,15 @@
<x-layout-simple> <x-layout-simple>
<div class="flex items-center justify-center h-screen"> <section class="bg-gray-50 dark:bg-base">
<div> <div class="flex flex-col items-center justify-center px-6 py-8 mx-auto md:h-screen lg:py-0">
<div class="flex flex-col items-center pb-8"> <a class="flex items-center mb-1 text-5xl font-extrabold tracking-tight text-gray-900 dark:text-white">
<a href="{{ route('dashboard') }}"> Coolify
<div class="text-5xl font-bold tracking-tight text-center dark:text-white">Coolify</div> </a> <div class="flex items-center gap-2">
</a> {{ __('auth.forgot_password') }}
{{-- <x-version /> --}}
</div> </div>
<div
<div class="flex items-center gap-2"> class="w-full bg-white shadow md:mt-0 sm:max-w-md xl:p-0 dark:bg-base ">
<h1>{{ __('auth.forgot_password') }}</h1> <div class="p-6 space-y-4 md:space-y-6 sm:p-8">
</div> @if (is_transactional_emails_active())
<div>
@if (is_transactional_emails_active())
<form action="/forgot-password" method="POST" class="flex flex-col gap-2"> <form action="/forgot-password" method="POST" class="flex flex-col gap-2">
@csrf @csrf
<x-forms.input required type="email" name="email" label="{{ __('input.email') }}" autofocus /> <x-forms.input required type="email" name="email" label="{{ __('input.email') }}" autofocus />
@ -37,7 +34,9 @@
{{ session('status') }} {{ session('status') }}
</div> </div>
@endif @endif
</div>
</div> </div>
</div> </div>
</div> </section>
</x-layout-simple> </x-layout-simple>