-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevPass.html
144 lines (116 loc) · 4.34 KB
/
devPass.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>thinkFast</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #0D1317;
font-family: "Outfit", sans-serif;
font-weight: 10;
}
.container {
background: #0D1317;
padding: 20px;
border-radius: 10px;
text-align: center;
}
input {
padding: 10px;
margin: 10px;
width: 200px;
border-color: #ffffff;
border-radius: 5px;
box-shadow: 0 0 10px #fff;
}
button {
padding: 10px 20px;
border: none;
background-color: cadetblue;
box-shadow: 0 0 10px cadetblue;
font-family: "Outfit", sans-serif;
font-weight: 200;
color: #fff;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease-in-out 4ms;
transition: box-shadow 0.3s ease-in-out 4ms;
}
button:hover {
background-color: #700002;
box-shadow: 0 0 10px #700002;
color: #fff;
}
.error {
font-family: "Outfit", sans-serif;
color: #ffea00;
margin-top: 20px;
font-weight: 300;
}
h2 {
text-shadow: 0 0 50px rgb(189, 250, 252);
font-size: 100px;
color: cadetblue;
font-weight: 200;
}
</style>
<meta name="viewport" content="with=device-width, initial-scale=1.0">
<title>prabal's nest</title>
<link rel="stylesheet" href="stylecc.css">
<link rel="icon" type="image/x-icon" href="emb.jpeg">
<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=Outfit:[email protected]&display=swap" rel="stylesheet">
<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=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap"
rel="stylesheet">
<style>
.corner-image {
position: fixed;
bottom: 10px;
right: 10px;
width: 100px; /* Adjust as needed */
height: auto;
opacity: 0.8; /* Slight transparency */
}
</style>
</head>
<body>
<div class="container">
<h2>Enter Password</h2>
<br><br>
<input type="password" id="password" placeholder="Enter password">
<button onclick="checkPassword()">Submit</button>
<p class="error" id="error-message"></p>
</div>
<script>
function checkPassword() {
const password = document.getElementById("password").value;
const correctPassword = "independence"; // Change this to your actual password
const redirectUrl = "devB.html"; // Change this to the page you want to redirect to
const specialDate = new Date("2025-02-11T00:00:00");
const currentDate = new Date();
// Check if the current date is greater than the special date
if (currentDate > specialDate) {
// If the current date is after the special date, redirect directly to another page
window.location.href = "cooked20.html"; // Change this to your desired page
return; // Stop further execution
}
// Check if the password matches
if (password === correctPassword) {
window.location.href = redirectUrl;
} else {
document.getElementById("error-message").textContent = "HEHE, HUHU, AIN'T HELPING YOU NOW.";
}
}
</script>
<a href="index.html"><img src="sign.png" class="corner-image" alt="Signature"></a>
</body>
</html>