Files
Website/resources/views/auth/register.blade.php
2024-04-22 18:16:33 +10:00

24 lines
1.1 KiB
PHP

<x-layout :bodyClass="'image-background'">
@if (session('status') == 'sent')
<x-dialog>
<x-slot:title>Check your inbox</x-slot:title>
<x-slot:header><p>Click the link we sent to your email address to sign in.</p></x-slot:header>
<x-slot:footer center>
<a href="{{ route('index') }}" class="btn">Home</a>
</x-slot:footer>
</x-dialog>
@else
<x-dialog formaction="{{ route('register.store') }}">
<x-slot:title>Create a new account</x-slot:title>
<x-slot:header>
<p>Enter your email address and we'll create an account for you to use on our website.</p>
</x-slot:header>
<x-ui.input type="email" name="email" label="Email" floating autofocus />
<x-slot:footer>
<div class="text-xs">Already have an account? <a href="{{ route('login') }}" class="link">Log in</a></div>
<x-ui.button type="submit">Register</x-ui.button>
</x-slot:footer>
</x-dialog>
@endif
</x-layout>