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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="tr">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Merhaba! 👋</title>
|
| 7 |
+
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
| 8 |
+
<style>
|
| 9 |
+
* {
|
| 10 |
+
margin: 0;
|
| 11 |
+
padding: 0;
|
| 12 |
+
box-sizing: border-box;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
body {
|
| 16 |
+
font-family: 'Poppins', sans-serif;
|
| 17 |
+
min-height: 100vh;
|
| 18 |
+
display: flex;
|
| 19 |
+
flex-direction: column;
|
| 20 |
+
align-items: center;
|
| 21 |
+
justify-content: center;
|
| 22 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 23 |
+
padding: 20px;
|
| 24 |
+
overflow: hidden;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
.header {
|
| 28 |
+
text-align: center;
|
| 29 |
+
margin-bottom: 40px;
|
| 30 |
+
animation: fadeInDown 0.8s ease-out;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
.header a {
|
| 34 |
+
color: white;
|
| 35 |
+
text-decoration: none;
|
| 36 |
+
font-size: 14px;
|
| 37 |
+
opacity: 0.8;
|
| 38 |
+
transition: opacity 0.3s ease;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.header a:hover {
|
| 42 |
+
opacity: 1;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
.container {
|
| 46 |
+
background: rgba(255, 255, 255, 0.95);
|
| 47 |
+
border-radius: 30px;
|
| 48 |
+
padding: 50px;
|
| 49 |
+
max-width: 500px;
|
| 50 |
+
width: 100%;
|
| 51 |
+
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
| 52 |
+
animation: fadeInUp 0.8s ease-out 0.2s both;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
.avatar {
|
| 56 |
+
width: 120px;
|
| 57 |
+
height: 120px;
|
| 58 |
+
margin: 0 auto 30px;
|
| 59 |
+
position: relative;
|
| 60 |
+
animation: bounce 2s ease-in-out infinite;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.avatar::before {
|
| 64 |
+
content: '';
|
| 65 |
+
position: absolute;
|
| 66 |
+
width: 100%;
|
| 67 |
+
height: 100%;
|
| 68 |
+
border-radius: 50%;
|
| 69 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 70 |
+
z-index: -1;
|
| 71 |
+
top: 5px;
|
| 72 |
+
left: 5px;
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
.avatar-inner {
|
| 76 |
+
width: 100%;
|
| 77 |
+
height: 100%;
|
| 78 |
+
border-radius: 50%;
|
| 79 |
+
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
|
| 80 |
+
display: flex;
|
| 81 |
+
align-items: center;
|
| 82 |
+
justify-content: center;
|
| 83 |
+
font-size: 50px;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
h1 {
|
| 87 |
+
text-align: center;
|
| 88 |
+
color: #333;
|
| 89 |
+
margin-bottom: 10px;
|
| 90 |
+
font-size: 28px;
|
| 91 |
+
font-weight: 600;
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
.subtitle {
|
| 95 |
+
text-align: center;
|
| 96 |
+
color: #666;
|
| 97 |
+
margin-bottom: 30px;
|
| 98 |
+
font-size: 16px;
|
| 99 |
+
line-height: 1.6;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
.response-box {
|
| 103 |
+
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
| 104 |
+
border-radius: 20px;
|
| 105 |
+
padding: 25px;
|
| 106 |
+
margin-bottom: 30px;
|
| 107 |
+
position: relative;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
.response-box::before {
|
| 111 |
+
content: '💬';
|
| 112 |
+
position: absolute;
|
| 113 |
+
top: -15px;
|
| 114 |
+
left: 20px;
|
| 115 |
+
font-size: 24px;
|
| 116 |
+
background: white;
|
| 117 |
+
padding: 5px 10px;
|
| 118 |
+
border-radius: 50%;
|
| 119 |
+
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
.response-text {
|
| 123 |
+
color: #444;
|
| 124 |
+
font-size: 16px;
|
| 125 |
+
line-height: 1.8;
|
| 126 |
+
}
|
| 127 |
+
|
| 128 |
+
.status-indicator {
|
| 129 |
+
display: inline-flex;
|
| 130 |
+
align-items: center;
|
| 131 |
+
gap: 8px;
|
| 132 |
+
background: #d4edda;
|
| 133 |
+
color: #155724;
|
| 134 |
+
padding: 8px 16px;
|
| 135 |
+
border-radius: 50px;
|
| 136 |
+
font-size: 14px;
|
| 137 |
+
margin-bottom: 25px;
|
| 138 |
+
}
|
| 139 |
+
|
| 140 |
+
.status-dot {
|
| 141 |
+
width: 8px;
|
| 142 |
+
height: 8px;
|
| 143 |
+
background: #28a745;
|
| 144 |
+
border-radius: 50%;
|
| 145 |
+
animation: pulse 2s ease-in-out infinite;
|
| 146 |
+
}
|
| 147 |
+
|
| 148 |
+
.btn-group {
|
| 149 |
+
display: flex;
|
| 150 |
+
gap: 15px;
|
| 151 |
+
flex-wrap: wrap;
|
| 152 |
+
justify-content: center;
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
.btn {
|
| 156 |
+
padding: 15px 30px;
|
| 157 |
+
border: none;
|
| 158 |
+
border-radius: 50px;
|
| 159 |
+
font-size: 16px;
|
| 160 |
+
font-weight: 500;
|
| 161 |
+
cursor: pointer;
|
| 162 |
+
transition: all 0.3s ease;
|
| 163 |
+
font-family: inherit;
|
| 164 |
+
}
|
| 165 |
+
|
| 166 |
+
.btn-primary {
|
| 167 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 168 |
+
color: white;
|
| 169 |
+
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
.btn-primary:hover {
|
| 173 |
+
transform: translateY(-3px);
|
| 174 |
+
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
|
| 175 |
+
}
|
| 176 |
+
|
| 177 |
+
.btn-secondary {
|
| 178 |
+
background: white;
|
| 179 |
+
color: #667eea;
|
| 180 |
+
border: 2px solid #667eea;
|
| 181 |
+
}
|
| 182 |
+
|
| 183 |
+
.btn-secondary:hover {
|
| 184 |
+
background: #667eea;
|
| 185 |
+
color: white;
|
| 186 |
+
transform: translateY(-3px);
|
| 187 |
+
}
|
| 188 |
+
|
| 189 |
+
.floating-shapes {
|
| 190 |
+
position: fixed;
|
| 191 |
+
top: 0;
|
| 192 |
+
left: 0;
|
| 193 |
+
width: 100%;
|
| 194 |
+
height: 100%;
|
| 195 |
+
pointer-events: none;
|
| 196 |
+
overflow: hidden;
|
| 197 |
+
z-index: -1;
|
| 198 |
+
}
|
| 199 |
+
|
| 200 |
+
.shape {
|
| 201 |
+
position: absolute;
|
| 202 |
+
border-radius: 50%;
|
| 203 |
+
opacity: 0.1;
|
| 204 |
+
animation: float 20s ease-in-out infinite;
|
| 205 |
+
}
|
| 206 |
+
|
| 207 |
+
.shape:nth-child(1) {
|
| 208 |
+
width: 300px;
|
| 209 |
+
height: 300px;
|
| 210 |
+
background: white;
|
| 211 |
+
top: -100px;
|
| 212 |
+
left: -100px;
|
| 213 |
+
animation-delay: 0s;
|
| 214 |
+
}
|
| 215 |
+
|
| 216 |
+
.shape:nth-child(2) {
|
| 217 |
+
width: 200px;
|
| 218 |
+
height: 200px;
|
| 219 |
+
background: white;
|
| 220 |
+
bottom: -50px;
|
| 221 |
+
right: -50px;
|
| 222 |
+
animation-delay: -5s;
|
| 223 |
+
}
|
| 224 |
+
|
| 225 |
+
.shape:nth-child(3) {
|
| 226 |
+
width: 150px;
|
| 227 |
+
height: 150px;
|
| 228 |
+
background: white;
|
| 229 |
+
top: 50%;
|
| 230 |
+
right: 10%;
|
| 231 |
+
animation-delay: -10s;
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
@keyframes fadeInDown {
|
| 235 |
+
from {
|
| 236 |
+
opacity: 0;
|
| 237 |
+
transform: translateY(-30px);
|
| 238 |
+
}
|
| 239 |
+
to {
|
| 240 |
+
opacity: 1;
|
| 241 |
+
transform: translateY(0);
|
| 242 |
+
}
|
| 243 |
+
}
|
| 244 |
+
|
| 245 |
+
@keyframes fadeInUp {
|
| 246 |
+
from {
|
| 247 |
+
opacity: 0;
|
| 248 |
+
transform: translateY(30px);
|
| 249 |
+
}
|
| 250 |
+
to {
|
| 251 |
+
opacity: 1;
|
| 252 |
+
transform: translateY(0);
|
| 253 |
+
}
|
| 254 |
+
}
|
| 255 |
+
|
| 256 |
+
@keyframes bounce {
|
| 257 |
+
0%, 100% {
|
| 258 |
+
transform: translateY(0);
|
| 259 |
+
}
|
| 260 |
+
50% {
|
| 261 |
+
transform: translateY(-15px);
|
| 262 |
+
}
|
| 263 |
+
}
|
| 264 |
+
|
| 265 |
+
@keyframes pulse {
|
| 266 |
+
0%, 100% {
|
| 267 |
+
opacity: 1;
|
| 268 |
+
transform: scale(1);
|
| 269 |
+
}
|
| 270 |
+
50% {
|
| 271 |
+
opacity: 0.5;
|
| 272 |
+
transform: scale(1.2);
|
| 273 |
+
}
|
| 274 |
+
}
|
| 275 |
+
|
| 276 |
+
@keyframes float {
|
| 277 |
+
0%, 100% {
|
| 278 |
+
transform: translate(0, 0) rotate(0deg);
|
| 279 |
+
}
|
| 280 |
+
25% {
|
| 281 |
+
transform: translate(20px, -20px) rotate(5deg);
|
| 282 |
+
}
|
| 283 |
+
50% {
|
| 284 |
+
transform: translate(-10px, 10px) rotate(-5deg);
|
| 285 |
+
}
|
| 286 |
+
75% {
|
| 287 |
+
transform: translate(-20px, -10px) rotate(3deg);
|
| 288 |
+
}
|
| 289 |
+
}
|
| 290 |
+
|
| 291 |
+
.typing-indicator {
|
| 292 |
+
display: flex;
|
| 293 |
+
gap: 5px;
|
| 294 |
+
padding: 10px 0;
|
| 295 |
+
}
|
| 296 |
+
|
| 297 |
+
.typing-indicator span {
|
| 298 |
+
width: 8px;
|
| 299 |
+
height: 8px;
|
| 300 |
+
background: #667eea;
|
| 301 |
+
border-radius: 50%;
|
| 302 |
+
animation: typing 1.4s ease-in-out infinite;
|
| 303 |
+
}
|
| 304 |
+
|
| 305 |
+
.typing-indicator span:nth-child(2) {
|
| 306 |
+
animation-delay: 0.2s;
|
| 307 |
+
}
|
| 308 |
+
|
| 309 |
+
.typing-indicator span:nth-child(3) {
|
| 310 |
+
animation-delay: 0.4s;
|
| 311 |
+
}
|
| 312 |
+
|
| 313 |
+
@keyframes typing {
|
| 314 |
+
0%, 60%, 100% {
|
| 315 |
+
transform: translateY(0);
|
| 316 |
+
}
|
| 317 |
+
30% {
|
| 318 |
+
transform: translateY(-10px);
|
| 319 |
+
}
|
| 320 |
+
}
|
| 321 |
+
|
| 322 |
+
.hidden {
|
| 323 |
+
display: none;
|
| 324 |
+
}
|
| 325 |
+
|
| 326 |
+
.modal {
|
| 327 |
+
position: fixed;
|
| 328 |
+
top: 0;
|
| 329 |
+
left: 0;
|
| 330 |
+
width: 100%;
|
| 331 |
+
height: 100%;
|
| 332 |
+
background: rgba(0, 0, 0, 0.5);
|
| 333 |
+
display: flex;
|
| 334 |
+
align-items: center;
|
| 335 |
+
justify-content: center;
|
| 336 |
+
z-index: 1000;
|
| 337 |
+
opacity: 0;
|
| 338 |
+
visibility: hidden;
|
| 339 |
+
transition: all 0.3s ease;
|
| 340 |
+
}
|
| 341 |
+
|
| 342 |
+
.modal.active {
|
| 343 |
+
opacity: 1;
|
| 344 |
+
visibility: visible;
|
| 345 |
+
}
|
| 346 |
+
|
| 347 |
+
.modal-content {
|
| 348 |
+
background: white;
|
| 349 |
+
padding: 40px;
|
| 350 |
+
border-radius: 30px;
|
| 351 |
+
max-width: 400px;
|
| 352 |
+
width: 90%;
|
| 353 |
+
text-align: center;
|
| 354 |
+
transform: scale(0.8);
|
| 355 |
+
transition: transform 0.3s ease;
|
| 356 |
+
}
|
| 357 |
+
|
| 358 |
+
.modal.active .modal-content {
|
| 359 |
+
transform: scale(1);
|
| 360 |
+
}
|
| 361 |
+
|
| 362 |
+
.modal-icon {
|
| 363 |
+
font-size: 60px;
|
| 364 |
+
margin-bottom: 20px;
|
| 365 |
+
}
|
| 366 |
+
|
| 367 |
+
.modal h2 {
|
| 368 |
+
color: #333;
|
| 369 |
+
margin-bottom: 15px;
|
| 370 |
+
}
|
| 371 |
+
|
| 372 |
+
.modal p {
|
| 373 |
+
color: #666;
|
| 374 |
+
margin-bottom: 25px;
|
| 375 |
+
}
|
| 376 |
+
|
| 377 |
+
@media (max-width: 600px) {
|
| 378 |
+
.container {
|
| 379 |
+
padding: 30px 20px;
|
| 380 |
+
}
|
| 381 |
+
|
| 382 |
+
h1 {
|
| 383 |
+
font-size: 24px;
|
| 384 |
+
}
|
| 385 |
+
|
| 386 |
+
.subtitle {
|
| 387 |
+
font-size: 14px;
|
| 388 |
+
}
|
| 389 |
+
|
| 390 |
+
.btn-group {
|
| 391 |
+
flex-direction: column;
|
| 392 |
+
}
|
| 393 |
+
|
| 394 |
+
.btn {
|
| 395 |
+
width: 100%;
|
| 396 |
+
}
|
| 397 |
+
}
|
| 398 |
+
</style>
|
| 399 |
+
</head>
|
| 400 |
+
<body>
|
| 401 |
+
<div class="floating-shapes">
|
| 402 |
+
<div class="shape"></div>
|
| 403 |
+
<div class="shape"></div>
|
| 404 |
+
<div class="shape"></div>
|
| 405 |
+
</div>
|
| 406 |
+
|
| 407 |
+
<div class="header">
|
| 408 |
+
<a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank">Built with anycoder</a>
|
| 409 |
+
</div>
|
| 410 |
+
|
| 411 |
+
<div class="container">
|
| 412 |
+
<div class="avatar">
|
| 413 |
+
<div class="avatar-inner">😊</div>
|
| 414 |
+
</div>
|
| 415 |
+
|
| 416 |
+
<h1>Merhaba! 👋</h1>
|
| 417 |
+
|
| 418 |
+
<div class="status-indicator">
|
| 419 |
+
<span class="status-dot"></span>
|
| 420 |
+
Çevrimiçi ve Hazırım
|
| 421 |
+
</div>
|
| 422 |
+
|
| 423 |
+
<p class="subtitle">
|
| 424 |
+
Ben geliştirilmiş bir yapay zeka asistanıyım. Size nasıl yardımcı olabilirim?
|
| 425 |
+
</p>
|
| 426 |
+
|
| 427 |
+
<div class="response-box">
|
| 428 |
+
<p class="response-text" id="responseText">
|
| 429 |
+
İyiyim, teşekkür ederim! 🌟 Siz nasılsınız? Ben burada her türlü sorunuzda size yardımcı olmak için bekliyorum. HTML, CSS, JavaScript veya başka konularda bir şeyler oluşturmak ister misiniz?
|
| 430 |
+
</p>
|
| 431 |
+
</div>
|
| 432 |
+
|
| 433 |
+
<div class="btn-group">
|
| 434 |
+
<button class="btn btn-primary" onclick="showOptions()">
|
| 435 |
+
💡 Fikirler Göster
|
| 436 |
+
</button>
|
| 437 |
+
<button class="btn btn-secondary" onclick="openChat()">
|
| 438 |
+
💬 Sohbet Başlat
|
| 439 |
+
</button>
|
| 440 |
+
</div>
|
| 441 |
+
</div>
|
| 442 |
+
|
| 443 |
+
<!-- Options Modal -->
|
| 444 |
+
<div class="modal" id="optionsModal">
|
| 445 |
+
<div class="modal-content">
|
| 446 |
+
<div class="modal-icon">🎨</div>
|
| 447 |
+
<h2>Ne Yapmak İstersiniz?</h2>
|
| 448 |
+
<p>Farklı projeler ve uygulamalar oluşturabiliriz</p>
|
| 449 |
+
<div class="btn-group" style="flex-direction: column;">
|
| 450 |
+
<button class="btn btn-primary" onclick="createWebApp()">🌐 Web Sitesi</button>
|
| 451 |
+
<button class="btn btn-secondary" onclick="createGame()">🎮 Basit Oyun</button>
|
| 452 |
+
<button class="btn btn-primary" onclick="createTool()">🛠️ Araç Uygulaması</button>
|
| 453 |
+
<button class="btn btn-secondary" onclick="closeModal()">❌ Kapat</button>
|
| 454 |
+
</div>
|
| 455 |
+
</div>
|
| 456 |
+
</div>
|
| 457 |
+
|
| 458 |
+
<!-- Chat Modal -->
|
| 459 |
+
<div class="modal" id="chatModal">
|
| 460 |
+
<div class="modal-content">
|
| 461 |
+
<div class="modal-icon">💬</div>
|
| 462 |
+
<h2>Yakında Geliyor!</h2>
|
| 463 |
+
<p>Sohbet özelliği şu anda geliştirme aşamasında. Çok yakında burada olacak! 🎉</p>
|
| 464 |
+
<button class="btn btn-primary" onclick="closeModal()">Tamam 👍</button>
|
| 465 |
+
</div>
|
| 466 |
+
</div>
|
| 467 |
+
|
| 468 |
+
<script>
|
| 469 |
+
// Initial greeting animation
|
| 470 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 471 |
+
const responseText = document.getElementById('responseText');
|
| 472 |
+
responseText.style.opacity = '0';
|
| 473 |
+
|
| 474 |
+
setTimeout(() => {
|
| 475 |
+
responseText.style.transition = 'opacity 0.5s ease';
|
| 476 |
+
responseText.style.opacity = '1';
|
| 477 |
+
}, 1000);
|
| 478 |
+
});
|
| 479 |
+
|
| 480 |
+
// Show options modal
|
| 481 |
+
function showOptions() {
|
| 482 |
+
document.getElementById('optionsModal').classList.add('active');
|
| 483 |
+
}
|
| 484 |
+
|
| 485 |
+
// Open chat modal
|
| 486 |
+
function openChat() {
|
| 487 |
+
document.getElementById('chatModal').classList.add('active');
|
| 488 |
+
}
|
| 489 |
+
|
| 490 |
+
// Close modal
|
| 491 |
+
function closeModal() {
|
| 492 |
+
document.querySelectorAll('.modal').forEach(modal => {
|
| 493 |
+
modal.classList.remove('active');
|
| 494 |
+
});
|
| 495 |
+
}
|
| 496 |
+
|
| 497 |
+
// Close modal on backdrop click
|
| 498 |
+
document.querySelectorAll('.modal').forEach(modal => {
|
| 499 |
+
modal.addEventListener('click', (e) => {
|
| 500 |
+
if (e.target === modal) {
|
| 501 |
+
closeModal();
|
| 502 |
+
}
|
| 503 |
+
});
|
| 504 |
+
});
|
| 505 |
+
|
| 506 |
+
// Create different types of projects
|
| 507 |
+
function createWebApp() {
|
| 508 |
+
closeModal();
|
| 509 |
+
alert('🌐 Harika bir web sitesi fikri! \n\nBana ne tür bir web sitesi istediğinizi söyleyin:\n- Kişisel portfolyo\n- Blog sitesi\n- İşletme web sitesi\n- Landing page\n\nVe detayları ile birlikte oluşturayım!');
|
| 510 |
+
}
|
| 511 |
+
|
| 512 |
+
function createGame() {
|
| 513 |
+
closeModal();
|
| 514 |
+
alert('🎮 Eğlenceli! 🎮\n\nHangi tür oyun oluşturalım:\n- Hafıza kart oyunu\n- Quiz oyunu\n- Snake oyunu\n- Sayı tahmin oyunu\n\nTercihinizi söyleyin, hemen başlayalım!');
|
| 515 |
+
}
|
| 516 |
+
|
| 517 |
+
function createTool() {
|
| 518 |
+
closeModal();
|
| 519 |
+
alert('🛠️ Faydalı bir araç! 🛠️\n\nHangi tür araç uygulaması istersiniz:\n- Hesap makinesi\n- Not alma uygulaması\n- Renk seçici\n- QR kod oluşturucu\n\nDetayları ile birlikte yazın!');
|
| 520 |
+
}
|
| 521 |
+
|
| 522 |
+
// Add some random fun responses on hover
|
| 523 |
+
const avatar = document.querySelector('.avatar');
|
| 524 |
+
const emojis = ['😊', '😄', '🙂', '😉', '🤗'];
|
| 525 |
+
let currentEmoji = 0;
|
| 526 |
+
|
| 527 |
+
avatar.addEventListener('mouseenter', () => {
|
| 528 |
+
currentEmoji = (currentEmoji + 1) % emojis.length;
|
| 529 |
+
avatar.querySelector('.avatar-inner').textContent = emojis[currentEmoji];
|
| 530 |
+
});
|
| 531 |
+
|
| 532 |
+
// Confetti effect on double click
|
| 533 |
+
document.addEventListener('dblclick', (e) => {
|
| 534 |
+
createConfetti(e.clientX, e.clientY);
|
| 535 |
+
});
|
| 536 |
+
|
| 537 |
+
function createConfetti(x, y) {
|
| 538 |
+
for (let i = 0; i < 20; i++) {
|
| 539 |
+
const confetti = document.createElement('div');
|
| 540 |
+
confetti.style.cssText = `
|
| 541 |
+
position: fixed;
|
| 542 |
+
width: 10px;
|
| 543 |
+
height: 10px;
|
| 544 |
+
background: ${['#667eea', '#764ba2', '#f093fb', '#f5576c', '#28a745'][Math.floor(Math.random() * 5)]};
|
| 545 |
+
border-radius: ${Math.random() > 0.5 ? '50%' : '0'};
|
| 546 |
+
pointer-events: none;
|
| 547 |
+
left: ${x}px;
|
| 548 |
+
top: ${y}px;
|
| 549 |
+
animation: confettiFall ${1 + Math.random()}s ease-out forwards;
|
| 550 |
+
z-index: 9999;
|
| 551 |
+
`;
|
| 552 |
+
document.body.appendChild(confetti);
|
| 553 |
+
|
| 554 |
+
setTimeout(() => confetti.remove(), 2000);
|
| 555 |
+
}
|
| 556 |
+
}
|
| 557 |
+
|
| 558 |
+
// Add confetti animation dynamically
|
| 559 |
+
const style = document.createElement('style');
|
| 560 |
+
style.textContent = `
|
| 561 |
+
@keyframes confettiFall {
|
| 562 |
+
0% {
|
| 563 |
+
transform: translate(0, 0) rotate(0deg);
|
| 564 |
+
opacity: 1;
|
| 565 |
+
}
|
| 566 |
+
100% {
|
| 567 |
+
transform: translate(${100 - Math.random() * 200}px, ${window.innerHeight}px) rotate(${Math.random() * 720}deg);
|
| 568 |
+
opacity: 0;
|
| 569 |
+
}
|
| 570 |
+
}
|
| 571 |
+
`;
|
| 572 |
+
document.head.appendChild(style);
|
| 573 |
+
</script>
|
| 574 |
+
</body>
|
| 575 |
+
</html>
|