2026-02-06 11:26:13 +02:00
|
|
|
@extends('layouts.app')
|
|
|
|
|
|
|
|
|
|
@section('content')
|
2026-02-14 16:11:09 +02:00
|
|
|
<div class="min-h-screen flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8">
|
|
|
|
|
<div class="max-w-md w-full space-y-8">
|
|
|
|
|
<div>
|
2026-02-15 16:24:47 +02:00
|
|
|
<h2 class="mt-6 text-center text-3xl font-extrabold text-gray-900 dark:text-white">
|
2026-02-14 16:11:09 +02:00
|
|
|
{{ __('Register') }}
|
|
|
|
|
</h2>
|
|
|
|
|
</div>
|
2026-02-15 16:24:47 +02:00
|
|
|
<div class="bg-white dark:bg-gray-800 py-8 px-4 shadow sm:rounded-lg sm:px-10">
|
2026-02-14 16:11:09 +02:00
|
|
|
<form method="POST" action="{{ route('register') }}" class="space-y-6">
|
|
|
|
|
@csrf
|
2026-02-06 11:26:13 +02:00
|
|
|
|
2026-02-14 16:11:09 +02:00
|
|
|
<div>
|
2026-02-15 16:24:47 +02:00
|
|
|
<label for="name" class="block text-sm font-medium text-gray-700 dark:text-gray-300">
|
2026-02-14 16:11:09 +02:00
|
|
|
{{ __('Name') }}
|
|
|
|
|
</label>
|
|
|
|
|
<div class="mt-1">
|
|
|
|
|
<input id="name" type="text" name="name" value="{{ old('name') }}" required autocomplete="name" autofocus
|
2026-02-15 16:24:47 +02:00
|
|
|
class="appearance-none block w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm placeholder-gray-400 dark:placeholder-gray-500 bg-white dark:bg-gray-700 text-gray-900 dark:text-white focus:outline-none focus:ring-primary-500 focus:border-primary-500 sm:text-sm @error('name') border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500 @enderror">
|
2026-02-14 16:11:09 +02:00
|
|
|
@error('name')
|
|
|
|
|
<p class="mt-2 text-sm text-red-600">{{ $message }}</p>
|
|
|
|
|
@enderror
|
|
|
|
|
</div>
|
2026-02-06 11:26:13 +02:00
|
|
|
</div>
|
2026-02-14 16:11:09 +02:00
|
|
|
|
|
|
|
|
<div>
|
2026-02-15 16:24:47 +02:00
|
|
|
<label for="email" class="block text-sm font-medium text-gray-700 dark:text-gray-300">
|
2026-02-14 16:11:09 +02:00
|
|
|
{{ __('Email Address') }}
|
|
|
|
|
</label>
|
|
|
|
|
<div class="mt-1">
|
|
|
|
|
<input id="email" type="email" name="email" value="{{ old('email') }}" required autocomplete="email"
|
2026-02-15 16:24:47 +02:00
|
|
|
class="appearance-none block w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm placeholder-gray-400 dark:placeholder-gray-500 bg-white dark:bg-gray-700 text-gray-900 dark:text-white focus:outline-none focus:ring-primary-500 focus:border-primary-500 sm:text-sm @error('email') border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500 @enderror">
|
2026-02-14 16:11:09 +02:00
|
|
|
@error('email')
|
|
|
|
|
<p class="mt-2 text-sm text-red-600">{{ $message }}</p>
|
|
|
|
|
@enderror
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
2026-02-15 16:24:47 +02:00
|
|
|
<label for="password" class="block text-sm font-medium text-gray-700 dark:text-gray-300">
|
2026-02-14 16:11:09 +02:00
|
|
|
{{ __('Password') }}
|
|
|
|
|
</label>
|
|
|
|
|
<div class="mt-1">
|
|
|
|
|
<input id="password" type="password" name="password" required autocomplete="new-password"
|
2026-02-15 16:24:47 +02:00
|
|
|
class="appearance-none block w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm placeholder-gray-400 dark:placeholder-gray-500 bg-white dark:bg-gray-700 text-gray-900 dark:text-white focus:outline-none focus:ring-primary-500 focus:border-primary-500 sm:text-sm @error('password') border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500 @enderror">
|
2026-02-14 16:11:09 +02:00
|
|
|
@error('password')
|
|
|
|
|
<p class="mt-2 text-sm text-red-600">{{ $message }}</p>
|
|
|
|
|
@enderror
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
2026-02-15 16:24:47 +02:00
|
|
|
<label for="password-confirm" class="block text-sm font-medium text-gray-700 dark:text-gray-300">
|
2026-02-14 16:11:09 +02:00
|
|
|
{{ __('Confirm Password') }}
|
|
|
|
|
</label>
|
|
|
|
|
<div class="mt-1">
|
|
|
|
|
<input id="password-confirm" type="password" name="password_confirmation" required autocomplete="new-password"
|
2026-02-15 16:24:47 +02:00
|
|
|
class="appearance-none block w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm placeholder-gray-400 dark:placeholder-gray-500 bg-white dark:bg-gray-700 text-gray-900 dark:text-white focus:outline-none focus:ring-primary-500 focus:border-primary-500 sm:text-sm">
|
2026-02-14 16:11:09 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<button type="submit"
|
|
|
|
|
class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-primary-600 hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500">
|
|
|
|
|
{{ __('Register') }}
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
@if (Route::has('login'))
|
|
|
|
|
<div class="text-sm text-center">
|
2026-02-15 16:24:47 +02:00
|
|
|
<span class="text-gray-600 dark:text-gray-400">{{ __("Already have an account?") }}</span>
|
2026-02-14 16:11:09 +02:00
|
|
|
<a href="{{ route('login') }}" class="font-medium text-primary-600 hover:text-primary-500">
|
|
|
|
|
{{ __('Login') }}
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
@endif
|
|
|
|
|
</form>
|
2026-02-06 11:26:13 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@endsection
|