You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							123 lines
						
					
					
						
							6.0 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							123 lines
						
					
					
						
							6.0 KiB
						
					
					
				
								<!DOCTYPE html>
							 | 
						|
								<html lang="es">
							 | 
						|
								<head>
							 | 
						|
								    <meta charset="UTF-8">
							 | 
						|
								    <meta name="viewport" content="width=device-width, initial-scale=1.0">
							 | 
						|
								    <title>Registro - PrestamosTecmm</title>
							 | 
						|
								    <!-- Tailwind CSS desde CDN -->
							 | 
						|
								    <script src="https://cdn.tailwindcss.com"></script>
							 | 
						|
								    <!-- Font Awesome -->
							 | 
						|
								    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
							 | 
						|
								</head>
							 | 
						|
								<body class="bg-gradient-to-br from-blue-600 to-blue-800 min-h-screen flex items-center justify-center p-4">
							 | 
						|
								    <div class="max-w-md w-full bg-white rounded-lg shadow-xl overflow-hidden">
							 | 
						|
								        <div class="p-8">
							 | 
						|
								            <div class="text-center mb-8">
							 | 
						|
								                <h2 class="text-3xl font-bold text-gray-800">PrestamosTecmm</h2>
							 | 
						|
								                <p class="text-gray-600 mt-2">Crea tu cuenta para comenzar</p>
							 | 
						|
								            </div>
							 | 
						|
								
							 | 
						|
								            @if ($errors->any())
							 | 
						|
								            <div class="mb-6 bg-red-50 border-l-4 border-red-500 p-4">
							 | 
						|
								                <div class="text-red-700">
							 | 
						|
								                    <ul>
							 | 
						|
								                        @foreach ($errors->all() as $error)
							 | 
						|
								                            <li>{{ $error }}</li>
							 | 
						|
								                        @endforeach
							 | 
						|
								                    </ul>
							 | 
						|
								                </div>
							 | 
						|
								            </div>
							 | 
						|
								            @endif
							 | 
						|
								
							 | 
						|
								            <form method="POST" action="{{ route('register') }}" class="space-y-6">
							 | 
						|
								                @csrf
							 | 
						|
								
							 | 
						|
								                <!-- Nombre -->
							 | 
						|
								                <div>
							 | 
						|
								                    <label for="name" class="block text-sm font-medium text-gray-700">
							 | 
						|
								                        Nombre Completo
							 | 
						|
								                    </label>
							 | 
						|
								                    <div class="mt-1 relative rounded-md shadow-sm">
							 | 
						|
								                        <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
							 | 
						|
								                            <i class="fas fa-user text-gray-400"></i>
							 | 
						|
								                        </div>
							 | 
						|
								                        <input type="text" name="name" id="name" required
							 | 
						|
								                            class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500"
							 | 
						|
								                            value="{{ old('name') }}"
							 | 
						|
								                            placeholder="Juan Pérez">
							 | 
						|
								                    </div>
							 | 
						|
								                </div>
							 | 
						|
								
							 | 
						|
								                <!-- Email -->
							 | 
						|
								                <div>
							 | 
						|
								                    <label for="email" class="block text-sm font-medium text-gray-700">
							 | 
						|
								                        Correo Electrónico
							 | 
						|
								                    </label>
							 | 
						|
								                    <div class="mt-1 relative rounded-md shadow-sm">
							 | 
						|
								                        <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
							 | 
						|
								                            <i class="fas fa-envelope text-gray-400"></i>
							 | 
						|
								                        </div>
							 | 
						|
								                        <input type="email" name="email" id="email" required
							 | 
						|
								                            class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500"
							 | 
						|
								                            value="{{ old('email') }}"
							 | 
						|
								                            placeholder="tu@email.com">
							 | 
						|
								                    </div>
							 | 
						|
								                </div>
							 | 
						|
								
							 | 
						|
								                <!-- Contraseña -->
							 | 
						|
								                <div>
							 | 
						|
								                    <label for="password" class="block text-sm font-medium text-gray-700">
							 | 
						|
								                        Contraseña
							 | 
						|
								                    </label>
							 | 
						|
								                    <div class="mt-1 relative rounded-md shadow-sm">
							 | 
						|
								                        <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
							 | 
						|
								                            <i class="fas fa-lock text-gray-400"></i>
							 | 
						|
								                        </div>
							 | 
						|
								                        <input type="password" name="password" id="password" required
							 | 
						|
								                            class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500"
							 | 
						|
								                            placeholder="••••••••">
							 | 
						|
								                    </div>
							 | 
						|
								                </div>
							 | 
						|
								
							 | 
						|
								                <!-- Confirmar Contraseña -->
							 | 
						|
								                <div>
							 | 
						|
								                    <label for="password_confirmation" class="block text-sm font-medium text-gray-700">
							 | 
						|
								                        Confirmar Contraseña
							 | 
						|
								                    </label>
							 | 
						|
								                    <div class="mt-1 relative rounded-md shadow-sm">
							 | 
						|
								                        <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
							 | 
						|
								                            <i class="fas fa-lock text-gray-400"></i>
							 | 
						|
								                        </div>
							 | 
						|
								                        <input type="password" name="password_confirmation" id="password_confirmation" required
							 | 
						|
								                            class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500"
							 | 
						|
								                            placeholder="••••••••">
							 | 
						|
								                    </div>
							 | 
						|
								                </div>
							 | 
						|
								
							 | 
						|
								                <div>
							 | 
						|
								                    <button type="submit"
							 | 
						|
								                        class="w-full flex justify-center py-3 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 transition-colors duration-200">
							 | 
						|
								                        <i class="fas fa-user-plus mr-2"></i>
							 | 
						|
								                        Crear Cuenta
							 | 
						|
								                    </button>
							 | 
						|
								                </div>
							 | 
						|
								            </form>
							 | 
						|
								
							 | 
						|
								            <div class="mt-6 text-center">
							 | 
						|
								                <p class="text-sm text-gray-600">
							 | 
						|
								                    ¿Ya tienes una cuenta?
							 | 
						|
								                    <a href="{{ route('login') }}" class="font-medium text-blue-600 hover:text-blue-500 transition-colors duration-200">
							 | 
						|
								                        Inicia sesión aquí
							 | 
						|
								                    </a>
							 | 
						|
								                </p>
							 | 
						|
								            </div>
							 | 
						|
								        </div>
							 | 
						|
								    </div>
							 | 
						|
								
							 | 
						|
								    <!-- Decoración de fondo -->
							 | 
						|
								    <div class="absolute top-0 left-0 w-full h-full pointer-events-none overflow-hidden">
							 | 
						|
								        <div class="absolute -top-1/2 -left-1/4 w-96 h-96 bg-blue-400 rounded-full opacity-10 transform rotate-45"></div>
							 | 
						|
								        <div class="absolute -bottom-1/2 -right-1/4 w-96 h-96 bg-blue-400 rounded-full opacity-10 transform -rotate-45"></div>
							 | 
						|
								    </div>
							 | 
						|
								</body>
							 | 
						|
								</html>
							 | 
						|
								
							 |