vernova/storage/framework/views/d0cbbc094801c6a7d98901eb18134bcd.php
2026-07-26 19:58:27 +03:30

99 lines
5.5 KiB
PHP

<!DOCTYPE html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>" dir="<?php echo e(get_direction()); ?>">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
<title><?php echo e(__('auth.login')); ?> - Vernova</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<?php echo app('Illuminate\Foundation\Vite')(['resources/css/app.css']); ?>
<style>
[dir="rtl"] body { font-family: 'Vazirmatn', sans-serif; }
[dir="ltr"] body { font-family: 'Inter', 'Vazirmatn', sans-serif; }
</style>
</head>
<body class="min-h-screen bg-gray-50 flex items-center justify-center p-4">
<div class="w-full max-w-md">
<!-- Logo -->
<div class="text-center mb-8">
<div class="w-16 h-16 bg-teal-600 rounded-2xl flex items-center justify-center mx-auto mb-4">
<svg class="w-10 h-10 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"/>
</svg>
</div>
<h1 class="text-2xl font-bold text-gray-900">Vernova</h1>
<p class="text-sm text-gray-500 mt-1"><?php echo e(__('auth.login_subtitle')); ?></p>
</div>
<!-- Login Card -->
<div class="bg-white rounded-2xl shadow-sm border border-gray-200 p-8">
<?php if(session('success')): ?>
<div class="mb-4 p-3 bg-emerald-50 border border-emerald-200 rounded-lg text-emerald-700 text-sm">
<?php echo e(session('success')); ?>
</div>
<?php endif; ?>
<form method="POST" action="<?php echo e(route('login.post')); ?>" class="space-y-5">
<?php echo csrf_field(); ?>
<!-- Email -->
<div>
<label for="email" class="block text-sm font-medium text-gray-700 mb-1.5"><?php echo e(__('auth.email')); ?></label>
<input type="email" id="email" name="email" value="<?php echo e(old('email')); ?>"
class="w-full px-4 py-2.5 border <?php echo e($errors->has('email') ? 'border-red-500' : 'border-gray-300'); ?> rounded-lg text-sm focus:ring-2 focus:ring-teal-500 focus:border-teal-500"
placeholder="<?php echo e(__('auth.email_placeholder')); ?>" required autofocus>
<?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<p class="mt-1.5 text-xs text-red-500"><?php echo e($message); ?></p>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
<!-- Password -->
<div>
<label for="password" class="block text-sm font-medium text-gray-700 mb-1.5"><?php echo e(__('auth.password')); ?></label>
<input type="password" id="password" name="password"
class="w-full px-4 py-2.5 border <?php echo e($errors->has('password') ? 'border-red-500' : 'border-gray-300'); ?> rounded-lg text-sm focus:ring-2 focus:ring-teal-500 focus:border-teal-500"
placeholder="<?php echo e(__('auth.password_placeholder')); ?>" required>
<?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<p class="mt-1.5 text-xs text-red-500"><?php echo e($message); ?></p>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
<!-- Remember Me -->
<div class="flex items-center justify-between">
<label class="flex items-center gap-2 cursor-pointer">
<input type="checkbox" name="remember" class="w-4 h-4 text-teal-600 border-gray-300 rounded focus:ring-teal-500">
<span class="text-sm text-gray-600"><?php echo e(__('auth.remember_me')); ?></span>
</label>
</div>
<!-- Submit -->
<button type="submit" class="w-full py-2.5 bg-teal-600 text-white text-sm font-medium rounded-lg hover:bg-teal-700 focus:outline-none focus:ring-2 focus:ring-teal-500 focus:ring-offset-2 transition-colors">
<?php echo e(__('auth.sign_in')); ?>
</button>
</form>
</div>
<!-- Footer -->
<p class="text-center text-xs text-gray-400 mt-6">&copy; <?php echo e(date('Y')); ?> Vernova. <?php echo e(__('common.all_rights_reserved')); ?></p>
</div>
</body>
</html>
<?php /**PATH C:\xampp\htdocs\projectra\resources\views/auth/login.blade.php ENDPATH**/ ?>