-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
105 lines (95 loc) · 5.83 KB
/
login.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="2G9">
<link href="./output.css" rel="stylesheet">
<title>Login Form</title>
<link rel="icon" type="image/png" href="./images/logo.png">
<!-- Icons -->
<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"></script>
<!-- Fonts -->
<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=Noto+Kufi+Arabic:[email protected]&display=swap" rel="stylesheet">
<script src="https://cdn.tailwindcss.com"></script>
<script src="./js/script.js"></script>
</head>
<style>
body {
font-family: "Noto Kufi Arabic", sans-serif;
}
</style>
<body class="min-h-screen flex flex-col">
<!-- Start Navbar -->
<div id="navbar"></div>
<!-- End Navbar -->
<!-- Start Section -->
<div class="container mx-auto flex flex-col justify-center items-center p-4 md:p-20 gap-5">
<div class="mb-5 text-center">
<h2 class="text-[#2B2F4E] font-bold text-xl md:text-[40px] mb-4">🖐️ تسجيل الدخول</h2>
<p class="text-[#878787] font-bold text-xs md:text-sm">حياك الله نحن فى انتظار خدمتك طوال الوقت!</p>
</div>
<div class="w-full max-w-xs md:max-w-md space-y-4">
<div class="w-full max-w-md mx-auto">
<div class="relative bg-[#FAFAFA] rounded-lg p-4 flex items-center">
<select class="appearance-none bg-transparent text-lg pr-8 outline-none focus:ring-0">
<option value="AE" selected>+20</option>
<option value="US">+20</option>
<option value="UK">+20</option>
<option value="SA">+20</option>
</select>
<span class="absolute right-0 inset-y-0 flex items-center pr-2 pointer-events-none">
<svg class="w-4 h-4 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path>
</svg>
</span>
<input type="tel" placeholder="رقم الهاتف" class=" w-full md:w-96 text-xs md:text-sm text-[#6C6C6C] outline-none bg-transparent ">
</div>
</div>
<div class="flex items-center rounded-2xl bg-[#FAFAFA]">
<ion-icon name="lock-closed" class="w-4 h-4 md:w-5 md:h-5 text-[#9E9E9E] ml-2 mr-2"></ion-icon>
<input type="password" id="new-password" placeholder="ادخل كلمة المرور" class="flex-grow w-full md:w-96 text-xs md:text-sm text-[#6C6C6C] outline-none bg-transparent h-12 md:h-16 text-right ltr:text-left">
<ion-icon id="toggle-new-password" name="eye-off" class="w-4 h-4 md:w-5 md:h-5 text-[#9E9E9E] ml-2 mr-2 cursor-pointer" onclick="togglePassword('new-password', 'toggle-new-password')"></ion-icon>
</div>
<div class="rtl:text-right ltr:text-left">
<a href="#" class="text-[#C10D10] text-xs md:text-sm font-medium">نسيت كلمة السر</a>
</div>
</div>
<div class="flex flex-col gap-4 md:gap-7 w-full items-center">
<button type="submit" class="text-white bg-[#C10D10] font-medium rounded-lg text-xs md:text-sm px-5 py-2.5 text-center border border-[#C10D10] hover:bg-white hover:text-[#C10D10] hover:border-[#C10D10] sm:w-96 w-full h-12 md:h-16">التالي</button>
<a href="/signUp.html" class="flex ite justify-center border border-[#E9E9E9] font-medium rounded-lg text-xs md:text-sm px-5 py-2.5 text-center sm:w-96 w-full h-12 md:h-16">
<button type="button">
إنشاء حساب
</button>
</a>
<p class="flex justify-center text-[#C10D10] font-medium text-xs md:text-sm">أو</p>
<a href="#" class="flex ite justify-center border border-[#E9E9E9] font-medium rounded-lg text-xs md:text-sm px-5 py-2.5 text-center sm:w-96 w-full h-12 md:h-16">
<button type="submit" >متابعة كزائر</button>
</a>
</div>
</div>
<!-- End Section -->
<!-- Start Icons -->
<div id="icons" class="mt-auto p-4">
</div>
<!-- Start Footer -->
<div id="footer" class="md:block hidden"></div>
<!-- End Footer -->
<script>
function togglePassword(inputId, iconId) {
const passwordInput = document.getElementById(inputId);
const toggleIcon = document.getElementById(iconId);
if (passwordInput.type === 'password') {
passwordInput.type = 'text';
toggleIcon.setAttribute('name', 'eye-outline');
} else {
passwordInput.type = 'password';
toggleIcon.setAttribute('name', 'eye-off');
}
}
</script>
</body>
</html>