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,17 +1,14 @@
<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>
<div>
@if (is_transactional_emails_active()) @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
@ -40,4 +37,6 @@
</div> </div>
</div> </div>
</div> </div>
</section>
</x-layout-simple> </x-layout-simple>