40 lines
1.8 KiB
PHP
40 lines
1.8 KiB
PHP
@php
|
|
$options = \App\Enums\UserTypes::labels();
|
|
@endphp
|
|
<x-layout title="Register">
|
|
<section
|
|
class="bg-linear-135 flex-1 overflow-y-scroll wrapper py-12 from-[#EFF6FF] to-[#FCF3F8] ">
|
|
<div class="flex flex-col items-center justify-center">
|
|
|
|
<div class="mb-12 self-start ">
|
|
<a href="{{route('home')}}" class="flex hover:underline">
|
|
<x-heroicon-o-arrow-left class="w-4 mr-2"/>
|
|
Back to Home
|
|
</a>
|
|
</div>
|
|
<x-card class="sm:w-96 w-full ">
|
|
<div class="flex flex-col items-center space-y-5">
|
|
<x-logo class="w-fit"/>
|
|
<h1 class="font-bold text-2xl">Create Account</h1>
|
|
<p class=" text-accent-600 text-sm">Join {{config('app.name')}} and start discovering great
|
|
deals</p>
|
|
</div>
|
|
<form action="" class="flex flex-col space-y-5">
|
|
<x-input label="Full Name" name="name" placeholder="Jhon Doe"/>
|
|
<x-input label="Email" name="email" type="email" placeholder="you@example.com"/>
|
|
<x-select :options="$options" value-key="value" label-key="label" label="Account Type"/>
|
|
<x-input label="Password" name="password" type="password"/>
|
|
<x-input label="Confirm Password" name="password_confirmation" type="password"/>
|
|
|
|
<x-button variant="neutral">Create Account</x-button>
|
|
</form>
|
|
|
|
<p class="text-center text-accent-600 text-xs">Already have an account?
|
|
<a href="{{route('login')}}" class="text-blue-500 font-bold">Sign In</a>
|
|
</p>
|
|
</x-card>
|
|
|
|
</div>
|
|
</section>
|
|
</x-layout>
|