Files
telekeci/resources/views/pages/auth/otp-verify.blade.php
2025-09-22 18:31:00 +05:00

39 lines
1.8 KiB
PHP

<x-guest-layout>
<div class="flex items-center justify-center min-h-screen">
<div class="w-full max-w-md p-8 space-y-6 bg-white rounded-lg shadow-md">
<h2 class="text-2xl font-bold text-center text-gray-900">
OTP Verification
</h2>
<p class="text-center text-sm text-gray-600">
We've sent a verification code to your phone number. Please enter it below.
</p>
<form method="POST" action="{{ route('otp.verify.store') }}" class="space-y-6">
@csrf
<div>
<label for="code" class="block text-sm font-medium text-gray-700">
Verification Code
</label>
<div class="mt-1">
<input id="code" name="code" type="text" autocomplete="one-time-code" required
class="block w-full px-3 py-2 placeholder-gray-400 border border-gray-300 rounded-md shadow-sm appearance-none focus:outline-none focus:ring-amber-500 focus:border-amber-500 sm:text-sm"
autofocus>
</div>
@error('code')
<p class="mt-2 text-sm text-red-600">{{ $message }}</p>
@enderror
</div>
<div>
<button type="submit"
class="flex justify-center w-full px-4 py-2 text-sm font-medium text-white bg-amber-600 border border-transparent rounded-md shadow-sm hover:bg-amber-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-amber-500">
Verify
</button>
</div>
</form>
</div>
</div>
</x-guest-layout>