headerın altına banner ekle - Follow Up Deployment
Browse files- index.html +202 -66
index.html
CHANGED
|
@@ -51,46 +51,28 @@
|
|
| 51 |
background-color: #03DAC6;
|
| 52 |
}
|
| 53 |
.btn-primary {
|
| 54 |
-
background:
|
| 55 |
-
#FF0000,
|
| 56 |
-
#FFFF00,
|
| 57 |
-
#00FF00,
|
| 58 |
-
#FF0000);
|
| 59 |
-
background-size: 200vw 100%;
|
| 60 |
color: #121212;
|
| 61 |
transition: all 0.3s ease;
|
| 62 |
-
animation: gradientSlide 4s linear infinite;
|
| 63 |
}
|
| 64 |
.btn-primary:hover {
|
| 65 |
-
|
| 66 |
}
|
| 67 |
.btn-accent {
|
| 68 |
-
background:
|
| 69 |
-
#FF0000,
|
| 70 |
-
#FFFF00,
|
| 71 |
-
#00FF00,
|
| 72 |
-
#FF0000);
|
| 73 |
-
background-size: 200vw 100%;
|
| 74 |
color: #121212;
|
| 75 |
transition: all 0.3s ease;
|
| 76 |
-
animation: gradientSlide 4s linear infinite;
|
| 77 |
}
|
| 78 |
.btn-accent:hover {
|
| 79 |
-
|
| 80 |
}
|
| 81 |
.btn-green {
|
| 82 |
-
background:
|
| 83 |
-
#FF0000,
|
| 84 |
-
#FFFF00,
|
| 85 |
-
#00FF00,
|
| 86 |
-
#FF0000);
|
| 87 |
-
background-size: 200vw 100%;
|
| 88 |
color: #121212;
|
| 89 |
transition: all 0.3s ease;
|
| 90 |
-
animation: gradientSlide 4s linear infinite;
|
| 91 |
}
|
| 92 |
.btn-green:hover {
|
| 93 |
-
|
| 94 |
}
|
| 95 |
.dropdown-menu {
|
| 96 |
display: none;
|
|
@@ -113,6 +95,17 @@
|
|
| 113 |
.email-item.unread {
|
| 114 |
background-color: #252525;
|
| 115 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
.email-content {
|
| 117 |
max-height: 0;
|
| 118 |
overflow: hidden;
|
|
@@ -154,23 +147,8 @@
|
|
| 154 |
.inbox-count:hover {
|
| 155 |
transform: scale(1.1);
|
| 156 |
}
|
| 157 |
-
.inbox-count:hover
|
| 158 |
-
|
| 159 |
-
position: absolute;
|
| 160 |
-
top: -4px;
|
| 161 |
-
left: -4px;
|
| 162 |
-
right: -4px;
|
| 163 |
-
bottom: -4px;
|
| 164 |
-
border-radius: 9999px;
|
| 165 |
-
padding: 2px;
|
| 166 |
-
background: linear-gradient(90deg,
|
| 167 |
-
#FF0000,
|
| 168 |
-
#FFFF00,
|
| 169 |
-
#00FF00,
|
| 170 |
-
#FF0000);
|
| 171 |
-
background-size: 200vw 100%;
|
| 172 |
-
animation: gradientSlide 4s linear infinite;
|
| 173 |
-
z-index: -1;
|
| 174 |
}
|
| 175 |
</style>
|
| 176 |
</head>
|
|
@@ -194,21 +172,35 @@
|
|
| 194 |
|
| 195 |
<div class="dropdown-menu py-2 mt-2">
|
| 196 |
<div id="login-form" class="px-4 py-3">
|
| 197 |
-
<h3 class="text-primary font-bold mb-2">
|
| 198 |
<input type="email" placeholder="Email" class="w-full bg-secondary border border-primary rounded px-3 py-2 mb-2 text-sm focus:outline-none focus:ring-1 focus:ring-primary">
|
| 199 |
<input type="password" placeholder="Password" class="w-full bg-secondary border border-primary rounded px-3 py-2 mb-2 text-sm focus:outline-none focus:ring-1 focus:ring-primary">
|
| 200 |
-
<button class="btn-primary text-sm w-full py-2 rounded font-bold">
|
| 201 |
</div>
|
| 202 |
<div class="border-t border-gray-700"></div>
|
| 203 |
-
<a href="#" class="block px-4 py-2 text-sm hover:bg-gray-800 hover-text-primary"><i class="fas fa-sign-out-alt mr-2"></i>
|
| 204 |
</div>
|
| 205 |
</div>
|
| 206 |
</header>
|
| 207 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 208 |
<!-- Notification -->
|
| 209 |
-
<div id="new-email-notification" class="hidden fixed
|
| 210 |
<i class="fas fa-envelope mr-2"></i>
|
| 211 |
-
<span>
|
| 212 |
</div>
|
| 213 |
|
| 214 |
<!-- Main Content -->
|
|
@@ -216,52 +208,53 @@
|
|
| 216 |
<!-- Sidebar -->
|
| 217 |
<aside class="w-full md:w-1/4 bg-secondary rounded-lg p-4">
|
| 218 |
<div class="mb-6">
|
| 219 |
-
<h2 class="text-lg font-bold text-primary mb-4">
|
| 220 |
<div class="bg-dark rounded-lg p-3 mb-3">
|
| 221 |
<div class="flex justify-between items-center mb-2">
|
| 222 |
<span class="text-sm font-medium text-accent">Email:</span>
|
| 223 |
<button id="copy-email" class="copy-btn bg-primary text-dark text-xs px-2 py-1 rounded">
|
| 224 |
-
<i class="fas fa-copy"></i>
|
| 225 |
</button>
|
| 226 |
</div>
|
| 227 |
<p id="temp-email" class="text-sm break-all font-bold">user<span class="text-secondary">@</span>tempmail<span class="text-accent">.com</span></p>
|
| 228 |
</div>
|
| 229 |
<div class="bg-dark rounded-lg p-3">
|
| 230 |
<div class="flex justify-between items-center mb-2">
|
| 231 |
-
<span class="text-sm font-medium text-secondary">
|
| 232 |
<button id="copy-password" class="copy-btn bg-green text-dark text-xs px-2 py-1 rounded">
|
| 233 |
-
<i class="fas fa-copy"></i>
|
| 234 |
</button>
|
| 235 |
</div>
|
| 236 |
<p id="temp-password" class="text-sm font-bold">t3mpP@ss<span class="text-accent">123</span></p>
|
| 237 |
</div>
|
| 238 |
<button class="w-full flex items-center justify-center text-gray-300 hover-text-primary bg-primary hover:bg-primary-dark text-dark px-6 py-3 rounded-lg font-bold text-lg mt-4">
|
| 239 |
<i class="fas fa-sync-alt mr-3"></i>
|
| 240 |
-
<span>
|
| 241 |
</button>
|
| 242 |
</div>
|
| 243 |
|
| 244 |
|
| 245 |
<div>
|
| 246 |
-
<h3 class="text-lg font-bold text-primary mb-3">
|
| 247 |
<ul class="space-y-2">
|
| 248 |
<li>
|
| 249 |
<a href="#" class="flex items-center text-gray-300 hover-text-primary">
|
| 250 |
<i class="fas fa-inbox mr-3 text-primary"></i>
|
| 251 |
-
<span>
|
| 252 |
<span class="inbox-count ml-auto">12</span>
|
| 253 |
</a>
|
| 254 |
</li>
|
| 255 |
<li>
|
| 256 |
<a href="#" class="flex items-center text-gray-300 hover-text-secondary">
|
| 257 |
<i class="fas fa-star mr-3 text-secondary"></i>
|
| 258 |
-
<span>
|
| 259 |
</a>
|
| 260 |
</li>
|
| 261 |
<li>
|
| 262 |
-
<a href="#" class="flex items-center text-gray-300 hover-text-accent">
|
| 263 |
<i class="fas fa-trash mr-3 text-accent"></i>
|
| 264 |
-
<span>
|
|
|
|
| 265 |
</a>
|
| 266 |
</li>
|
| 267 |
</ul>
|
|
@@ -276,13 +269,16 @@
|
|
| 276 |
<button class="bg-dark hover:bg-gray-800 p-2 rounded mr-3">
|
| 277 |
<i class="fas fa-arrow-left text-primary"></i>
|
| 278 |
</button>
|
| 279 |
-
<h2 class="text-lg font-bold text-primary">
|
| 280 |
</div>
|
| 281 |
<div class="flex space-x-2">
|
| 282 |
-
<button class="bg-dark hover:bg-gray-800 p-2 rounded">
|
|
|
|
|
|
|
|
|
|
| 283 |
<i class="fas fa-trash text-accent"></i>
|
| 284 |
</button>
|
| 285 |
-
<button class="bg-dark hover:bg-gray-800 p-2 rounded">
|
| 286 |
<i class="fas fa-archive text-secondary"></i>
|
| 287 |
</button>
|
| 288 |
</div>
|
|
@@ -293,6 +289,7 @@
|
|
| 293 |
<!-- Email 1 -->
|
| 294 |
<div class="email-item unread p-4 cursor-pointer">
|
| 295 |
<div class="flex items-start">
|
|
|
|
| 296 |
<button class="star-btn mr-2 text-gray-400 hover:text-yellow-400 focus:outline-none">
|
| 297 |
<i class="far fa-star"></i>
|
| 298 |
</button>
|
|
@@ -301,10 +298,10 @@
|
|
| 301 |
</div>
|
| 302 |
<div class="flex-1">
|
| 303 |
<div class="flex justify-between items-start">
|
| 304 |
-
<h3 class="font-bold text-primary">
|
| 305 |
-
<span class="text-xs text-gray-400">2
|
| 306 |
</div>
|
| 307 |
-
<p class="text-sm text-gray-300 mt-1">
|
| 308 |
</div>
|
| 309 |
</div>
|
| 310 |
<div class="email-content mt-3 pl-13">
|
|
@@ -321,6 +318,7 @@
|
|
| 321 |
<!-- Email 2 -->
|
| 322 |
<div class="email-item p-4 cursor-pointer">
|
| 323 |
<div class="flex items-start">
|
|
|
|
| 324 |
<button class="star-btn mr-2 text-gray-400 hover:text-yellow-400 focus:outline-none">
|
| 325 |
<i class="far fa-star"></i>
|
| 326 |
</button>
|
|
@@ -330,7 +328,7 @@
|
|
| 330 |
<div class="flex-1">
|
| 331 |
<div class="flex justify-between items-start">
|
| 332 |
<h3 class="font-bold">Your Amazon Order #12345</h3>
|
| 333 |
-
<span class="text-xs text-gray-400">1
|
| 334 |
</div>
|
| 335 |
<p class="text-sm text-gray-300 mt-1">Your order has been shipped and will arrive...</p>
|
| 336 |
</div>
|
|
@@ -348,6 +346,7 @@
|
|
| 348 |
<!-- Email 3 -->
|
| 349 |
<div class="email-item unread p-4 cursor-pointer">
|
| 350 |
<div class="flex items-start">
|
|
|
|
| 351 |
<button class="star-btn mr-2 text-gray-400 hover:text-yellow-400 focus:outline-none">
|
| 352 |
<i class="far fa-star"></i>
|
| 353 |
</button>
|
|
@@ -357,7 +356,7 @@
|
|
| 357 |
<div class="flex-1">
|
| 358 |
<div class="flex justify-between items-start">
|
| 359 |
<h3 class="font-bold text-primary">Verify your account</h3>
|
| 360 |
-
<span class="text-xs text-gray-400">3
|
| 361 |
</div>
|
| 362 |
<p class="text-sm text-gray-300 mt-1">Please verify your account by clicking the link below...</p>
|
| 363 |
</div>
|
|
@@ -400,7 +399,7 @@
|
|
| 400 |
navigator.clipboard.writeText(email);
|
| 401 |
|
| 402 |
this.classList.add('copied');
|
| 403 |
-
this.innerHTML = '<i class="fas fa-check"></i>
|
| 404 |
|
| 405 |
setTimeout(() => {
|
| 406 |
this.classList.remove('copied');
|
|
@@ -414,7 +413,7 @@
|
|
| 414 |
navigator.clipboard.writeText(password);
|
| 415 |
|
| 416 |
this.classList.add('copied');
|
| 417 |
-
this.innerHTML = '<i class="fas fa-check"></i>
|
| 418 |
|
| 419 |
setTimeout(() => {
|
| 420 |
this.classList.remove('copied');
|
|
@@ -422,6 +421,62 @@
|
|
| 422 |
}, 2000);
|
| 423 |
});
|
| 424 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 425 |
// Star toggle functionality
|
| 426 |
document.querySelectorAll('.star-btn').forEach(btn => {
|
| 427 |
btn.addEventListener('click', function(e) {
|
|
@@ -455,6 +510,15 @@
|
|
| 455 |
setTimeout(() => {
|
| 456 |
notification.classList.add('hidden');
|
| 457 |
}, 3000);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 458 |
}
|
| 459 |
|
| 460 |
// Simulate new email arrival (for demo purposes)
|
|
@@ -466,6 +530,62 @@
|
|
| 466 |
}
|
| 467 |
}, 10000); // Check every 10 seconds
|
| 468 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 469 |
// Generate random email and password
|
| 470 |
function generateRandomString(length) {
|
| 471 |
const chars = 'abcdefghijklmnopqrstuvwxyz0123456789';
|
|
@@ -487,5 +607,21 @@
|
|
| 487 |
});
|
| 488 |
*/
|
| 489 |
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 490 |
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Helleon/temp" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 491 |
</html>
|
|
|
|
| 51 |
background-color: #03DAC6;
|
| 52 |
}
|
| 53 |
.btn-primary {
|
| 54 |
+
background-color: #BB86FC;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
color: #121212;
|
| 56 |
transition: all 0.3s ease;
|
|
|
|
| 57 |
}
|
| 58 |
.btn-primary:hover {
|
| 59 |
+
background-color: #a971f3;
|
| 60 |
}
|
| 61 |
.btn-accent {
|
| 62 |
+
background-color: #FF7597;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
color: #121212;
|
| 64 |
transition: all 0.3s ease;
|
|
|
|
| 65 |
}
|
| 66 |
.btn-accent:hover {
|
| 67 |
+
background-color: #ff5c84;
|
| 68 |
}
|
| 69 |
.btn-green {
|
| 70 |
+
background-color: #03DAC6;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
color: #121212;
|
| 72 |
transition: all 0.3s ease;
|
|
|
|
| 73 |
}
|
| 74 |
.btn-green:hover {
|
| 75 |
+
background-color: #02c2b0;
|
| 76 |
}
|
| 77 |
.dropdown-menu {
|
| 78 |
display: none;
|
|
|
|
| 95 |
.email-item.unread {
|
| 96 |
background-color: #252525;
|
| 97 |
}
|
| 98 |
+
@keyframes flash {
|
| 99 |
+
0%, 100% { background-color: #252525; }
|
| 100 |
+
50% { background-color: #FF7597; }
|
| 101 |
+
}
|
| 102 |
+
.email-item.new-email {
|
| 103 |
+
animation: flash 0.5s 3;
|
| 104 |
+
}
|
| 105 |
+
.email-item.selected {
|
| 106 |
+
background-color: #333333;
|
| 107 |
+
border-left: 3px solid #03DAC6;
|
| 108 |
+
}
|
| 109 |
.email-content {
|
| 110 |
max-height: 0;
|
| 111 |
overflow: hidden;
|
|
|
|
| 147 |
.inbox-count:hover {
|
| 148 |
transform: scale(1.1);
|
| 149 |
}
|
| 150 |
+
.inbox-count:hover {
|
| 151 |
+
background-color: #02c2b0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 152 |
}
|
| 153 |
</style>
|
| 154 |
</head>
|
|
|
|
| 172 |
|
| 173 |
<div class="dropdown-menu py-2 mt-2">
|
| 174 |
<div id="login-form" class="px-4 py-3">
|
| 175 |
+
<h3 class="text-primary font-bold mb-2">Giriş</h3>
|
| 176 |
<input type="email" placeholder="Email" class="w-full bg-secondary border border-primary rounded px-3 py-2 mb-2 text-sm focus:outline-none focus:ring-1 focus:ring-primary">
|
| 177 |
<input type="password" placeholder="Password" class="w-full bg-secondary border border-primary rounded px-3 py-2 mb-2 text-sm focus:outline-none focus:ring-1 focus:ring-primary">
|
| 178 |
+
<button class="btn-primary text-sm w-full py-2 rounded font-bold">Giriş Yap</button>
|
| 179 |
</div>
|
| 180 |
<div class="border-t border-gray-700"></div>
|
| 181 |
+
<a href="#" class="block px-4 py-2 text-sm hover:bg-gray-800 hover-text-primary"><i class="fas fa-sign-out-alt mr-2"></i>Çıkış</a>
|
| 182 |
</div>
|
| 183 |
</div>
|
| 184 |
</header>
|
| 185 |
|
| 186 |
+
<!-- Banner -->
|
| 187 |
+
<div class="bg-gradient-to-r from-primary to-accent text-dark p-4 rounded-lg mb-6 flex items-center justify-between">
|
| 188 |
+
<div class="flex items-center">
|
| 189 |
+
<i class="fas fa-exclamation-circle text-2xl mr-3"></i>
|
| 190 |
+
<div>
|
| 191 |
+
<h3 class="font-bold">Premium Özellikler!</h3>
|
| 192 |
+
<p class="text-sm">Daha fazla özellik için premium üye olun</p>
|
| 193 |
+
</div>
|
| 194 |
+
</div>
|
| 195 |
+
<button class="bg-dark hover:bg-gray-800 text-white px-4 py-2 rounded-lg font-bold text-sm">
|
| 196 |
+
Yükselt
|
| 197 |
+
</button>
|
| 198 |
+
</div>
|
| 199 |
+
|
| 200 |
<!-- Notification -->
|
| 201 |
+
<div id="new-email-notification" class="hidden fixed inset-0 flex items-center justify-center bg-green-500 text-white px-6 py-3 rounded-lg shadow-lg z-50 mx-auto w-max h-max mt-4">
|
| 202 |
<i class="fas fa-envelope mr-2"></i>
|
| 203 |
+
<span>Yeni Email Geldi!</span>
|
| 204 |
</div>
|
| 205 |
|
| 206 |
<!-- Main Content -->
|
|
|
|
| 208 |
<!-- Sidebar -->
|
| 209 |
<aside class="w-full md:w-1/4 bg-secondary rounded-lg p-4">
|
| 210 |
<div class="mb-6">
|
| 211 |
+
<h2 class="text-lg font-bold text-primary mb-4">Mail Bilgileri</h2>
|
| 212 |
<div class="bg-dark rounded-lg p-3 mb-3">
|
| 213 |
<div class="flex justify-between items-center mb-2">
|
| 214 |
<span class="text-sm font-medium text-accent">Email:</span>
|
| 215 |
<button id="copy-email" class="copy-btn bg-primary text-dark text-xs px-2 py-1 rounded">
|
| 216 |
+
<i class="fas fa-copy"></i> Kopyala
|
| 217 |
</button>
|
| 218 |
</div>
|
| 219 |
<p id="temp-email" class="text-sm break-all font-bold">user<span class="text-secondary">@</span>tempmail<span class="text-accent">.com</span></p>
|
| 220 |
</div>
|
| 221 |
<div class="bg-dark rounded-lg p-3">
|
| 222 |
<div class="flex justify-between items-center mb-2">
|
| 223 |
+
<span class="text-sm font-medium text-secondary">Şifre:</span>
|
| 224 |
<button id="copy-password" class="copy-btn bg-green text-dark text-xs px-2 py-1 rounded">
|
| 225 |
+
<i class="fas fa-copy"></i> Kopyala
|
| 226 |
</button>
|
| 227 |
</div>
|
| 228 |
<p id="temp-password" class="text-sm font-bold">t3mpP@ss<span class="text-accent">123</span></p>
|
| 229 |
</div>
|
| 230 |
<button class="w-full flex items-center justify-center text-gray-300 hover-text-primary bg-primary hover:bg-primary-dark text-dark px-6 py-3 rounded-lg font-bold text-lg mt-4">
|
| 231 |
<i class="fas fa-sync-alt mr-3"></i>
|
| 232 |
+
<span>Yenile</span>
|
| 233 |
</button>
|
| 234 |
</div>
|
| 235 |
|
| 236 |
|
| 237 |
<div>
|
| 238 |
+
<h3 class="text-lg font-bold text-primary mb-3">Dosya</h3>
|
| 239 |
<ul class="space-y-2">
|
| 240 |
<li>
|
| 241 |
<a href="#" class="flex items-center text-gray-300 hover-text-primary">
|
| 242 |
<i class="fas fa-inbox mr-3 text-primary"></i>
|
| 243 |
+
<span>Gelen Kutusu</span>
|
| 244 |
<span class="inbox-count ml-auto">12</span>
|
| 245 |
</a>
|
| 246 |
</li>
|
| 247 |
<li>
|
| 248 |
<a href="#" class="flex items-center text-gray-300 hover-text-secondary">
|
| 249 |
<i class="fas fa-star mr-3 text-secondary"></i>
|
| 250 |
+
<span>Yıldız</span>
|
| 251 |
</a>
|
| 252 |
</li>
|
| 253 |
<li>
|
| 254 |
+
<a href="#trash" id="trash-link" class="flex items-center text-gray-300 hover-text-accent">
|
| 255 |
<i class="fas fa-trash mr-3 text-accent"></i>
|
| 256 |
+
<span>Çöp</span>
|
| 257 |
+
<span id="trash-count" class="inbox-count ml-auto hidden">0</span>
|
| 258 |
</a>
|
| 259 |
</li>
|
| 260 |
</ul>
|
|
|
|
| 269 |
<button class="bg-dark hover:bg-gray-800 p-2 rounded mr-3">
|
| 270 |
<i class="fas fa-arrow-left text-primary"></i>
|
| 271 |
</button>
|
| 272 |
+
<h2 class="text-lg font-bold text-primary">Gelen Kutusu</h2>
|
| 273 |
</div>
|
| 274 |
<div class="flex space-x-2">
|
| 275 |
+
<button id="select-all" class="bg-dark hover:bg-gray-800 p-2 rounded">
|
| 276 |
+
<i class="fas fa-check-square text-primary" title="Select All"></i>
|
| 277 |
+
</button>
|
| 278 |
+
<button id="delete-selected" class="bg-dark hover:bg-gray-800 p-2 rounded" onclick="moveToTrash()">
|
| 279 |
<i class="fas fa-trash text-accent"></i>
|
| 280 |
</button>
|
| 281 |
+
<button id="archive-selected" class="bg-dark hover:bg-gray-800 p-2 rounded">
|
| 282 |
<i class="fas fa-archive text-secondary"></i>
|
| 283 |
</button>
|
| 284 |
</div>
|
|
|
|
| 289 |
<!-- Email 1 -->
|
| 290 |
<div class="email-item unread p-4 cursor-pointer">
|
| 291 |
<div class="flex items-start">
|
| 292 |
+
<input type="checkbox" class="mr-2 h-5 w-5 rounded border-gray-400 bg-gray-700 focus:ring-primary">
|
| 293 |
<button class="star-btn mr-2 text-gray-400 hover:text-yellow-400 focus:outline-none">
|
| 294 |
<i class="far fa-star"></i>
|
| 295 |
</button>
|
|
|
|
| 298 |
</div>
|
| 299 |
<div class="flex-1">
|
| 300 |
<div class="flex justify-between items-start">
|
| 301 |
+
<h3 class="font-bold text-primary">Temp Mail'e Hoşsgeldin</h3>
|
| 302 |
+
<span class="text-xs text-gray-400">2 dakika önce</span>
|
| 303 |
</div>
|
| 304 |
+
<p class="text-sm text-gray-300 mt-1">En iyi geçici mail sitesi.</p>
|
| 305 |
</div>
|
| 306 |
</div>
|
| 307 |
<div class="email-content mt-3 pl-13">
|
|
|
|
| 318 |
<!-- Email 2 -->
|
| 319 |
<div class="email-item p-4 cursor-pointer">
|
| 320 |
<div class="flex items-start">
|
| 321 |
+
<input type="checkbox" class="mr-2 h-5 w-5 rounded border-gray-400 bg-gray-700 focus:ring-primary">
|
| 322 |
<button class="star-btn mr-2 text-gray-400 hover:text-yellow-400 focus:outline-none">
|
| 323 |
<i class="far fa-star"></i>
|
| 324 |
</button>
|
|
|
|
| 328 |
<div class="flex-1">
|
| 329 |
<div class="flex justify-between items-start">
|
| 330 |
<h3 class="font-bold">Your Amazon Order #12345</h3>
|
| 331 |
+
<span class="text-xs text-gray-400">1 Saat Önce</span>
|
| 332 |
</div>
|
| 333 |
<p class="text-sm text-gray-300 mt-1">Your order has been shipped and will arrive...</p>
|
| 334 |
</div>
|
|
|
|
| 346 |
<!-- Email 3 -->
|
| 347 |
<div class="email-item unread p-4 cursor-pointer">
|
| 348 |
<div class="flex items-start">
|
| 349 |
+
<input type="checkbox" class="mr-2 h-5 w-5 rounded border-gray-400 bg-gray-700 focus:ring-primary">
|
| 350 |
<button class="star-btn mr-2 text-gray-400 hover:text-yellow-400 focus:outline-none">
|
| 351 |
<i class="far fa-star"></i>
|
| 352 |
</button>
|
|
|
|
| 356 |
<div class="flex-1">
|
| 357 |
<div class="flex justify-between items-start">
|
| 358 |
<h3 class="font-bold text-primary">Verify your account</h3>
|
| 359 |
+
<span class="text-xs text-gray-400">3 Saat Önce</span>
|
| 360 |
</div>
|
| 361 |
<p class="text-sm text-gray-300 mt-1">Please verify your account by clicking the link below...</p>
|
| 362 |
</div>
|
|
|
|
| 399 |
navigator.clipboard.writeText(email);
|
| 400 |
|
| 401 |
this.classList.add('copied');
|
| 402 |
+
this.innerHTML = '<i class="fas fa-check"></i> Kopyalandı!';
|
| 403 |
|
| 404 |
setTimeout(() => {
|
| 405 |
this.classList.remove('copied');
|
|
|
|
| 413 |
navigator.clipboard.writeText(password);
|
| 414 |
|
| 415 |
this.classList.add('copied');
|
| 416 |
+
this.innerHTML = '<i class="fas fa-check"></i> Kopyalandı!';
|
| 417 |
|
| 418 |
setTimeout(() => {
|
| 419 |
this.classList.remove('copied');
|
|
|
|
| 421 |
}, 2000);
|
| 422 |
});
|
| 423 |
|
| 424 |
+
// Checkbox selection functionality
|
| 425 |
+
document.querySelectorAll('.email-item input[type="checkbox"]').forEach(checkbox => {
|
| 426 |
+
checkbox.addEventListener('click', function(e) {
|
| 427 |
+
e.stopPropagation();
|
| 428 |
+
const emailItem = this.closest('.email-item');
|
| 429 |
+
if (this.checked) {
|
| 430 |
+
emailItem.classList.add('selected');
|
| 431 |
+
} else {
|
| 432 |
+
emailItem.classList.remove('selected');
|
| 433 |
+
}
|
| 434 |
+
});
|
| 435 |
+
});
|
| 436 |
+
|
| 437 |
+
// Select all functionality
|
| 438 |
+
document.getElementById('select-all').addEventListener('click', function(e) {
|
| 439 |
+
e.stopPropagation();
|
| 440 |
+
const checkboxes = document.querySelectorAll('.email-item input[type="checkbox"]');
|
| 441 |
+
const anyUnchecked = Array.from(checkboxes).some(checkbox => !checkbox.checked);
|
| 442 |
+
|
| 443 |
+
checkboxes.forEach(checkbox => {
|
| 444 |
+
checkbox.checked = anyUnchecked;
|
| 445 |
+
const emailItem = checkbox.closest('.email-item');
|
| 446 |
+
if (anyUnchecked) {
|
| 447 |
+
emailItem.classList.add('selected');
|
| 448 |
+
} else {
|
| 449 |
+
emailItem.classList.remove('selected');
|
| 450 |
+
}
|
| 451 |
+
});
|
| 452 |
+
|
| 453 |
+
// Change icon based on selection state
|
| 454 |
+
const icon = this.querySelector('i');
|
| 455 |
+
if (anyUnchecked) {
|
| 456 |
+
icon.classList.remove('fa-check-square');
|
| 457 |
+
icon.classList.add('fa-minus-square');
|
| 458 |
+
} else {
|
| 459 |
+
icon.classList.remove('fa-minus-square');
|
| 460 |
+
icon.classList.add('fa-check-square');
|
| 461 |
+
}
|
| 462 |
+
});
|
| 463 |
+
|
| 464 |
+
// Move selected emails to trash
|
| 465 |
+
function moveToTrash() {
|
| 466 |
+
const selectedEmails = document.querySelectorAll('.email-item.selected');
|
| 467 |
+
const trashCount = document.getElementById('trash-count');
|
| 468 |
+
|
| 469 |
+
selectedEmails.forEach(email => {
|
| 470 |
+
// Remove from inbox
|
| 471 |
+
email.remove();
|
| 472 |
+
|
| 473 |
+
// Update trash count
|
| 474 |
+
const currentCount = parseInt(trashCount.textContent) || 0;
|
| 475 |
+
trashCount.textContent = currentCount + 1;
|
| 476 |
+
trashCount.classList.remove('hidden');
|
| 477 |
+
});
|
| 478 |
+
}
|
| 479 |
+
|
| 480 |
// Star toggle functionality
|
| 481 |
document.querySelectorAll('.star-btn').forEach(btn => {
|
| 482 |
btn.addEventListener('click', function(e) {
|
|
|
|
| 510 |
setTimeout(() => {
|
| 511 |
notification.classList.add('hidden');
|
| 512 |
}, 3000);
|
| 513 |
+
|
| 514 |
+
// Add flashing effect to first email (simulating new email)
|
| 515 |
+
const firstEmail = document.querySelector('.email-item');
|
| 516 |
+
if (firstEmail) {
|
| 517 |
+
firstEmail.classList.add('new-email', 'unread');
|
| 518 |
+
setTimeout(() => {
|
| 519 |
+
firstEmail.classList.remove('new-email');
|
| 520 |
+
}, 1500); // Matches 3 flashes (0.5s each * 3)
|
| 521 |
+
}
|
| 522 |
}
|
| 523 |
|
| 524 |
// Simulate new email arrival (for demo purposes)
|
|
|
|
| 530 |
}
|
| 531 |
}, 10000); // Check every 10 seconds
|
| 532 |
|
| 533 |
+
// Trash functionality
|
| 534 |
+
const trashEmails = [];
|
| 535 |
+
|
| 536 |
+
// Show trash container when clicking trash link
|
| 537 |
+
document.getElementById('trash-link').addEventListener('click', function(e) {
|
| 538 |
+
e.preventDefault();
|
| 539 |
+
document.querySelector('main > div').classList.add('hidden');
|
| 540 |
+
document.getElementById('trash-container').classList.remove('hidden');
|
| 541 |
+
renderTrashEmails();
|
| 542 |
+
});
|
| 543 |
+
|
| 544 |
+
function goBackToInbox() {
|
| 545 |
+
document.getElementById('trash-container').classList.add('hidden');
|
| 546 |
+
document.querySelector('main > div').classList.remove('hidden');
|
| 547 |
+
}
|
| 548 |
+
|
| 549 |
+
function renderTrashEmails() {
|
| 550 |
+
const trashContainer = document.getElementById('trash-emails');
|
| 551 |
+
trashContainer.innerHTML = '';
|
| 552 |
+
|
| 553 |
+
if (trashEmails.length === 0) {
|
| 554 |
+
trashContainer.innerHTML = `
|
| 555 |
+
<div class="p-8 text-center">
|
| 556 |
+
<i class="fas fa-trash text-4xl text-gray-500 mb-4"></i>
|
| 557 |
+
<h3 class="text-xl font-bold text-gray-400 mb-2">Çöp kutusu boş</h3>
|
| 558 |
+
<p class="text-gray-500">Silinen e-postalar burada görüntülenecek</p>
|
| 559 |
+
</div>
|
| 560 |
+
`;
|
| 561 |
+
return;
|
| 562 |
+
}
|
| 563 |
+
|
| 564 |
+
trashEmails.forEach(email => {
|
| 565 |
+
trashContainer.appendChild(email);
|
| 566 |
+
});
|
| 567 |
+
}
|
| 568 |
+
|
| 569 |
+
// Move selected emails to trash
|
| 570 |
+
function moveToTrash() {
|
| 571 |
+
const selectedEmails = document.querySelectorAll('.email-item.selected');
|
| 572 |
+
const trashCount = document.getElementById('trash-count');
|
| 573 |
+
|
| 574 |
+
selectedEmails.forEach(email => {
|
| 575 |
+
// Clone the email to preserve it
|
| 576 |
+
const clonedEmail = email.cloneNode(true);
|
| 577 |
+
trashEmails.push(clonedEmail);
|
| 578 |
+
|
| 579 |
+
// Remove from inbox
|
| 580 |
+
email.remove();
|
| 581 |
+
|
| 582 |
+
// Update trash count
|
| 583 |
+
const currentCount = parseInt(trashCount.textContent) || 0;
|
| 584 |
+
trashCount.textContent = currentCount + 1;
|
| 585 |
+
trashCount.classList.remove('hidden');
|
| 586 |
+
});
|
| 587 |
+
}
|
| 588 |
+
|
| 589 |
// Generate random email and password
|
| 590 |
function generateRandomString(length) {
|
| 591 |
const chars = 'abcdefghijklmnopqrstuvwxyz0123456789';
|
|
|
|
| 607 |
});
|
| 608 |
*/
|
| 609 |
</script>
|
| 610 |
+
|
| 611 |
+
<!-- Footer -->
|
| 612 |
+
<footer class="bg-secondary text-gray-400 py-6 mt-8">
|
| 613 |
+
<div class="container mx-auto px-4">
|
| 614 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 615 |
+
<div class="mb-4 md:mb-0">
|
| 616 |
+
<p class="text-sm">© 2025 TempMail. Tüm Haklar Saklıdır</p>
|
| 617 |
+
</div>
|
| 618 |
+
<div class="flex space-x-4">
|
| 619 |
+
<a href="#" class="hover:text-primary transition-colors"><i class="fab fa-github"></i></a>
|
| 620 |
+
<a href="#" class="hover:text-primary transition-colors"><i class="fab fa-twitter"></i></a>
|
| 621 |
+
<a href="#" class="hover:text-primary transition-colors"><i class="fab fa-discord"></i></a>
|
| 622 |
+
</div>
|
| 623 |
+
</div>
|
| 624 |
+
</div>
|
| 625 |
+
</footer>
|
| 626 |
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Helleon/temp" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 627 |
</html>
|