Upload folder using huggingface_hub
Browse files- index.html +692 -538
index.html
CHANGED
|
@@ -1,560 +1,714 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="en">
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="UTF-8">
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>Father & Son Image Creator</title>
|
| 7 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 8 |
-
<style>
|
| 9 |
-
* {
|
| 10 |
-
margin: 0;
|
| 11 |
-
padding: 0;
|
| 12 |
-
box-sizing: border-box;
|
| 13 |
-
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 14 |
-
}
|
| 15 |
-
|
| 16 |
-
body {
|
| 17 |
-
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
|
| 18 |
-
color: white;
|
| 19 |
-
min-height: 100vh;
|
| 20 |
-
padding: 20px;
|
| 21 |
-
}
|
| 22 |
-
|
| 23 |
-
.container {
|
| 24 |
-
max-width: 1200px;
|
| 25 |
-
margin: 0 auto;
|
| 26 |
-
}
|
| 27 |
-
|
| 28 |
-
.header {
|
| 29 |
-
display: flex;
|
| 30 |
-
justify-content: space-between;
|
| 31 |
-
align-items: center;
|
| 32 |
-
padding: 20px 0;
|
| 33 |
-
border-bottom: 2px solid rgba(255, 255, 255, 0.1);
|
| 34 |
-
margin-bottom: 30px;
|
| 35 |
-
}
|
| 36 |
-
|
| 37 |
-
.logo {
|
| 38 |
-
display: flex;
|
| 39 |
-
align-items: center;
|
| 40 |
-
gap: 15px;
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
.logo i {
|
| 44 |
-
font-size: 2.5rem;
|
| 45 |
-
color: #ffd700;
|
| 46 |
-
}
|
| 47 |
-
|
| 48 |
-
.logo h1 {
|
| 49 |
-
font-size: 2rem;
|
| 50 |
-
font-weight: 700;
|
| 51 |
-
}
|
| 52 |
-
|
| 53 |
-
.anycoder-link {
|
| 54 |
-
color: #ffd700;
|
| 55 |
-
text-decoration: none;
|
| 56 |
-
font-weight: 600;
|
| 57 |
-
transition: all 0.3s ease;
|
| 58 |
-
}
|
| 59 |
-
|
| 60 |
-
.anycoder-link:hover {
|
| 61 |
-
text-decoration: underline;
|
| 62 |
-
transform: scale(1.05);
|
| 63 |
-
}
|
| 64 |
-
|
| 65 |
-
.main-content {
|
| 66 |
-
display: grid;
|
| 67 |
-
grid-template-columns: 1fr 1fr;
|
| 68 |
-
gap: 30px;
|
| 69 |
-
margin-bottom: 40px;
|
| 70 |
-
}
|
| 71 |
-
|
| 72 |
-
@media (max-width: 768px) {
|
| 73 |
-
.main-content {
|
| 74 |
-
grid-template-columns: 1fr;
|
| 75 |
-
}
|
| 76 |
-
}
|
| 77 |
-
|
| 78 |
-
.controls {
|
| 79 |
-
background: rgba(255, 255, 255, 0.1);
|
| 80 |
-
backdrop-filter: blur(10px);
|
| 81 |
-
border-radius: 20px;
|
| 82 |
-
padding: 30px;
|
| 83 |
-
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
|
| 84 |
-
}
|
| 85 |
-
|
| 86 |
-
.controls h2 {
|
| 87 |
-
margin-bottom: 20px;
|
| 88 |
-
font-size: 1.8rem;
|
| 89 |
-
color: #ffd700;
|
| 90 |
-
text-align: center;
|
| 91 |
-
}
|
| 92 |
-
|
| 93 |
-
.setting-group {
|
| 94 |
-
margin-bottom: 25px;
|
| 95 |
-
}
|
| 96 |
-
|
| 97 |
-
.setting-group label {
|
| 98 |
-
display: block;
|
| 99 |
-
margin-bottom: 8px;
|
| 100 |
-
font-weight: 600;
|
| 101 |
-
}
|
| 102 |
-
|
| 103 |
-
.setting-group select, .setting-group input {
|
| 104 |
-
width: 100%;
|
| 105 |
-
padding: 12px 15px;
|
| 106 |
-
border-radius: 10px;
|
| 107 |
-
border: none;
|
| 108 |
-
background: rgba(255, 255, 255, 0.9);
|
| 109 |
-
font-size: 1rem;
|
| 110 |
-
}
|
| 111 |
-
|
| 112 |
-
.setting-group textarea {
|
| 113 |
-
width: 100%;
|
| 114 |
-
height: 100px;
|
| 115 |
-
padding: 12px 15px;
|
| 116 |
-
border-radius: 10px;
|
| 117 |
-
border: none;
|
| 118 |
-
background: rgba(255, 255, 255, 0.9);
|
| 119 |
-
font-size: 1rem;
|
| 120 |
-
resize: vertical;
|
| 121 |
-
}
|
| 122 |
-
|
| 123 |
-
.button-group {
|
| 124 |
-
display: flex;
|
| 125 |
-
gap: 15px;
|
| 126 |
-
margin-top: 30px;
|
| 127 |
-
}
|
| 128 |
-
|
| 129 |
-
.btn {
|
| 130 |
-
flex: 1;
|
| 131 |
-
padding: 15px;
|
| 132 |
-
border: none;
|
| 133 |
-
border-radius: 10px;
|
| 134 |
-
font-size: 1.1rem;
|
| 135 |
-
font-weight: 600;
|
| 136 |
-
cursor: pointer;
|
| 137 |
-
transition: all 0.3s ease;
|
| 138 |
-
display: flex;
|
| 139 |
-
align-items: center;
|
| 140 |
-
justify-content: center;
|
| 141 |
-
gap: 10px;
|
| 142 |
-
}
|
| 143 |
-
|
| 144 |
-
.btn-primary {
|
| 145 |
-
background: #ffd700;
|
| 146 |
-
color: #1e3c72;
|
| 147 |
-
}
|
| 148 |
-
|
| 149 |
-
.btn-primary:hover {
|
| 150 |
-
background: #ffed4e;
|
| 151 |
-
transform: translateY(-3px);
|
| 152 |
-
box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
|
| 153 |
-
}
|
| 154 |
-
|
| 155 |
-
.btn-secondary {
|
| 156 |
-
background: rgba(255, 255, 255, 0.2);
|
| 157 |
-
color: white;
|
| 158 |
-
}
|
| 159 |
-
|
| 160 |
-
.btn-secondary:hover {
|
| 161 |
-
background: rgba(255, 255, 255, 0.3);
|
| 162 |
-
transform: translateY(-3px);
|
| 163 |
-
}
|
| 164 |
-
|
| 165 |
-
.preview {
|
| 166 |
-
background: rgba(255, 255, 255, 0.1);
|
| 167 |
-
backdrop-filter: blur(10px);
|
| 168 |
-
border-radius: 20px;
|
| 169 |
-
padding: 30px;
|
| 170 |
-
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
|
| 171 |
-
display: flex;
|
| 172 |
-
flex-direction: column;
|
| 173 |
-
align-items: center;
|
| 174 |
-
justify-content: center;
|
| 175 |
-
}
|
| 176 |
-
|
| 177 |
-
.preview h2 {
|
| 178 |
-
margin-bottom: 20px;
|
| 179 |
-
font-size: 1.8rem;
|
| 180 |
-
color: #ffd700;
|
| 181 |
-
text-align: center;
|
| 182 |
-
}
|
| 183 |
-
|
| 184 |
-
.image-container {
|
| 185 |
-
width: 100%;
|
| 186 |
-
height: 400px;
|
| 187 |
-
background: rgba(255, 255, 255, 0.05);
|
| 188 |
-
border-radius: 15px;
|
| 189 |
-
display: flex;
|
| 190 |
-
align-items: center;
|
| 191 |
-
justify-content: center;
|
| 192 |
-
overflow: hidden;
|
| 193 |
-
margin-bottom: 20px;
|
| 194 |
-
border: 2px dashed rgba(255, 255, 255, 0.2);
|
| 195 |
-
}
|
| 196 |
-
|
| 197 |
-
.image-placeholder {
|
| 198 |
-
text-align: center;
|
| 199 |
-
color: rgba(255, 255, 255, 0.5);
|
| 200 |
-
}
|
| 201 |
-
|
| 202 |
-
.image-placeholder i {
|
| 203 |
-
font-size: 4rem;
|
| 204 |
-
margin-bottom: 15px;
|
| 205 |
-
color: rgba(255, 255, 255, 0.3);
|
| 206 |
-
}
|
| 207 |
-
|
| 208 |
-
.generated-image {
|
| 209 |
-
max-width: 100%;
|
| 210 |
-
max-height: 100%;
|
| 211 |
-
border-radius: 10px;
|
| 212 |
-
display: none;
|
| 213 |
-
}
|
| 214 |
-
|
| 215 |
-
.image-info {
|
| 216 |
-
width: 100%;
|
| 217 |
-
padding: 15px;
|
| 218 |
-
background: rgba(255, 255, 255, 0.1);
|
| 219 |
-
border-radius: 10px;
|
| 220 |
-
margin-top: 15px;
|
| 221 |
-
}
|
| 222 |
-
|
| 223 |
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255, 0.05);
|
| 261 |
-
display: flex;
|
| 262 |
-
align-items: center;
|
| 263 |
-
justify-content: center;
|
| 264 |
-
color: rgba(255, 255, 255, 0.5);
|
| 265 |
-
}
|
| 266 |
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
margin-bottom: 5px;
|
| 273 |
-
}
|
| 274 |
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 280 |
|
| 281 |
-
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
|
| 290 |
|
| 291 |
-
|
| 292 |
-
|
| 293 |
-
|
| 294 |
-
|
| 295 |
-
|
|
|
|
|
|
|
|
|
|
| 296 |
|
| 297 |
-
|
| 298 |
-
|
| 299 |
-
|
| 300 |
-
|
| 301 |
-
background: #4CAF50;
|
| 302 |
-
color: white;
|
| 303 |
-
padding: 15px 25px;
|
| 304 |
-
border-radius: 10px;
|
| 305 |
-
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
|
| 306 |
-
display: none;
|
| 307 |
-
z-index: 1000;
|
| 308 |
-
}
|
| 309 |
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
|
| 313 |
-
|
| 314 |
-
<
|
| 315 |
-
<
|
| 316 |
-
|
| 317 |
-
<div
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 323 |
</div>
|
| 324 |
|
| 325 |
-
<div class="
|
| 326 |
-
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
<div class="setting-group">
|
| 330 |
-
<label for="scene">Scene/Situation</label>
|
| 331 |
-
<select id="scene">
|
| 332 |
-
<option value="playing">Playing in the Park</option>
|
| 333 |
-
<option value="fishing">Fishing Trip</option>
|
| 334 |
-
<option value="sports">Playing Sports</option>
|
| 335 |
-
<option value="reading">Reading Together</option>
|
| 336 |
-
<option value="cooking">Cooking Together</option>
|
| 337 |
-
<option value="workshop">Working in Workshop</option>
|
| 338 |
-
<option value="beach">Day at the Beach</option>
|
| 339 |
-
<option value="hiking">Hiking Adventure</option>
|
| 340 |
-
<option value="camping">Camping Trip</option>
|
| 341 |
-
<option value="celebration">Special Celebration</option>
|
| 342 |
-
</select>
|
| 343 |
-
</div>
|
| 344 |
-
|
| 345 |
-
<div class="setting-group">
|
| 346 |
-
<label for="style">Art Style</label>
|
| 347 |
-
<select id="style">
|
| 348 |
-
<option value="realistic">Realistic</option>
|
| 349 |
-
<option value="cartoon">Cartoon</option>
|
| 350 |
-
<option value="watercolor">Watercolor</option>
|
| 351 |
-
<option value="digital">Digital Art</option>
|
| 352 |
-
<option value="oil">Oil Painting</option>
|
| 353 |
-
<option value="sketch">Pencil Sketch</option>
|
| 354 |
-
</select>
|
| 355 |
-
</div>
|
| 356 |
-
|
| 357 |
-
<div class="setting-group">
|
| 358 |
-
<label for="time">Time of Day</label>
|
| 359 |
-
<select id="time">
|
| 360 |
-
<option value="day">Daytime</option>
|
| 361 |
-
<option value="sunset">Sunset</option>
|
| 362 |
-
<option value="night">Night</option>
|
| 363 |
-
<option value="morning">Morning</option>
|
| 364 |
-
</select>
|
| 365 |
-
</div>
|
| 366 |
-
|
| 367 |
-
<div class="setting-group">
|
| 368 |
-
<label for="season">Season</label>
|
| 369 |
-
<select id="season">
|
| 370 |
-
<option value="spring">Spring</option>
|
| 371 |
-
<option value="summer">Summer</option>
|
| 372 |
-
<option value="autumn">Autumn</option>
|
| 373 |
-
<option value="winter">Winter</option>
|
| 374 |
-
</select>
|
| 375 |
-
</div>
|
| 376 |
-
|
| 377 |
-
<div class="setting-group">
|
| 378 |
-
<label for="custom">Custom Description</label>
|
| 379 |
-
<textarea id="custom" placeholder="Describe your own father and son scenario..."></textarea>
|
| 380 |
-
</div>
|
| 381 |
-
|
| 382 |
-
<div class="button-group">
|
| 383 |
-
<button class="btn btn-primary" id="generate-btn">
|
| 384 |
-
<i class="fas fa-magic"></i> Generate Image
|
| 385 |
-
</button>
|
| 386 |
-
<button class="btn btn-secondary" id="save-btn">
|
| 387 |
-
<i class="fas fa-download"></i> Save Image
|
| 388 |
-
</button>
|
| 389 |
-
</div>
|
| 390 |
-
</div>
|
| 391 |
-
|
| 392 |
-
<div class="preview">
|
| 393 |
-
<h2>Image Preview</h2>
|
| 394 |
-
<div class="image-container">
|
| 395 |
-
<div class="image-placeholder" id="image-placeholder">
|
| 396 |
-
<i class="fas fa-image"></i>
|
| 397 |
-
<p>Your father and son image will appear here</p>
|
| 398 |
-
</div>
|
| 399 |
-
<img id="generated-image" class="generated-image" alt="Generated father and son image">
|
| 400 |
-
</div>
|
| 401 |
-
|
| 402 |
-
<div class="loading" id="loading">
|
| 403 |
-
<div class="loading-spinner"></div>
|
| 404 |
-
<p>Creating your special father and son moment...</p>
|
| 405 |
-
</div>
|
| 406 |
-
|
| 407 |
-
<div class="image-info" id="image-info">
|
| 408 |
-
<h3>Image Details</h3>
|
| 409 |
-
<p id="image-details">No image generated yet</p>
|
| 410 |
-
</div>
|
| 411 |
-
</div>
|
| 412 |
</div>
|
| 413 |
|
| 414 |
-
<div class="
|
| 415 |
-
|
| 416 |
-
|
| 417 |
-
<div class="gallery-item" data-scene="fishing">
|
| 418 |
-
<div class="gallery-img">
|
| 419 |
-
<i class="fas fa-fish"></i>
|
| 420 |
-
</div>
|
| 421 |
-
<div class="gallery-info">
|
| 422 |
-
<h4>Fishing Adventure</h4>
|
| 423 |
-
<p>Father teaching son to fish</p>
|
| 424 |
-
</div>
|
| 425 |
-
</div>
|
| 426 |
-
<div class="gallery-item" data-scene="sports">
|
| 427 |
-
<div class="gallery-img">
|
| 428 |
-
<i class="fas fa-baseball-ball"></i>
|
| 429 |
-
</div>
|
| 430 |
-
<div class="gallery-info">
|
| 431 |
-
<h4>Baseball Practice</h4>
|
| 432 |
-
<p>Playing catch in the backyard</p>
|
| 433 |
-
</div>
|
| 434 |
-
</div>
|
| 435 |
-
<div class="gallery-item" data-scene="reading">
|
| 436 |
-
<div class="gallery-img">
|
| 437 |
-
<i class="fas fa-book"></i>
|
| 438 |
-
</div>
|
| 439 |
-
<div class="gallery-info">
|
| 440 |
-
<h4>Bedtime Stories</h4>
|
| 441 |
-
<p>Reading together before bed</p>
|
| 442 |
-
</div>
|
| 443 |
-
</div>
|
| 444 |
-
<div class="gallery-item" data-scene="workshop">
|
| 445 |
-
<div class="gallery-img">
|
| 446 |
-
<i class="fas fa-tools"></i>
|
| 447 |
-
</div>
|
| 448 |
-
<div class="gallery-info">
|
| 449 |
-
<h4>Workshop Time</h4>
|
| 450 |
-
<p>Building something together</p>
|
| 451 |
-
</div>
|
| 452 |
-
</div>
|
| 453 |
-
</div>
|
| 454 |
</div>
|
|
|
|
| 455 |
</div>
|
| 456 |
|
| 457 |
-
<div class="
|
| 458 |
-
|
| 459 |
-
|
| 460 |
-
|
| 461 |
-
|
| 462 |
-
|
| 463 |
-
|
| 464 |
-
|
| 465 |
-
|
| 466 |
-
|
| 467 |
-
|
| 468 |
-
|
| 469 |
-
|
| 470 |
-
|
| 471 |
-
|
| 472 |
-
|
| 473 |
-
|
| 474 |
-
|
| 475 |
-
|
| 476 |
-
|
| 477 |
-
|
| 478 |
-
|
| 479 |
-
|
| 480 |
-
|
| 481 |
-
|
| 482 |
-
|
| 483 |
-
|
| 484 |
-
|
| 485 |
-
|
| 486 |
-
|
| 487 |
-
|
| 488 |
-
|
| 489 |
-
|
| 490 |
-
|
| 491 |
-
|
| 492 |
-
|
| 493 |
-
|
| 494 |
-
|
| 495 |
-
|
| 496 |
-
|
| 497 |
-
|
| 498 |
-
|
| 499 |
-
|
| 500 |
-
|
| 501 |
-
|
| 502 |
-
|
| 503 |
-
|
| 504 |
-
|
| 505 |
-
|
| 506 |
-
|
| 507 |
-
|
| 508 |
-
|
| 509 |
-
|
| 510 |
-
|
| 511 |
-
|
| 512 |
-
|
| 513 |
-
|
| 514 |
-
|
| 515 |
-
|
| 516 |
-
|
| 517 |
-
|
| 518 |
-
|
| 519 |
-
|
| 520 |
-
|
| 521 |
-
|
| 522 |
-
|
| 523 |
-
|
| 524 |
-
|
| 525 |
-
|
| 526 |
-
|
| 527 |
-
|
| 528 |
-
|
| 529 |
-
|
| 530 |
-
|
| 531 |
-
|
| 532 |
-
|
| 533 |
-
|
| 534 |
-
|
| 535 |
-
|
| 536 |
-
|
| 537 |
-
|
| 538 |
-
|
| 539 |
-
|
| 540 |
-
|
| 541 |
-
|
| 542 |
-
|
| 543 |
-
|
| 544 |
-
|
| 545 |
-
|
| 546 |
-
|
| 547 |
-
|
| 548 |
-
|
| 549 |
-
|
| 550 |
-
|
| 551 |
-
|
| 552 |
-
|
| 553 |
-
|
| 554 |
-
|
| 555 |
-
|
| 556 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 557 |
});
|
| 558 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 559 |
</body>
|
|
|
|
| 560 |
</html>
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="en">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
+
<head>
|
| 5 |
+
<meta charset="UTF-8">
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 7 |
+
<title>Father & Son Image Creator</title>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
* {
|
| 11 |
+
margin: 0;
|
| 12 |
+
padding: 0;
|
| 13 |
+
box-sizing: border-box;
|
| 14 |
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
body {
|
| 18 |
+
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
|
| 19 |
+
color: white;
|
| 20 |
+
min-height: 100vh;
|
| 21 |
+
padding: 20px;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
.container {
|
| 25 |
+
max-width: 1200px;
|
| 26 |
+
margin: 0 auto;
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
.header {
|
| 30 |
+
display: flex;
|
| 31 |
+
justify-content: space-between;
|
| 32 |
+
align-items: center;
|
| 33 |
+
padding: 20px 0;
|
| 34 |
+
border-bottom: 2px solid rgba(255, 255, 255, 0.1);
|
| 35 |
+
margin-bottom: 30px;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
.logo {
|
| 39 |
+
display: flex;
|
| 40 |
+
align-items: center;
|
| 41 |
+
gap: 15px;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
.logo i {
|
| 45 |
+
font-size: 2.5rem;
|
| 46 |
+
color: #ffd700;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
.logo h1 {
|
| 50 |
+
font-size: 2rem;
|
| 51 |
+
font-weight: 700;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
.anycoder-link {
|
| 55 |
+
color: #ffd700;
|
| 56 |
+
text-decoration: none;
|
| 57 |
+
font-weight: 600;
|
| 58 |
+
transition: all 0.3s ease;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.anycoder-link:hover {
|
| 62 |
+
text-decoration: underline;
|
| 63 |
+
transform: scale(1.05);
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
.warning-banner {
|
| 67 |
+
background: rgba(255, 0, 0, 0.2);
|
| 68 |
+
border: 1px solid rgba(255, 0, 0, 0.4);
|
| 69 |
+
border-radius: 10px;
|
| 70 |
+
padding: 15px;
|
| 71 |
+
margin-bottom: 30px;
|
| 72 |
+
text-align: center;
|
| 73 |
+
backdrop-filter: blur(5px);
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
.warning-banner i {
|
| 77 |
+
color: #ff6b6b;
|
| 78 |
+
margin-right: 10px;
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
.main-content {
|
| 82 |
+
display: grid;
|
| 83 |
+
grid-template-columns: 1fr 1fr;
|
| 84 |
+
gap: 30px;
|
| 85 |
+
margin-bottom: 40px;
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
@media (max-width: 768px) {
|
| 89 |
+
.main-content {
|
| 90 |
+
grid-template-columns: 1fr;
|
| 91 |
+
}
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
.controls {
|
| 95 |
+
background: rgba(255, 255, 255, 0.1);
|
| 96 |
+
backdrop-filter: blur(10px);
|
| 97 |
+
border-radius: 20px;
|
| 98 |
+
padding: 30px;
|
| 99 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
.controls h2 {
|
| 103 |
+
margin-bottom: 20px;
|
| 104 |
+
font-size: 1.8rem;
|
| 105 |
+
color: #ffd700;
|
| 106 |
+
text-align: center;
|
| 107 |
+
}
|
| 108 |
+
|
| 109 |
+
.setting-group {
|
| 110 |
+
margin-bottom: 25px;
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
.setting-group label {
|
| 114 |
+
display: block;
|
| 115 |
+
margin-bottom: 8px;
|
| 116 |
+
font-weight: 600;
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
.setting-group select,
|
| 120 |
+
.setting-group input {
|
| 121 |
+
width: 100%;
|
| 122 |
+
padding: 12px 15px;
|
| 123 |
+
border-radius: 10px;
|
| 124 |
+
border: none;
|
| 125 |
+
background: rgba(255, 255, 255, 0.9);
|
| 126 |
+
font-size: 1rem;
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
.setting-group textarea {
|
| 130 |
+
width: 100%;
|
| 131 |
+
height: 100px;
|
| 132 |
+
padding: 12px 15px;
|
| 133 |
+
border-radius: 10px;
|
| 134 |
+
border: none;
|
| 135 |
+
background: rgba(255, 255, 255, 0.9);
|
| 136 |
+
font-size: 1rem;
|
| 137 |
+
resize: vertical;
|
| 138 |
+
}
|
| 139 |
+
|
| 140 |
+
.button-group {
|
| 141 |
+
display: flex;
|
| 142 |
+
gap: 15px;
|
| 143 |
+
margin-top: 30px;
|
| 144 |
+
}
|
| 145 |
+
|
| 146 |
+
.btn {
|
| 147 |
+
flex: 1;
|
| 148 |
+
padding: 15px;
|
| 149 |
+
border: none;
|
| 150 |
+
border-radius: 10px;
|
| 151 |
+
font-size: 1.1rem;
|
| 152 |
+
font-weight: 600;
|
| 153 |
+
cursor: pointer;
|
| 154 |
+
transition: all 0.3s ease;
|
| 155 |
+
display: flex;
|
| 156 |
+
align-items: center;
|
| 157 |
+
justify-content: center;
|
| 158 |
+
gap: 10px;
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
.btn-primary {
|
| 162 |
+
background: #ffd700;
|
| 163 |
+
color: #1e3c72;
|
| 164 |
+
}
|
| 165 |
+
|
| 166 |
+
.btn-primary:hover {
|
| 167 |
+
background: #ffed4e;
|
| 168 |
+
transform: translateY(-3px);
|
| 169 |
+
box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
.btn-secondary {
|
| 173 |
+
background: rgba(255, 255, 255, 0.2);
|
| 174 |
+
color: white;
|
| 175 |
+
}
|
| 176 |
+
|
| 177 |
+
.btn-secondary:hover {
|
| 178 |
+
background: rgba(255, 255, 255, 0.3);
|
| 179 |
+
transform: translateY(-3px);
|
| 180 |
+
}
|
| 181 |
+
|
| 182 |
+
.preview {
|
| 183 |
+
background: rgba(255, 255, 255, 0.1);
|
| 184 |
+
backdrop-filter: blur(10px);
|
| 185 |
+
border-radius: 20px;
|
| 186 |
+
padding: 30px;
|
| 187 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
|
| 188 |
+
display: flex;
|
| 189 |
+
flex-direction: column;
|
| 190 |
+
align-items: center;
|
| 191 |
+
justify-content: center;
|
| 192 |
+
}
|
| 193 |
+
|
| 194 |
+
.preview h2 {
|
| 195 |
+
margin-bottom: 20px;
|
| 196 |
+
font-size: 1.8rem;
|
| 197 |
+
color: #ffd700;
|
| 198 |
+
text-align: center;
|
| 199 |
+
}
|
| 200 |
+
|
| 201 |
+
.image-container {
|
| 202 |
+
width: 100%;
|
| 203 |
+
height: 400px;
|
| 204 |
+
background: rgba(255, 255, 255, 0.05);
|
| 205 |
+
border-radius: 15px;
|
| 206 |
+
display: flex;
|
| 207 |
+
align-items: center;
|
| 208 |
+
justify-content: center;
|
| 209 |
+
overflow: hidden;
|
| 210 |
+
margin-bottom: 20px;
|
| 211 |
+
border: 2px dashed rgba(255, 255, 255, 0.2);
|
| 212 |
+
}
|
| 213 |
+
|
| 214 |
+
.image-placeholder {
|
| 215 |
+
text-align: center;
|
| 216 |
+
color: rgba(255, 255, 255, 0.5);
|
| 217 |
+
}
|
| 218 |
+
|
| 219 |
+
.image-placeholder i {
|
| 220 |
+
font-size: 4rem;
|
| 221 |
+
margin-bottom: 15px;
|
| 222 |
+
color: rgba(255, 255, 255, 0.3);
|
| 223 |
+
}
|
| 224 |
+
|
| 225 |
+
.generated-image {
|
| 226 |
+
max-width: 100%;
|
| 227 |
+
max-height: 100%;
|
| 228 |
+
border-radius: 10px;
|
| 229 |
+
display: none;
|
| 230 |
+
}
|
| 231 |
+
|
| 232 |
+
.image-info {
|
| 233 |
+
width: 100%;
|
| 234 |
+
padding: 15px;
|
| 235 |
+
background: rgba(255, 255, 255, 0.1);
|
| 236 |
+
border-radius: 10px;
|
| 237 |
+
margin-top: 15px;
|
| 238 |
+
}
|
| 239 |
+
|
| 240 |
+
.image-info h3 {
|
| 241 |
+
margin-bottom: 10px;
|
| 242 |
+
color: #ffd700;
|
| 243 |
+
}
|
| 244 |
+
|
| 245 |
+
.gallery {
|
| 246 |
+
margin-top: 40px;
|
| 247 |
+
}
|
| 248 |
+
|
| 249 |
+
.gallery h2 {
|
| 250 |
+
text-align: center;
|
| 251 |
+
margin-bottom: 30px;
|
| 252 |
+
font-size: 2rem;
|
| 253 |
+
color: #ffd700;
|
| 254 |
+
}
|
| 255 |
+
|
| 256 |
+
.gallery-grid {
|
| 257 |
+
display: grid;
|
| 258 |
+
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
| 259 |
+
gap: 20px;
|
| 260 |
+
}
|
| 261 |
+
|
| 262 |
+
.gallery-item {
|
| 263 |
+
background: rgba(255, 255, 255, 0.1);
|
| 264 |
+
border-radius: 15px;
|
| 265 |
+
overflow: hidden;
|
| 266 |
+
transition: transform 0.3s ease;
|
| 267 |
+
cursor: pointer;
|
| 268 |
+
}
|
| 269 |
+
|
| 270 |
+
.gallery-item:hover {
|
| 271 |
+
transform: translateY(-5px);
|
| 272 |
+
}
|
| 273 |
+
|
| 274 |
+
.gallery-img {
|
| 275 |
+
width: 100%;
|
| 276 |
+
height: 200px;
|
| 277 |
+
background: rgba(255, 255, 255, 0.05);
|
| 278 |
+
display: flex;
|
| 279 |
+
align-items: center;
|
| 280 |
+
justify-content: center;
|
| 281 |
+
color: rgba(255, 255, 255, 0.5);
|
| 282 |
+
}
|
| 283 |
+
|
| 284 |
+
.gallery-info {
|
| 285 |
+
padding: 15px;
|
| 286 |
+
}
|
| 287 |
+
|
| 288 |
+
.gallery-info h4 {
|
| 289 |
+
margin-bottom: 5px;
|
| 290 |
+
}
|
| 291 |
+
|
| 292 |
+
.loading {
|
| 293 |
+
display: none;
|
| 294 |
+
text-align: center;
|
| 295 |
+
padding: 20px;
|
| 296 |
+
}
|
| 297 |
+
|
| 298 |
+
.loading-spinner {
|
| 299 |
+
width: 50px;
|
| 300 |
+
height: 50px;
|
| 301 |
+
border: 5px solid rgba(255, 255, 255, 0.3);
|
| 302 |
+
border-radius: 50%;
|
| 303 |
+
border-top-color: #ffd700;
|
| 304 |
+
animation: spin 1s linear infinite;
|
| 305 |
+
margin: 0 auto 15px;
|
| 306 |
+
}
|
| 307 |
+
|
| 308 |
+
@keyframes spin {
|
| 309 |
+
to {
|
| 310 |
+
transform: rotate(360deg);
|
| 311 |
+
}
|
| 312 |
+
}
|
| 313 |
+
|
| 314 |
+
.notification {
|
| 315 |
+
position: fixed;
|
| 316 |
+
bottom: 20px;
|
| 317 |
+
right: 20px;
|
| 318 |
+
background: #4CAF50;
|
| 319 |
+
color: white;
|
| 320 |
+
padding: 15px 25px;
|
| 321 |
+
border-radius: 10px;
|
| 322 |
+
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
|
| 323 |
+
display: none;
|
| 324 |
+
z-index: 1000;
|
| 325 |
+
}
|
| 326 |
+
|
| 327 |
+
.notification.error {
|
| 328 |
+
background: #f44336;
|
| 329 |
+
}
|
| 330 |
+
|
| 331 |
+
.nsfw-toggle {
|
| 332 |
+
display: flex;
|
| 333 |
+
align-items: center;
|
| 334 |
+
gap: 10px;
|
| 335 |
+
margin-bottom: 20px;
|
| 336 |
+
}
|
| 337 |
+
|
| 338 |
+
.nsfw-toggle input[type="checkbox"] {
|
| 339 |
+
display: none;
|
| 340 |
+
}
|
| 341 |
+
|
| 342 |
+
.nsfw-toggle label {
|
| 343 |
+
position: relative;
|
| 344 |
+
display: inline-block;
|
| 345 |
+
width: 60px;
|
| 346 |
+
height: 30px;
|
| 347 |
+
background: rgba(255, 255, 255, 0.2);
|
| 348 |
+
border-radius: 50px;
|
| 349 |
+
cursor: pointer;
|
| 350 |
+
transition: all 0.3s ease;
|
| 351 |
+
}
|
| 352 |
+
|
| 353 |
+
.nsfw-toggle label:after {
|
| 354 |
+
content: '';
|
| 355 |
+
position: absolute;
|
| 356 |
+
top: 5px;
|
| 357 |
+
left: 5px;
|
| 358 |
+
width: 20px;
|
| 359 |
+
height: 20px;
|
| 360 |
+
background: #ff6b6b;
|
| 361 |
+
border-radius: 50%;
|
| 362 |
+
transition: all 0.3s ease;
|
| 363 |
+
}
|
| 364 |
+
|
| 365 |
+
.nsfw-toggle input[type="checkbox"]:checked + label {
|
| 366 |
+
background: rgba(255, 107, 107, 0.3);
|
| 367 |
+
}
|
| 368 |
+
|
| 369 |
+
.nsfw-toggle input[type="checkbox"]:checked + label:after {
|
| 370 |
+
left: 35px;
|
| 371 |
+
background: #ffd700;
|
| 372 |
+
}
|
| 373 |
+
|
| 374 |
+
.age-verification {
|
| 375 |
+
position: fixed;
|
| 376 |
+
top: 0;
|
| 377 |
+
left: 0;
|
| 378 |
+
width: 100%;
|
| 379 |
+
height: 100%;
|
| 380 |
+
background: rgba(30, 60, 114, 0.95);
|
| 381 |
+
display: flex;
|
| 382 |
+
flex-direction: column;
|
| 383 |
+
align-items: center;
|
| 384 |
+
justify-content: center;
|
| 385 |
+
z-index: 2000;
|
| 386 |
+
backdrop-filter: blur(10px);
|
| 387 |
+
}
|
| 388 |
+
|
| 389 |
+
.verification-box {
|
| 390 |
+
background: rgba(255, 255, 255, 0.1);
|
| 391 |
+
padding: 40px;
|
| 392 |
+
border-radius: 20px;
|
| 393 |
+
max-width: 500px;
|
| 394 |
+
text-align: center;
|
| 395 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
|
| 396 |
+
}
|
| 397 |
+
|
| 398 |
+
.verification-box h2 {
|
| 399 |
+
margin-bottom: 20px;
|
| 400 |
+
color: #ffd700;
|
| 401 |
+
}
|
| 402 |
+
|
| 403 |
+
.verification-box p {
|
| 404 |
+
margin-bottom: 30px;
|
| 405 |
+
line-height: 1.6;
|
| 406 |
+
}
|
| 407 |
+
|
| 408 |
+
.verification-buttons {
|
| 409 |
+
display: flex;
|
| 410 |
+
gap: 15px;
|
| 411 |
+
}
|
| 412 |
+
|
| 413 |
+
.verification-btn {
|
| 414 |
+
flex: 1;
|
| 415 |
+
padding: 12px;
|
| 416 |
+
border: none;
|
| 417 |
+
border-radius: 10px;
|
| 418 |
+
font-weight: 600;
|
| 419 |
+
cursor: pointer;
|
| 420 |
+
transition: all 0.3s ease;
|
| 421 |
+
}
|
| 422 |
+
|
| 423 |
+
.verification-btn.confirm {
|
| 424 |
+
background: #ffd700;
|
| 425 |
+
color: #1e3c72;
|
| 426 |
+
}
|
| 427 |
+
|
| 428 |
+
.verification-btn.confirm:hover {
|
| 429 |
+
background: #ffed4e;
|
| 430 |
+
}
|
| 431 |
+
|
| 432 |
+
.verification-btn.deny {
|
| 433 |
+
background: rgba(255, 255, 255, 0.2);
|
| 434 |
+
color: white;
|
| 435 |
+
}
|
| 436 |
+
|
| 437 |
+
.verification-btn.deny:hover {
|
| 438 |
+
background: rgba(255, 255, 255, 0.3);
|
| 439 |
+
}
|
| 440 |
+
</style>
|
| 441 |
+
</head>
|
| 442 |
|
| 443 |
+
<body>
|
| 444 |
+
<div class="age-verification" id="age-verification">
|
| 445 |
+
<div class="verification-box">
|
| 446 |
+
<h2>Age Verification Required</h2>
|
| 447 |
+
<p>This application may contain content that is not suitable for all audiences. You must be at least 18 years old to access this content.</p>
|
| 448 |
+
<p>By clicking "I am 18 or older", you confirm that you are of legal age to view adult content.</p>
|
| 449 |
+
<div class="verification-buttons">
|
| 450 |
+
<button class="verification-btn confirm" id="confirm-age">I am 18 or older</button>
|
| 451 |
+
<button class="verification-btn deny" id="deny-age">Exit</button>
|
| 452 |
+
</div>
|
| 453 |
+
</div>
|
| 454 |
+
</div>
|
| 455 |
+
|
| 456 |
+
<div class="container">
|
| 457 |
+
<div class="header">
|
| 458 |
+
<div class="logo">
|
| 459 |
+
<i class="fas fa-users"></i>
|
| 460 |
+
<h1>Father & Son Image Creator</h1>
|
| 461 |
+
</div>
|
| 462 |
+
<a href="https://huggingface.co/spaces/akhaliq/anycoder" class="anycoder-link">Built with anycoder</a>
|
| 463 |
+
</div>
|
| 464 |
|
| 465 |
+
<div class="warning-banner">
|
| 466 |
+
<i class="fas fa-exclamation-triangle"></i>
|
| 467 |
+
<span>This application simulates NSFW content generation. In a production environment, this would require proper age verification and content moderation.</span>
|
| 468 |
+
</div>
|
| 469 |
|
| 470 |
+
<div class="main-content">
|
| 471 |
+
<div class="controls">
|
| 472 |
+
<h2>Create Your Father & Son Image</h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 473 |
|
| 474 |
+
<div class="nsfw-toggle">
|
| 475 |
+
<input type="checkbox" id="nsfw-toggle">
|
| 476 |
+
<label for="nsfw-toggle"></label>
|
| 477 |
+
<span>NSFW Content</span>
|
| 478 |
+
</div>
|
|
|
|
|
|
|
| 479 |
|
| 480 |
+
<div class="setting-group">
|
| 481 |
+
<label for="scene">Scene/Situation</label>
|
| 482 |
+
<select id="scene">
|
| 483 |
+
<option value="intimate">Intimate Moment</option>
|
| 484 |
+
<option value="bonding">Deep Bonding</option>
|
| 485 |
+
<option value="emotional">Emotional Connection</option>
|
| 486 |
+
<option value="sensitive">Sensitive Interaction</option>
|
| 487 |
+
</select>
|
| 488 |
+
</div>
|
| 489 |
|
| 490 |
+
<div class="setting-group">
|
| 491 |
+
<label for="style">Art Style</label>
|
| 492 |
+
<select id="style">
|
| 493 |
+
<option value="realistic">Realistic</option>
|
| 494 |
+
<option value="sensual">Sensual Art</option>
|
| 495 |
+
<option value="erotic">Erotic Art</option>
|
| 496 |
+
<option value="romantic">Romantic</option>
|
| 497 |
+
</select>
|
| 498 |
+
</div>
|
| 499 |
|
| 500 |
+
<div class="setting-group">
|
| 501 |
+
<label for="intensity">Content Intensity</label>
|
| 502 |
+
<select id="intensity">
|
| 503 |
+
<option value="mild">Mild</option>
|
| 504 |
+
<option value="moderate">Moderate</option>
|
| 505 |
+
<option value="explicit">Explicit</option>
|
| 506 |
+
</select>
|
| 507 |
+
</div>
|
| 508 |
|
| 509 |
+
<div class="setting-group">
|
| 510 |
+
<label for="custom">Custom Description</label>
|
| 511 |
+
<textarea id="custom" placeholder="Describe your own father and son scenario..."></textarea>
|
| 512 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 513 |
|
| 514 |
+
<div class="button-group">
|
| 515 |
+
<button class="btn btn-primary" id="generate-btn">
|
| 516 |
+
<i class="fas fa-magic"></i> Generate Image
|
| 517 |
+
</button>
|
| 518 |
+
<button class="btn btn-secondary" id="save-btn">
|
| 519 |
+
<i class="fas fa-download"></i> Save Image
|
| 520 |
+
</button>
|
| 521 |
+
</div>
|
| 522 |
+
</div>
|
| 523 |
+
|
| 524 |
+
<div class="preview">
|
| 525 |
+
<h2>Image Preview</h2>
|
| 526 |
+
<div class="image-container">
|
| 527 |
+
<div class="image-placeholder" id="image-placeholder">
|
| 528 |
+
<i class="fas fa-image"></i>
|
| 529 |
+
<p>Your father and son image will appear here</p>
|
| 530 |
+
</div>
|
| 531 |
+
<img id="generated-image" class="generated-image" alt="Generated father and son image">
|
| 532 |
</div>
|
| 533 |
|
| 534 |
+
<div class="loading" id="loading">
|
| 535 |
+
<div class="loading-spinner"></div>
|
| 536 |
+
<p>Creating your special father and son moment...</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 537 |
</div>
|
| 538 |
|
| 539 |
+
<div class="image-info" id="image-info">
|
| 540 |
+
<h3>Image Details</h3>
|
| 541 |
+
<p id="image-details">No image generated yet</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 542 |
</div>
|
| 543 |
+
</div>
|
| 544 |
</div>
|
| 545 |
|
| 546 |
+
<div class="gallery">
|
| 547 |
+
<h2>Inspiration Gallery</h2>
|
| 548 |
+
<div class="gallery-grid">
|
| 549 |
+
<div class="gallery-item" data-scene="intimate">
|
| 550 |
+
<div class="gallery-img">
|
| 551 |
+
<i class="fas fa-heart"></i>
|
| 552 |
+
</div>
|
| 553 |
+
<div class="gallery-info">
|
| 554 |
+
<h4>Intimate Bonding</h4>
|
| 555 |
+
<p>Deep father-son connection</p>
|
| 556 |
+
</div>
|
| 557 |
+
</div>
|
| 558 |
+
<div class="gallery-item" data-scene="bonding">
|
| 559 |
+
<div class="gallery-img">
|
| 560 |
+
<i class="fas fa-hands"></i>
|
| 561 |
+
</div>
|
| 562 |
+
<div class="gallery-info">
|
| 563 |
+
<h4>Emotional Support</h4>
|
| 564 |
+
<p>Father providing comfort</p>
|
| 565 |
+
</div>
|
| 566 |
+
</div>
|
| 567 |
+
<div class="gallery-item" data-scene="emotional">
|
| 568 |
+
<div class="gallery-img">
|
| 569 |
+
<i class="fas fa-hands-holding"></i>
|
| 570 |
+
</div>
|
| 571 |
+
<div class="gallery-info">
|
| 572 |
+
<h4>Vulnerable Moment</h4>
|
| 573 |
+
<p>Sharing feelings together</p>
|
| 574 |
+
</div>
|
| 575 |
+
</div>
|
| 576 |
+
<div class="gallery-item" data-scene="sensitive">
|
| 577 |
+
<div class="gallery-img">
|
| 578 |
+
<i class="fas fa-user-friends"></i>
|
| 579 |
+
</div>
|
| 580 |
+
<div class="gallery-info">
|
| 581 |
+
<h4>Sensitive Connection</h4>
|
| 582 |
+
<p>Deep emotional understanding</p>
|
| 583 |
+
</div>
|
| 584 |
+
</div>
|
| 585 |
+
</div>
|
| 586 |
+
</div>
|
| 587 |
+
</div>
|
| 588 |
+
|
| 589 |
+
<div class="notification" id="notification"></div>
|
| 590 |
+
|
| 591 |
+
<script>
|
| 592 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 593 |
+
const ageVerification = document.getElementById('age-verification');
|
| 594 |
+
const confirmAgeBtn = document.getElementById('confirm-age');
|
| 595 |
+
const denyAgeBtn = document.getElementById('deny-age');
|
| 596 |
+
const generateBtn = document.getElementById('generate-btn');
|
| 597 |
+
const saveBtn = document.getElementById('save-btn');
|
| 598 |
+
const generatedImage = document.getElementById('generated-image');
|
| 599 |
+
const imagePlaceholder = document.getElementById('image-placeholder');
|
| 600 |
+
const loading = document.getElementById('loading');
|
| 601 |
+
const notification = document.getElementById('notification');
|
| 602 |
+
const imageDetails = document.getElementById('image-details');
|
| 603 |
+
const galleryItems = document.querySelectorAll('.gallery-item');
|
| 604 |
+
const nsfwToggle = document.getElementById('nsfw-toggle');
|
| 605 |
+
|
| 606 |
+
// Sample base64 encoded placeholder images (in a real app, these would be actual images)
|
| 607 |
+
const sampleImages = {
|
| 608 |
+
intimate: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300' viewBox='0 0 400 300'%3E%3Crect width='400' height='300' fill='%231e3c72'/%3E%3Ccircle cx='150' cy='150' r='40' fill='%23ff6b6b'/%3E%3Ccircle cx='250' cy='150' r='30' fill='%23ff6b6b'/%3E%3Ctext x='200' y='250' font-family='Arial' font-size='20' fill='white' text-anchor='middle'%3EIntimate Father %26 Son%3C/text%3E%3C/svg%3E",
|
| 609 |
+
bonding: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300' viewBox='0 0 400 300'%3E%3Crect width='400' height='300' fill='%231e3c72'/%3E%3Ccircle cx='150' cy='150' r='40' fill='%23ff6b6b'/%3E%3Ccircle cx='250' cy='150' r='30' fill='%23ff6b6b'/%3E%3Ctext x='200' y='250' font-family='Arial' font-size='20' fill='white' text-anchor='middle'%3EBonding Experience%3C/text%3E%3C/svg%3E",
|
| 610 |
+
emotional: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300' viewBox='0 0 400 300'%3E%3Crect width='400' height='300' fill='%231e3c72'/%3E%3Ccircle cx='150' cy='150' r='40' fill='%23ff6b6b'/%3E%3Ccircle cx='250' cy='150' r='30' fill='%23ff6b6b'/%3E%3Ctext x='200' y='250' font-family='Arial' font-size='20' fill='white' text-anchor='middle'%3EEmotional Connection%3C/text%3E%3C/svg%3E",
|
| 611 |
+
sensitive: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300' viewBox='0 0 400 300'%3E%3Crect width='400' height='300' fill='%231e3c72'/%3E%3Ccircle cx='150' cy='150' r='40' fill='%23ff6b6b'/%3E%3Ccircle cx='250' cy='150' r='30' fill='%23ff6b6b'/%3E%3Ctext x='200' y='250' font-family='Arial' font-size='20' fill='white' text-anchor='middle'%3ESensitive Interaction%3C/text%3E%3C/svg%3E"
|
| 612 |
+
};
|
| 613 |
+
|
| 614 |
+
// Age verification handlers
|
| 615 |
+
confirmAgeBtn.addEventListener('click', function() {
|
| 616 |
+
ageVerification.style.display = 'none';
|
| 617 |
+
document.body.style.overflow = 'auto';
|
| 618 |
+
});
|
| 619 |
+
|
| 620 |
+
denyAgeBtn.addEventListener('click', function() {
|
| 621 |
+
window.location.href = 'https://www.google.com';
|
| 622 |
+
});
|
| 623 |
+
|
| 624 |
+
// Generate image function
|
| 625 |
+
function generateImage() {
|
| 626 |
+
const scene = document.getElementById('scene').value;
|
| 627 |
+
const style = document.getElementById('style').value;
|
| 628 |
+
const intensity = document.getElementById('intensity').value;
|
| 629 |
+
const custom = document.getElementById('custom').value;
|
| 630 |
+
|
| 631 |
+
// Show loading
|
| 632 |
+
loading.style.display = 'block';
|
| 633 |
+
imagePlaceholder.style.display = 'none';
|
| 634 |
+
generatedImage.style.display = 'none';
|
| 635 |
+
|
| 636 |
+
// Simulate image generation with timeout
|
| 637 |
+
setTimeout(() => {
|
| 638 |
+
// Hide loading
|
| 639 |
+
loading.style.display = 'none';
|
| 640 |
+
|
| 641 |
+
// Show generated image (using sample data for demo)
|
| 642 |
+
generatedImage.src = sampleImages[scene] || sampleImages.intimate;
|
| 643 |
+
generatedImage.style.display = 'block';
|
| 644 |
+
|
| 645 |
+
// Update image details
|
| 646 |
+
const sceneText = document.getElementById('scene').options[document.getElementById('scene').selectedIndex].text;
|
| 647 |
+
const styleText = document.getElementById('style').options[document.getElementById('style').selectedIndex].text;
|
| 648 |
+
const intensityText = document.getElementById('intensity').options[document.getElementById('intensity').selectedIndex].text;
|
| 649 |
+
|
| 650 |
+
let details = `Scene: ${sceneText}, Style: ${styleText}, Intensity: ${intensityText}`;
|
| 651 |
+
if (custom) {
|
| 652 |
+
details += `, Custom: ${custom}`;
|
| 653 |
+
}
|
| 654 |
+
|
| 655 |
+
imageDetails.textContent = details;
|
| 656 |
+
|
| 657 |
+
// Show success notification
|
| 658 |
+
showNotification('Father and son image created successfully!', 'success');
|
| 659 |
+
}, 2000);
|
| 660 |
+
}
|
| 661 |
+
|
| 662 |
+
// Save image function
|
| 663 |
+
function saveImage() {
|
| 664 |
+
if (generatedImage.style.display === 'block') {
|
| 665 |
+
// In a real app, this would download the actual image
|
| 666 |
+
showNotification('Image saved to your gallery!', 'success');
|
| 667 |
+
} else {
|
| 668 |
+
showNotification('Please generate an image first', 'error');
|
| 669 |
+
}
|
| 670 |
+
}
|
| 671 |
+
|
| 672 |
+
// Show notification
|
| 673 |
+
function showNotification(message, type) {
|
| 674 |
+
notification.textContent = message;
|
| 675 |
+
notification.className = 'notification';
|
| 676 |
+
if (type === 'error') {
|
| 677 |
+
notification.classList.add('error');
|
| 678 |
+
}
|
| 679 |
+
notification.style.display = 'block';
|
| 680 |
+
|
| 681 |
+
setTimeout(() => {
|
| 682 |
+
notification.style.display = 'none';
|
| 683 |
+
}, 3000);
|
| 684 |
+
}
|
| 685 |
+
|
| 686 |
+
// Gallery item click handler
|
| 687 |
+
galleryItems.forEach(item => {
|
| 688 |
+
item.addEventListener('click', function() {
|
| 689 |
+
const scene = this.getAttribute('data-scene');
|
| 690 |
+
document.getElementById('scene').value = scene;
|
| 691 |
+
generateImage();
|
| 692 |
});
|
| 693 |
+
});
|
| 694 |
+
|
| 695 |
+
// NSFW toggle handler
|
| 696 |
+
nsfwToggle.addEventListener('change', function() {
|
| 697 |
+
if (this.checked) {
|
| 698 |
+
showNotification('NSFW content enabled', 'success');
|
| 699 |
+
} else {
|
| 700 |
+
showNotification('NSFW content disabled', 'success');
|
| 701 |
+
}
|
| 702 |
+
});
|
| 703 |
+
|
| 704 |
+
// Event listeners
|
| 705 |
+
generateBtn.addEventListener('click', generateImage);
|
| 706 |
+
saveBtn.addEventListener('click', saveImage);
|
| 707 |
+
|
| 708 |
+
// Generate a default image on page load (after age verification)
|
| 709 |
+
// generateImage(); // Commented out to wait for age verification
|
| 710 |
+
});
|
| 711 |
+
</script>
|
| 712 |
</body>
|
| 713 |
+
|
| 714 |
</html>
|