27 lines
1.8 KiB
PHP
27 lines
1.8 KiB
PHP
<x-layouts.public :business="null">
|
|
<main class="mx-auto flex min-h-screen max-w-xl flex-col justify-center px-5 py-16 lg:px-10">
|
|
<p class="text-[10px] font-bold uppercase tracking-[0.3em] text-accent-foreground">NextChair setup</p>
|
|
<h1 class="mt-3 text-4xl font-black tracking-tight">Create the platform administrator</h1>
|
|
<p class="mt-4 text-sm leading-6 text-muted">This first account manages the NextChair platform. Businesses and their owners are created later from the protected Manager area.</p>
|
|
@if ($errors->any())
|
|
<div class="mt-6 rounded-tile border border-red-200 bg-red-50 p-4 text-sm text-red-700">{{ $errors->first() }}</div>
|
|
@endif
|
|
<form method="POST" action="{{ route('install.store') }}" class="mt-8 space-y-5">
|
|
@csrf
|
|
<label class="block text-sm font-bold">Your name
|
|
<input name="adminName" value="{{ old('adminName') }}" required class="mt-2 w-full rounded-tile border border-line bg-white px-4 py-3">
|
|
</label>
|
|
<label class="block text-sm font-bold">Email
|
|
<input name="adminEmail" value="{{ old('adminEmail') }}" type="email" required class="mt-2 w-full rounded-tile border border-line bg-white px-4 py-3">
|
|
</label>
|
|
<label class="block text-sm font-bold">Password
|
|
<input name="password" type="password" required class="mt-2 w-full rounded-tile border border-line bg-white px-4 py-3">
|
|
</label>
|
|
<label class="block text-sm font-bold">Confirm password
|
|
<input name="password_confirmation" type="password" required class="mt-2 w-full rounded-tile border border-line bg-white px-4 py-3">
|
|
</label>
|
|
<x-ui.button type="submit" class="w-full">Finish platform setup</x-ui.button>
|
|
</form>
|
|
</main>
|
|
</x-layouts.public>
|