|
|
<div>
|
|
|
<div class="sm:mx-auto sm:w-full sm:max-w-md">
|
|
|
<a href="{{ route('home') }}">
|
|
|
<x-logo class="w-auto h-16 mx-auto text-indigo-600" />
|
|
|
</a>
|
|
|
|
|
|
<h2 class="mt-6 text-3xl font-extrabold text-center text-gray-900 leading-9">
|
|
|
{{ __('user_categories.individual') }}
|
|
|
</h2>
|
|
|
|
|
|
<p class="mt-2 text-sm text-center text-gray-600 leading-5 max-w">
|
|
|
Ou
|
|
|
<a href="{{ route('login') }}" class="font-medium text-indigo-600 hover:text-indigo-500 lowercase focus:outline-none focus:underline transition ease-in-out duration-150">
|
|
|
{{ __('auth.login') }}
|
|
|
</a>
|
|
|
</p>
|
|
|
</div>
|
|
|
|
|
|
<div class="mt-8 sm:mx-auto sm:w-full sm:max-w-md">
|
|
|
<div class="px-4 py-8 bg-white shadow sm:rounded-lg sm:px-10">
|
|
|
<form wire:submit.prevent="register">
|
|
|
<div>
|
|
|
<label for="name" class="block text-sm font-medium text-gray-700 leading-5">
|
|
|
{{ __('users.attributes.name') }}
|
|
|
</label>
|
|
|
|
|
|
<div class="mt-1 rounded-md shadow-sm">
|
|
|
<input wire:model.lazy="name" id="name" type="text" required autofocus class="appearance-none block w-full px-3 py-2 border border-gray-300 rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5 @error('name') border-red-300 text-red-900 placeholder-red-300 focus:border-red-300 focus:shadow-outline-red @enderror" />
|
|
|
</div>
|
|
|
|
|
|
@error('name')
|
|
|
<p class="mt-2 text-sm text-red-600">{{ $message }}</p>
|
|
|
@enderror
|
|
|
</div>
|
|
|
|
|
|
<div class="mt-6">
|
|
|
<label for="email" class="block text-sm font-medium text-gray-700 leading-5">
|
|
|
{{ __('users.attributes.email') }}
|
|
|
</label>
|
|
|
|
|
|
<div class="mt-1 rounded-md shadow-sm">
|
|
|
<input wire:model.lazy="email" id="email" type="email" required class="appearance-none block w-full px-3 py-2 border border-gray-300 rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5 @error('email') border-red-300 text-red-900 placeholder-red-300 focus:border-red-300 focus:shadow-outline-red @enderror" />
|
|
|
</div>
|
|
|
|
|
|
@error('email')
|
|
|
<p class="mt-2 text-sm text-red-600">{{ $message }}</p>
|
|
|
@enderror
|
|
|
</div>
|
|
|
|
|
|
<div class="mt-6">
|
|
|
<span class="block w-full rounded-md shadow-sm">
|
|
|
<button type="submit" class="flex justify-center w-full px-4 py-2 text-sm font-medium text-white bg-indigo-600 border border-transparent rounded-md hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:shadow-outline-indigo active:bg-indigo-700 transition duration-150 ease-in-out">
|
|
|
{{ __('auth.register') }}
|
|
|
</button>
|
|
|
</span>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|