42 lines
1.9 KiB
PHP
42 lines
1.9 KiB
PHP
@extends('layouts.nova')
|
|
|
|
@section('content')
|
|
<div class="px-4 py-8 md:px-6 md:py-10">
|
|
<div class="mx-auto w-full max-w-xl rounded-2xl border border-sb-line bg-panel-dark shadow-sb p-6 md:p-8">
|
|
<h1 class="text-2xl font-semibold text-white">Create Account</h1>
|
|
<p class="mt-2 text-sm text-sb-muted">Start with your email. You will set your password and username after verification.</p>
|
|
|
|
<form method="POST" action="{{ route('register') }}" class="mt-6 space-y-4">
|
|
@csrf
|
|
|
|
<div style="position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;" aria-hidden="true">
|
|
<label for="website">Website</label>
|
|
<input id="website" type="text" name="website" tabindex="-1" autocomplete="off" />
|
|
</div>
|
|
|
|
<!-- Email Address -->
|
|
<div>
|
|
<x-input-label for="email" :value="__('Email')" class="text-sb-muted" />
|
|
<x-text-input id="email" class="block mt-1 w-full bg-black/20 border-sb-line text-white" type="email" name="email" :value="old('email', $prefillEmail ?? '')" required autofocus autocomplete="email" />
|
|
<x-input-error :messages="$errors->get('email')" class="mt-2" />
|
|
</div>
|
|
|
|
@if(config('services.recaptcha.enabled'))
|
|
<input type="hidden" name="g-recaptcha-response" value="{{ old('g-recaptcha-response') }}" />
|
|
<x-input-error :messages="$errors->get('captcha')" class="mt-2" />
|
|
@endif
|
|
|
|
<div class="flex items-center justify-between pt-2">
|
|
<a class="underline text-sm text-sb-muted hover:text-white" href="{{ route('login') }}">
|
|
{{ __('Already registered?') }}
|
|
</a>
|
|
|
|
<x-primary-button class="justify-center">
|
|
{{ __('Register') }}
|
|
</x-primary-button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
@endsection
|