AkashKumarave commited on
Commit
c6ccee3
·
verified ·
1 Parent(s): 8b52de8

Upload 5 files

Browse files
Files changed (5) hide show
  1. css/style.css +758 -0
  2. face-fusion.html +252 -0
  3. index.html +247 -19
  4. js/script.js +38 -0
  5. sponsor.html +200 -0
css/style.css ADDED
@@ -0,0 +1,758 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Reset and Base Styles */
2
+ * {
3
+ margin: 0;
4
+ padding: 0;
5
+ box-sizing: border-box;
6
+ }
7
+
8
+ body {
9
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
10
+ background-color: #000;
11
+ color: #fff;
12
+ min-height: 100vh;
13
+ overflow-x: hidden;
14
+ }
15
+
16
+ /* Layout */
17
+ .container {
18
+ display: flex;
19
+ width: 100%;
20
+ min-height: 100vh;
21
+ }
22
+
23
+ /* Sidebar Styles */
24
+ .sidebar {
25
+ width: 232px;
26
+ display: flex;
27
+ flex-direction: column;
28
+ gap: 30px;
29
+ padding: 10px;
30
+ border-right: 1px solid #404040;
31
+ position: fixed;
32
+ top: 0;
33
+ left: 0;
34
+ height: 100vh;
35
+ overflow: hidden;
36
+ background-color: #000;
37
+ transform: translateX(0);
38
+ transition: transform 0.3s ease-in-out;
39
+ z-index: 999;
40
+ }
41
+
42
+ .sidebar-header {
43
+ display: flex;
44
+ align-items: center;
45
+ gap: 12px;
46
+ width: 99.2px;
47
+ padding: 1px 0;
48
+ }
49
+
50
+ .sidebar-header span {
51
+ font-size: 27px;
52
+ font-weight: 400;
53
+ line-height: 32.4px;
54
+ }
55
+
56
+ .nav-items {
57
+ display: flex;
58
+ flex-direction: column;
59
+ width: 100%;
60
+ }
61
+
62
+ .nav-item {
63
+ display: flex;
64
+ align-items: center;
65
+ gap: 12px;
66
+ height: 48px;
67
+ padding: 0 12px;
68
+ text-decoration: none;
69
+ color: #fff;
70
+ }
71
+
72
+ .nav-item.active {
73
+ border: 1px solid #7550DC;
74
+ }
75
+
76
+ .nav-item svg {
77
+ width: 20px;
78
+ height: 21px;
79
+ }
80
+
81
+ .nav-item span {
82
+ font-size: 14px;
83
+ line-height: 16.8px;
84
+ }
85
+
86
+ .nav-item .indicator {
87
+ display: flex;
88
+ justify-content: center;
89
+ align-items: center;
90
+ width: 14px;
91
+ height: 14px;
92
+ margin-left: auto;
93
+ }
94
+
95
+ .nav-item .indicator div {
96
+ width: 4px;
97
+ height: 4px;
98
+ background-color: #fff;
99
+ border-radius: 2px;
100
+ }
101
+
102
+ /* Close Button Styles */
103
+ .close-menu {
104
+ display: none; /* Hidden by default, shown on mobile */
105
+ }
106
+
107
+ /* Footer Styles */
108
+ .footer {
109
+ display: flex;
110
+ flex-direction: column;
111
+ gap: 11px;
112
+ margin-top: auto;
113
+ }
114
+
115
+ .footer .powered-by {
116
+ color: #999;
117
+ font-size: 9px;
118
+ line-height: 10px;
119
+ letter-spacing: -0.2px;
120
+ }
121
+
122
+ .footer img {
123
+ width: 46px;
124
+ height: 26px;
125
+ }
126
+
127
+ .footer .copyright {
128
+ display: flex;
129
+ gap: 4px;
130
+ color: rgba(255, 255, 255, 0.5);
131
+ font-size: 12px;
132
+ line-height: 14.4px;
133
+ }
134
+
135
+ .footer .copyright .year {
136
+ font-weight: 500;
137
+ }
138
+
139
+ /* Main Content Styles */
140
+ .main-content {
141
+ flex: 1;
142
+ display: flex;
143
+ flex-direction: column;
144
+ gap: 46px;
145
+ padding: 54px 10px 10px 10px;
146
+ margin-left: 232px;
147
+ }
148
+
149
+ /* Remove only the top padding for index.html */
150
+ body.index-page .main-content {
151
+ padding-top: 0;
152
+ }
153
+
154
+ /* Top Bar Styles */
155
+ .top-bar {
156
+ position: fixed;
157
+ top: 0;
158
+ left: 232px;
159
+ right: 0;
160
+ background-color: #000;
161
+ border-bottom: 1px solid #7550DC;
162
+ padding: 10px;
163
+ display: flex;
164
+ justify-content: space-between;
165
+ align-items: center;
166
+ z-index: 1000;
167
+ }
168
+
169
+ .top-bar__hamburger {
170
+ display: none;
171
+ color: #fff;
172
+ font-size: 24px;
173
+ padding: 8px;
174
+ border: none;
175
+ background: transparent;
176
+ cursor: pointer;
177
+ }
178
+
179
+ .top-bar__content {
180
+ display: flex;
181
+ align-items: center;
182
+ gap: 10px;
183
+ }
184
+
185
+ .top-bar__credits {
186
+ background-color: #7550DC;
187
+ color: #fff;
188
+ padding: 2px 10px;
189
+ border-radius: 12px;
190
+ font-size: 14px;
191
+ line-height: 20px;
192
+ }
193
+
194
+ .top-bar__upgrade {
195
+ background-color: #7550DC;
196
+ color: #fff;
197
+ padding: 2px 10px;
198
+ border-radius: 12px;
199
+ font-size: 14px;
200
+ line-height: 20px;
201
+ border: none;
202
+ cursor: pointer;
203
+ }
204
+
205
+ .top-bar__welcome {
206
+ color: #fff;
207
+ padding: 2px 10px;
208
+ border: 1px solid #7550DC;
209
+ border-radius: 12px;
210
+ font-size: 14px;
211
+ line-height: 20px;
212
+ }
213
+
214
+ .top-bar__avatar {
215
+ width: 36px;
216
+ height: 36px;
217
+ background-color: #d9d9d9;
218
+ border-radius: 50%;
219
+ }
220
+
221
+ /* Hero Styles */
222
+ .hero {
223
+ position: relative;
224
+ height: 303px;
225
+ width: 100%;
226
+ overflow: hidden;
227
+ }
228
+
229
+ .hero video {
230
+ position: absolute;
231
+ width: 100%;
232
+ height: 100%;
233
+ object-fit: cover;
234
+ }
235
+
236
+ .hero h1 {
237
+ position: absolute;
238
+ top: 50%;
239
+ left: 50%;
240
+ transform: translate(-50%, -50%);
241
+ font-size: 50px;
242
+ font-weight: 600;
243
+ line-height: 60px;
244
+ letter-spacing: -1.5px;
245
+ color: rgba(255, 255, 255, 0.62);
246
+ text-align: center;
247
+ }
248
+
249
+ /* Feature Cards Styles */
250
+ .feature-cards {
251
+ display: flex;
252
+ justify-content: center;
253
+ gap: 10px;
254
+ }
255
+
256
+ .feature-card {
257
+ width: 180px;
258
+ height: 74px;
259
+ background-color: rgba(255, 255, 255, 0.14);
260
+ position: relative;
261
+ display: flex;
262
+ align-items: center;
263
+ }
264
+
265
+ .feature-card .highlight {
266
+ width: 44px;
267
+ height: 64px;
268
+ background-color: #7550DC;
269
+ margin-left: 5px;
270
+ }
271
+
272
+ .feature-card .content {
273
+ display: flex;
274
+ align-items: center;
275
+ margin-left: 2px;
276
+ }
277
+
278
+ .feature-card .icon {
279
+ width: 40px;
280
+ height: 40px;
281
+ display: flex;
282
+ align-items: center;
283
+ justify-content: center;
284
+ border-radius: 35px;
285
+ }
286
+
287
+ .feature-card .icon svg {
288
+ width: 18px;
289
+ height: 18px;
290
+ }
291
+
292
+ .feature-card span {
293
+ color: #fff;
294
+ font-size: 16px;
295
+ line-height: 20px;
296
+ letter-spacing: -0.1px;
297
+ margin-left: 14px;
298
+ }
299
+
300
+ /* Why Section Styles */
301
+ .why-section {
302
+ display: flex;
303
+ flex-direction: column;
304
+ gap: 24px;
305
+ }
306
+
307
+ .why-section h2 {
308
+ font-size: 32px;
309
+ line-height: 44.8px;
310
+ }
311
+
312
+ .bullet-points {
313
+ display: flex;
314
+ flex-direction: column;
315
+ gap: 22px;
316
+ }
317
+
318
+ .bullet-point {
319
+ display: flex;
320
+ align-items: flex-start;
321
+ gap: 7px;
322
+ }
323
+
324
+ .bullet-point .bullet {
325
+ font-size: 16px;
326
+ }
327
+
328
+ .bullet-point .text {
329
+ font-size: 16px;
330
+ line-height: 22.4px;
331
+ }
332
+
333
+ /* Content Section Styles */
334
+ .content-section {
335
+ display: flex;
336
+ flex-direction: column;
337
+ gap: 24px;
338
+ }
339
+
340
+ .content-section h2 {
341
+ font-size: 32px;
342
+ line-height: 44.8px;
343
+ }
344
+
345
+ .content-section img {
346
+ width: 100%;
347
+ height: 174px;
348
+ object-fit: cover;
349
+ }
350
+
351
+ .content-section .divider {
352
+ border-top: 1px solid #404040;
353
+ margin-top: 15px;
354
+ }
355
+
356
+ .content-section p {
357
+ font-size: 16px;
358
+ line-height: 22.4px;
359
+ margin-top: 24px;
360
+ }
361
+
362
+ /* Image Generation Section (Face Fusion Page) */
363
+ .image-generation {
364
+ padding: 40px 20px;
365
+ background-color: #111;
366
+ border-bottom: 1px solid #404040;
367
+ }
368
+
369
+ .generation-container {
370
+ display: flex;
371
+ justify-content: space-between;
372
+ max-width: 1200px;
373
+ margin: 0 auto;
374
+ }
375
+
376
+ /* Left Column: Inputs */
377
+ .generation-inputs {
378
+ width: 40%;
379
+ display: flex;
380
+ flex-direction: column;
381
+ padding-right: 20px;
382
+ }
383
+
384
+ .upload-box {
385
+ margin-bottom: 20px;
386
+ }
387
+
388
+ .upload-label {
389
+ display: block;
390
+ font-size: 16px;
391
+ color: #fff;
392
+ margin-bottom: 8px;
393
+ }
394
+
395
+ .upload-box input[type="file"] {
396
+ width: 100%;
397
+ padding: 12px;
398
+ background-color: #222;
399
+ border: 2px solid #7550DC;
400
+ border-radius: 8px;
401
+ color: #fff;
402
+ font-size: 14px;
403
+ cursor: pointer;
404
+ }
405
+
406
+ .upload-box input[type="file"]::-webkit-file-upload-button {
407
+ background-color: #7550DC;
408
+ color: #fff;
409
+ border: none;
410
+ padding: 8px 16px;
411
+ border-radius: 4px;
412
+ cursor: pointer;
413
+ transition: background-color 0.3s;
414
+ }
415
+
416
+ .upload-box input[type="file"]::-webkit-file-upload-button:hover {
417
+ background-color: #6440cc;
418
+ }
419
+
420
+ .prompt-box {
421
+ margin-bottom: 20px;
422
+ }
423
+
424
+ .prompt-label {
425
+ display: block;
426
+ font-size: 16px;
427
+ color: #fff;
428
+ margin-bottom: 8px;
429
+ }
430
+
431
+ #generationPrompt {
432
+ width: 100%;
433
+ padding: 12px;
434
+ background-color: #222;
435
+ border: 2px solid #7550DC;
436
+ border-radius: 8px;
437
+ color: #fff;
438
+ font-size: 14px;
439
+ resize: none;
440
+ outline: none;
441
+ }
442
+
443
+ #generationPrompt::placeholder {
444
+ color: #757575;
445
+ }
446
+
447
+ .generate-btn {
448
+ padding: 12px;
449
+ background-color: #7550DC;
450
+ border: none;
451
+ border-radius: 8px;
452
+ color: #fff;
453
+ font-size: 16px;
454
+ font-weight: 500;
455
+ cursor: pointer;
456
+ transition: background-color 0.3s;
457
+ }
458
+
459
+ .generate-btn:hover {
460
+ background-color: #6440cc;
461
+ }
462
+
463
+ /* Right Column: Preview */
464
+ .generation-preview {
465
+ width: 55%;
466
+ }
467
+
468
+ .preview-box {
469
+ width: 100%;
470
+ height: 400px;
471
+ background-color: #222;
472
+ border: 2px solid #7550DC;
473
+ border-radius: 8px;
474
+ display: flex;
475
+ align-items: center;
476
+ justify-content: center;
477
+ overflow: hidden;
478
+ }
479
+
480
+ .preview-placeholder {
481
+ color: #666;
482
+ font-size: 16px;
483
+ text-align: center;
484
+ padding: 20px;
485
+ }
486
+
487
+ /* Introduction Section (Face Fusion Page) */
488
+ .box-border h1 {
489
+ font-size: 32px;
490
+ margin-bottom: 24px;
491
+ }
492
+
493
+ .box-border div {
494
+ font-size: 16px;
495
+ line-height: 1.4;
496
+ margin-bottom: 48px;
497
+ }
498
+
499
+ /* Image Comparison Section (Face Fusion Page) */
500
+ .image-comparison {
501
+ display: flex;
502
+ gap: 64px;
503
+ padding: 64px;
504
+ border-radius: 24px;
505
+ }
506
+
507
+ .comparison-container {
508
+ position: relative;
509
+ width: 484px;
510
+ height: 397px;
511
+ }
512
+
513
+ .comparison-container img {
514
+ position: absolute;
515
+ width: 100%;
516
+ height: 100%;
517
+ object-fit: cover;
518
+ }
519
+
520
+ .comparison-after {
521
+ width: 50%;
522
+ overflow: hidden;
523
+ }
524
+
525
+ .comparison-divider {
526
+ position: absolute;
527
+ left: 50%;
528
+ width: 2px;
529
+ height: 100%;
530
+ background-color: rgba(255, 255, 255, 0.8);
531
+ transform: translateX(-50%);
532
+ cursor: ew-resize;
533
+ }
534
+
535
+ .comparison-handle {
536
+ position: absolute;
537
+ left: 50%;
538
+ top: 50%;
539
+ width: 36px;
540
+ height: 36px;
541
+ background-color: #fff;
542
+ border-radius: 50%;
543
+ display: flex;
544
+ align-items: center;
545
+ justify-content: center;
546
+ font-size: 21px;
547
+ font-weight: bold;
548
+ color: #666;
549
+ transform: translate(-50%, -50%);
550
+ cursor: ew-resize;
551
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
552
+ }
553
+
554
+ .image-comparison .box-border {
555
+ flex: 1;
556
+ color: #999;
557
+ }
558
+
559
+ .image-comparison .box-border div {
560
+ font-size: 19px;
561
+ margin-bottom: 20px;
562
+ }
563
+
564
+ .image-comparison ul {
565
+ list-style: none;
566
+ }
567
+
568
+ .image-comparison li {
569
+ font-size: 19px;
570
+ margin-bottom: 20px;
571
+ }
572
+
573
+ .image-comparison li strong {
574
+ font-weight: bold;
575
+ }
576
+
577
+ /* Showcase Image (Face Fusion Page) */
578
+ .box-border img {
579
+ width: 100%;
580
+ border-radius: 24px;
581
+ }
582
+
583
+ /* Features Section (Face Fusion Page) */
584
+ section .box-border {
585
+ margin-bottom: 48px;
586
+ }
587
+
588
+ section h2 {
589
+ font-size: 32px;
590
+ margin-bottom: 24px;
591
+ }
592
+
593
+ section div {
594
+ font-size: 16px;
595
+ line-height: 1.4;
596
+ }
597
+
598
+ /* Footer (Face Fusion Page) */
599
+ footer {
600
+ text-align: center;
601
+ padding: 24px;
602
+ }
603
+
604
+ footer .box-border {
605
+ display: flex;
606
+ gap: 10px;
607
+ justify-content: center;
608
+ margin-bottom: 40px;
609
+ }
610
+
611
+ footer a {
612
+ width: 40px;
613
+ height: 40px;
614
+ background-color: #000;
615
+ border-radius: 5px;
616
+ display: flex;
617
+ align-items: center;
618
+ justify-content: center;
619
+ transition: background-color 0.3s;
620
+ }
621
+
622
+ footer a:hover {
623
+ background-color: #111;
624
+ }
625
+
626
+ footer img {
627
+ width: 20px;
628
+ height: 20px;
629
+ }
630
+
631
+ footer div {
632
+ display: flex;
633
+ gap: 16px;
634
+ justify-content: center;
635
+ font-size: 12px;
636
+ }
637
+
638
+ footer a {
639
+ color: #fff;
640
+ text-decoration: none;
641
+ }
642
+
643
+ footer a:hover {
644
+ text-decoration: underline;
645
+ }
646
+
647
+ /* Responsive Styles */
648
+ @media (max-width: 768px) {
649
+ .sidebar {
650
+ transform: translateX(-100%);
651
+ }
652
+
653
+ .sidebar.open {
654
+ transform: translateX(0);
655
+ }
656
+
657
+ .close-menu {
658
+ display: block;
659
+ }
660
+
661
+ .main-content {
662
+ margin-left: 0;
663
+ }
664
+
665
+ .top-bar {
666
+ left: 0;
667
+ }
668
+
669
+ .top-bar__hamburger {
670
+ display: block;
671
+ }
672
+
673
+ .sidebar-header span,
674
+ .nav-item span,
675
+ .nav-item .indicator,
676
+ .footer .copyright {
677
+ display: none;
678
+ }
679
+
680
+ .hero h1 {
681
+ font-size: 40px;
682
+ }
683
+
684
+ .feature-cards {
685
+ flex-wrap: wrap;
686
+ }
687
+
688
+ .why-section h2,
689
+ .content-section h2 {
690
+ font-size: 28px;
691
+ }
692
+
693
+ .generation-container {
694
+ flex-direction: column;
695
+ }
696
+
697
+ .generation-inputs {
698
+ width: 100%;
699
+ padding-right: 0;
700
+ margin-bottom: 20px;
701
+ }
702
+
703
+ .generation-preview {
704
+ width: 100%;
705
+ }
706
+
707
+ .preview-box {
708
+ height: 300px;
709
+ }
710
+
711
+ .image-comparison {
712
+ flex-direction: column;
713
+ padding: 32px;
714
+ }
715
+
716
+ .comparison-container {
717
+ width: 100%;
718
+ }
719
+ }
720
+
721
+ @media (max-width: 640px) {
722
+ .sidebar {
723
+ width: 200px;
724
+ }
725
+
726
+ .hero h1 {
727
+ font-size: 30px;
728
+ }
729
+
730
+ .feature-cards {
731
+ flex-direction: column;
732
+ }
733
+
734
+ .why-section h2,
735
+ .content-section h2 {
736
+ font-size: 24px;
737
+ }
738
+
739
+ .image-generation {
740
+ padding: 20px 10px;
741
+ }
742
+
743
+ .preview-box {
744
+ height: 250px;
745
+ }
746
+
747
+ .image-comparison {
748
+ padding: 16px;
749
+ }
750
+
751
+ section {
752
+ padding: 0 20px;
753
+ }
754
+
755
+ footer {
756
+ padding: 20px;
757
+ }
758
+ }
face-fusion.html ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>DPIcon - Face Fusion</title>
7
+ <link rel="stylesheet" href="css/style.css">
8
+ </head>
9
+ <body>
10
+ <div class="container">
11
+ <!-- Sidebar -->
12
+ <nav class="sidebar">
13
+ <!-- Close Button (Visible on Mobile) -->
14
+ <button class="close-menu md:hidden text-white text-2xl m-0 p-2 border-none bg-transparent cursor-pointer">
15
+
16
+ </button>
17
+ <div class="sidebar-header">
18
+ <svg width="25" height="30" viewBox="0 0 25 30" fill="none" xmlns="http://www.w3.org/2000/svg">
19
+ <g clip-path="url(#clip0_1_917)">
20
+ <!-- SVG Path Placeholder -->
21
+ </g>
22
+ <defs>
23
+ <clipPath id="clip0_1_917">
24
+ <rect width="25" height="29.59" fill="white" transform="translate(0 0.389893)"/>
25
+ </clipPath>
26
+ </defs>
27
+ </svg>
28
+ <span>dpicon</span>
29
+ </div>
30
+ <div class="nav-items">
31
+ <a href="index.html" class="nav-item">
32
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
33
+ <!-- SVG Path Placeholder -->
34
+ </svg>
35
+ <span>Home</span>
36
+ <div class="indicator">
37
+ <div></div>
38
+ </div>
39
+ </a>
40
+ <a href="face-fusion.html" class="nav-item active">
41
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
42
+ <!-- SVG Path Placeholder -->
43
+ </svg>
44
+ <span>Face Fusion</span>
45
+ </a>
46
+ <a href="text-to-image.html" class="nav-item">
47
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
48
+ <!-- SVG Path Placeholder -->
49
+ </svg>
50
+ <span>Text to Image</span>
51
+ </a>
52
+ <a href="community.html" class="nav-item">
53
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
54
+ <!-- SVG Path Placeholder -->
55
+ </svg>
56
+ <span>Community</span>
57
+ </a>
58
+ <a href="sponsor.html" class="nav-item">
59
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
60
+ <!-- SVG Path Placeholder -->
61
+ </svg>
62
+ <span>Sponsor</span>
63
+ </a>
64
+ </div>
65
+ <div class="footer">
66
+ <div class="powered-by">Powered by</div>
67
+ <img src="public/images/powered-by-logo.jpg" alt="Powered by logo">
68
+ <div class="copyright">
69
+ <span>© Copyright</span>
70
+ <span class="year">2025</span>
71
+ <span>by DPIcon</span>
72
+ </div>
73
+ </div>
74
+ </nav>
75
+
76
+ <!-- Main Content -->
77
+ <main class="main-content">
78
+ <!-- Top Bar -->
79
+ <header class="top-bar">
80
+ <button class="top-bar__hamburger md:hidden">
81
+
82
+ </button>
83
+ <div class="top-bar__content">
84
+ <span class="top-bar__credits">50</span>
85
+ <button class="top-bar__upgrade">Upgrade</button>
86
+ <span class="top-bar__welcome">Welcome Akash</span>
87
+ <div class="top-bar__avatar"></div>
88
+ </div>
89
+ </header>
90
+
91
+ <!-- Image Generation Section -->
92
+ <section class="image-generation">
93
+ <div class="generation-container">
94
+ <!-- Left Column: Upload, Prompt, and Button -->
95
+ <div class="generation-inputs">
96
+ <div class="upload-box">
97
+ <label for="imageUpload" class="upload-label">
98
+ Upload an Image
99
+ </label>
100
+ <input
101
+ type="file"
102
+ id="imageUpload"
103
+ accept="image/*"
104
+ onchange="handleImageUpload(event)"
105
+ />
106
+ </div>
107
+ <div class="prompt-box">
108
+ <label for="generationPrompt" class="prompt-label">
109
+ Describe Your Vision
110
+ </label>
111
+ <textarea
112
+ id="generationPrompt"
113
+ placeholder="e.g., A cyberpunk samurai in a neon city"
114
+ rows="3"
115
+ ></textarea>
116
+ </div>
117
+ <button class="generate-btn" onclick="generateImage()">
118
+ Generate Image
119
+ </button>
120
+ </div>
121
+ <!-- Right Column: Generated Image Preview -->
122
+ <div class="generation-preview">
123
+ <div class="preview-box" id="previewBox">
124
+ <span class="preview-placeholder">
125
+ Your generated image will appear here
126
+ </span>
127
+ </div>
128
+ </div>
129
+ </div>
130
+ </section>
131
+
132
+ <!-- Introduction Section -->
133
+ <div class="box-border m-0 px-12 py-0">
134
+ <h1 class="box-border text-[32px] mb-6 m-0 p-0">Rewrite Realities</h1>
135
+ <div class="box-border text-base leading-[1.4] mb-12 m-0 p-0">
136
+ What if your selfie became a vampire lord atop a glowing skyscraper? With DPIcon's Image to Image Face Swap,
137
+ it's not "what if"—it's "watch this." Upload a photo, toss in a prompt, and our AI plucks your face, planting
138
+ it into a whole new universe. Buckle up for a wild ride!
139
+ </div>
140
+ </div>
141
+
142
+ <!-- Image Comparison Section -->
143
+ <div class="image-comparison box-border flex gap-16 m-0 p-16 rounded-3xl max-md:flex-col max-md:p-8 max-sm:p-4">
144
+ <div class="comparison-container box-border relative w-[484px] h-[397px] m-0 p-0">
145
+ <img
146
+ src="public/images/before-image.jpg"
147
+ alt="Before"
148
+ class="box-border absolute w-full h-full object-cover m-0 p-0"
149
+ />
150
+ <img
151
+ src="public/images/after-image.jpg"
152
+ alt="After"
153
+ class="box-border absolute w-full h-full object-cover m-0 p-0 comparison-after"
154
+ />
155
+ <div class="box-border absolute w-1 h-full -translate-x-2/4 cursor-ew-resize bg-[rgba(255,255,255,0.8)] m-0 p-0 comparison-divider"></div>
156
+ <div
157
+ class="box-border absolute -translate-x-2/4 -translate-y-2/4 w-9 h-9 text-[#666] font-bold text-[21px] shadow-[0_2px_8px_rgba(0,0,0,0.3)] bg-white m-0 p-0 rounded-[50%] flex items-center justify-center cursor-ew-resize comparison-handle"
158
+ >
159
+
160
+ </div>
161
+ </div>
162
+ <div class="box-border flex-1 text-[#999] m-0 p-0 max-md:p-5">
163
+ <div class="box-border text-[19px] mb-5 m-0 p-0">
164
+ Fast & Free: Get your transparent images in just seconds without any cost.
165
+ </div>
166
+ <ul class="box-border m-0 p-0 list-none">
167
+ <li class="box-border text-[19px] mb-5 m-0 p-0">
168
+ <strong class="box-border m-0 p-0">No Signup Needed:</strong>
169
+ <span> Start editing right away without creating an account.</span>
170
+ </li>
171
+ <li class="box-border text-[19px] mb-5 m-0 p-0">
172
+ <strong class="box-border m-0 p-0">High-Quality Results:</strong>
173
+ <span> Download high-resolution images perfect for social media, websites, or e-commerce.</span>
174
+ </li>
175
+ <li class="box-border text-[19px] mb-5 m-0 p-0">
176
+ <strong class="box-border m-0 p-0">User-Friendly Interface:</strong>
177
+ <span> Simple drag-and-drop functionality for seamless image editing.</span>
178
+ </li>
179
+ <li class="box-border text-[19px] mb-5 m-0 p-0">
180
+ <strong class="box-border m-0 p-0">Unlimited Usage:</strong>
181
+ <span> No restrictions on the number of images you can process.</span>
182
+ </li>
183
+ </ul>
184
+ </div>
185
+ </div>
186
+
187
+ <!-- Showcase Image -->
188
+ <div class="box-border m-0 px-4 py-20">
189
+ <img src="public/images/showcase-image.jpg" alt="Showcase" class="box-border w-full m-0 p-0 rounded-3xl" />
190
+ </div>
191
+
192
+ <!-- Features Section -->
193
+ <section class="box-border m-0 px-12 py-0 max-sm:px-5 max-sm:py-0">
194
+ <div class="box-border mb-12 m-0 p-0">
195
+ <h2 class="box-border text-[32px] mb-6 m-0 p-0">How to Warp Reality</h2>
196
+ <div class="box-border text-base leading-[1.4] m-0 p-0">
197
+ <span>Drop Your Mug: Pick a photo—your face, your cat's, whatever sparks joy.</span><br />
198
+ <span>Dream Big: Prompt us—"a cyberpunk samurai" or "a mermaid in space."</span><br />
199
+ <span>Behold the Mashup: Our AI fuses your face into a stunning new scene.</span><br />
200
+ <span>Claim Your Glory: Download and flaunt your interdimensional doppelgänger.</span>
201
+ </div>
202
+ </div>
203
+
204
+ <div class="box-border mb-12 m-0 p-0">
205
+ <h2 class="box-border text-[32px] mb-6 m-0 p-0">Why DPIcon's Face Swap is a Game-Changer</h2>
206
+ <div class="box-border text-base leading-[1.4] m-0 p-0">
207
+ <span>Freaky Precision: Faces fit like they were born there—zero awkward vibes.</span><br />
208
+ <span>Epic Adventures: From medieval quests to alien discos, you name it.</span><br />
209
+ <span>SEO Stardust: Unique images to rocket your content to the top.</span><br />
210
+ <span>Foolproof Fun: So easy, even your grandma could swap into a ninja.</span>
211
+ </div>
212
+ </div>
213
+
214
+ <div class="box-border mb-12 m-0 p-0">
215
+ <h2 class="box-border text-[32px] mb-6 m-0 p-0">What Sets Us Apart</h2>
216
+ <div class="box-border text-base leading-[1.4] m-0 p-0">
217
+ AI Sorcery: Advanced algorithms that turn imagination into masterpieces. No Limits, Just Magic: From text to
218
+ art, face to fantasy – explore it all. Instant Alchemy: Conjure creations faster than a lightning strike. Yours
219
+ to Command: Simple tools, extraordinary results – no wizardry degree required.
220
+ </div>
221
+ </div>
222
+ </section>
223
+
224
+ <!-- Footer -->
225
+ <footer class="box-border text-center m-0 px-12 py-6 max-sm:px-5 max-sm:py-6">
226
+ <div class="box-border flex gap-2.5 justify-center mb-10 m-0 p-0">
227
+ <a href="#" class="box-border w-10 h-10 flex items-center justify-center bg-black rounded hover:bg-[#111] transition-colors">
228
+ <img src="public/images/twitter-icon.png" alt="Twitter icon" class="w-5 h-5" />
229
+ </a>
230
+ <a href="#" class="box-border w-10 h-10 flex items-center justify-center bg-black rounded hover:bg-[#111] transition-colors">
231
+ <img src="public/images/facebook-icon.png" alt="Facebook icon" class="w-5 h-5" />
232
+ </a>
233
+ <a href="#" class="box-border w-10 h-10 flex items-center justify-center bg-black rounded hover:bg-[#111] transition-colors">
234
+ <img src="public/images/instagram-icon.png" alt="Instagram icon" class="w-5 h-5" />
235
+ </a>
236
+ </div>
237
+
238
+ <div class="box-border flex gap-4 justify-center text-xs text-white m-0 p-0">
239
+ <span>© Copyright</span>
240
+ <span>2025</span>
241
+ <span>by</span>
242
+ <span>TRAR</span>
243
+ <span>|</span>
244
+ <a href="#" class="text-white no-underline hover:underline">Privacy Policy</a>
245
+ <a href="#" class="text-white no-underline hover:underline">Cookie Policy</a>
246
+ </div>
247
+ </footer>
248
+ </main>
249
+ </div>
250
+ <script src="js/script.js"></script>
251
+ </body>
252
+ </html>
index.html CHANGED
@@ -1,19 +1,247 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>DPIcon - Transform Your Ideas into Stunning Visuals</title>
7
+ <link rel="stylesheet" href="css/style.css">
8
+ <!-- Firebase SDK -->
9
+ <script src="https://www.gstatic.com/firebasejs/9.22.0/firebase-app-compat.js"></script>
10
+ <script src="https://www.gstatic.com/firebasejs/9.22.0/firebase-auth-compat.js"></script>
11
+ <script src="https://www.gstatic.com/firebasejs/9.22.0/firebase-firestore-compat.js"></script>
12
+ </head>
13
+ <body class="index-page">
14
+ <div class="container">
15
+ <!-- Sidebar -->
16
+ <nav class="sidebar">
17
+ <button class="close-menu md:hidden text-white text-2xl m-0 p-2 border-none bg-transparent cursor-pointer">
18
+
19
+ </button>
20
+ <div class="sidebar-header">
21
+ <svg width="25" height="30" viewBox="0 0 25 30" fill="none" xmlns="http://www.w3.org/2000/svg">
22
+ <g clip-path="url(#clip0_1_917)">
23
+ <!-- SVG Path Placeholder -->
24
+ </g>
25
+ <defs>
26
+ <clipPath id="clip0_1_917">
27
+ <rect width="25" height="29.59" fill="white" transform="translate(0 0.389893)"/>
28
+ </clipPath>
29
+ </defs>
30
+ </svg>
31
+ <span>dpicon</span>
32
+ </div>
33
+ <div class="nav-items">
34
+ <a href="index.html" class="nav-item active">
35
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
36
+ <!-- SVG Path Placeholder -->
37
+ </svg>
38
+ <span>Home</span>
39
+ <div class="indicator">
40
+ <div></div>
41
+ </div>
42
+ </a>
43
+ <a href="face-fusion.html" class="nav-item">
44
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
45
+ <!-- SVG Path Placeholder -->
46
+ </svg>
47
+ <span>Face Fusion</span>
48
+ </a>
49
+ <a href="text-to-image.html" class="nav-item">
50
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
51
+ <!-- SVG Path Placeholder -->
52
+ </svg>
53
+ <span>Text to Image</span>
54
+ </a>
55
+ <a href="community.html" class="nav-item">
56
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
57
+ <!-- SVG Path Placeholder -->
58
+ </svg>
59
+ <span>Community</span>
60
+ </a>
61
+ <a href="sponsor.html" class="nav-item">
62
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
63
+ <!-- SVG Path Placeholder -->
64
+ </svg>
65
+ <span>Sponsor</span>
66
+ </a>
67
+ <a href="founder.html" class="nav-item">
68
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
69
+ <!-- SVG Path Placeholder -->
70
+ </svg>
71
+ <span>Founder</span>
72
+ </a>
73
+ </div>
74
+ <div class="footer">
75
+ <div class="powered-by">Powered by</div>
76
+ <img src="public/images/powered-by-logo.jpg" alt="Powered by logo">
77
+ <div class="copyright">
78
+ <span>© Copyright</span>
79
+ <span class="year">2025</span>
80
+ <span>by DPIcon</span>
81
+ </div>
82
+ </div>
83
+ </nav>
84
+
85
+ <!-- Main Content -->
86
+ <main class="main-content">
87
+ <!-- Top Bar -->
88
+ <header class="top-bar">
89
+ <button class="top-bar__hamburger md:hidden">
90
+
91
+ </button>
92
+ <div class="top-bar__content">
93
+ <span class="top-bar__credits" id="credits-display">50</span>
94
+ <button class="top-bar__upgrade" id="upgrade-button">Upgrade</button>
95
+ <span class="top-bar__welcome" id="welcome-message">Welcome Guest</span>
96
+ <div class="top-bar__avatar"></div>
97
+ </div>
98
+ </header>
99
+
100
+ <!-- Connect with Google Button -->
101
+ <div class="box-border flex justify-center items-center mb-12 m-0 p-0 w-full">
102
+ <button id="google-signin-button" class="inline-block px-6 py-3 bg-[#7550DC] text-white rounded-lg hover:bg-[#6440cc] transition-transform transform hover:scale-105 font-medium text-lg flex items-center">
103
+ <svg class="mr-2" width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
104
+ <path d="M12 0C5.373 0 0 5.373 0 12C0 18.627 5.373 24 12 24C18.627 24 24 18.627 24 12C24 5.373 18.627 0 12 0ZM12 2C17.514 2 22 6.486 22 12C22 17.514 17.514 22 12 22C6.486 22 2 17.514 2 12C2 6.486 6.486 2 12 2ZM12 4C8.962 4 6.5 6.462 6.5 9.5C6.5 12.538 8.962 15 12 15C15.038 15 17.5 12.538 17.5 9.5C17.5 6.462 15.038 4 12 4ZM12 6C13.933 6 15.5 7.567 15.5 9.5C15.5 11.433 13.933 13 12 13C10.067 13 8.5 11.433 8.5 9.5C8.5 7.567 10.067 6 12 6ZM18.5 7.5C18.5 8.328 17.828 9 17 9C16.172 9 15.5 8.328 15.5 7.5C15.5 6.672 16.172 6 17 6C17.828 6 18.5 6.672 18.5 7.5Z" fill="white"/>
105
+ </svg>
106
+ Connect with Google
107
+ <span id="google-signin-spinner" class="ml-2 hidden">⏳</span>
108
+ </button>
109
+ </div>
110
+
111
+ <!-- Hero Section -->
112
+ <div class="hero">
113
+ <video autoplay muted loop playsinline>
114
+ <source src="https://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4">
115
+ Your browser does not support the video tag.
116
+ </video>
117
+ <h1>Transform Your Ideas into Stunning Visuals</h1>
118
+ </div>
119
+
120
+ <!-- Feature Cards Section -->
121
+ <div class="feature-cards">
122
+ <div class="feature-card">
123
+ <div class="highlight"></div>
124
+ <div class="content">
125
+ <div class="icon">
126
+ <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
127
+ <!-- SVG Path Placeholder -->
128
+ </svg>
129
+ </div>
130
+ <span>Face Fusion</span>
131
+ </div>
132
+ </div>
133
+ <div class="feature-card">
134
+ <div class="highlight"></div>
135
+ <div class="content">
136
+ <div class="icon">
137
+ <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
138
+ <!-- SVG Path Placeholder -->
139
+ </svg>
140
+ </div>
141
+ <span>Text to Image</span>
142
+ </div>
143
+ </div>
144
+ <div class="feature-card">
145
+ <div class="highlight"></div>
146
+ <div class="content">
147
+ <div class="icon">
148
+ <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
149
+ <!-- SVG Path Placeholder -->
150
+ </svg>
151
+ </div>
152
+ <span>Community</span>
153
+ </div>
154
+ </div>
155
+ </div>
156
+
157
+ <!-- Why Section -->
158
+ <div class="why-section">
159
+ <h2>Why DPIcon is Your Creative Rocket Fuel</h2>
160
+ <div class="bullet-points">
161
+ <div class="bullet-point">
162
+ <div class="bullet">•</div>
163
+ <div class="text">AI Alchemy: Turn whispers of thought into vivid masterpieces with next-gen tech. No Rules</div>
164
+ </div>
165
+ <div class="bullet-point">
166
+ <div class="bullet">•</div>
167
+ <div class="text">Just Wonders: Easy enough for dreamers, powerful enough for visionaries.</div>
168
+ </div>
169
+ <div class="bullet-point">
170
+ <div class="bullet">•</div>
171
+ <div class="text">Infinite Realms: Text-to-image wizardry or face-swapping adventures—your choice.</div>
172
+ </div>
173
+ <div class="bullet-point">
174
+ <div class="bullet">•</div>
175
+ <div class="text">Blink-and-Done Speed: Stellar results faster than a meteor shower.</div>
176
+ </div>
177
+ </div>
178
+ </div>
179
+
180
+ <!-- Content Sections -->
181
+ <div class="content-section">
182
+ <h2>Transform Your Ideas into Stunning Visuals</h2>
183
+ <img src="public/images/transform-ideas-image.jpg" alt="Transform Your Ideas into Stunning Visuals">
184
+ <div class="divider"></div>
185
+ <p>Step into a world where words weave wonders and faces find new fates. DPIcon is your portal to boundless creativity, powered by cutting-edge AI. From conjuring vivid scenes with a single sentence to reimagining your face in fantastical realms, we turn your wildest whims into breathtaking visuals. Dare to dream – DPIcon makes it real.</p>
186
+ </div>
187
+
188
+ <div class="content-section">
189
+ <h2>The Spark of a New Era</h2>
190
+ <img src="public/images/spark-era-image.jpg" alt="The Spark of a New Era">
191
+ <div class="divider"></div>
192
+ <p>At DPIcon, we believe creativity shouldn't be confined. We're pioneers at the crossroads of art and technology, crafting tools that let you sculpt the impossible. Whether you're an artist seeking a muse, a visionary with a story, or a soul craving something new, DPIcon is your playground of endless potential.</p>
193
+ </div>
194
+
195
+ <div class="content-section">
196
+ <h2>What Sets Us Apart</h2>
197
+ <img src="public/images/sets-apart-image.jpg" alt="What Sets Us Apart">
198
+ <div class="divider"></div>
199
+ <p>AI Sorcery: Advanced algorithms that turn imagination into masterpieces. No Limits, Just Magic: From text to art, face to fantasy – explore it all. Instant Alchemy: Conjure creations faster than a lightning strike. Yours to Command: Simple tools, extraordinary results – no wizardry degree required.</p>
200
+ </div>
201
+
202
+ <!-- Meet Our Founder CTA Button -->
203
+ <div class="box-border flex justify-center items-center mb-6 m-0 p-0 w-full">
204
+ <a href="founder.html" class="inline-block px-6 py-3 bg-[#7550DC] text-white rounded-lg hover:bg-[#6440cc] transition-colors font-medium text-lg">
205
+ Meet Our Founder
206
+ </a>
207
+ </div>
208
+ </main>
209
+ </div>
210
+
211
+ <!-- Upgrade Popup -->
212
+ <div id="upgrade-popup" class="fixed inset-0 bg-black bg-opacity-50 flex justify-center items-center hidden">
213
+ <div class="bg-gradient-to-br from-[#1a1a1a] to-[#2a2a2a] rounded-lg p-8 max-w-4xl w-full mx-4 popup-content">
214
+ <div class="flex justify-between items-center mb-6">
215
+ <h2 class="text-[32px] text-white">Choose Your Plan</h2>
216
+ <button id="close-popup" class="text-white text-2xl">&times;</button>
217
+ </div>
218
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
219
+ <!-- Basic Free Plan -->
220
+ <div class="plan-card p-6 rounded-lg text-center">
221
+ <h3 class="text-[24px] text-white mb-4">Basic Free</h3>
222
+ <p class="text-white text-lg mb-4">50 Credits / Month</p>
223
+ <p class="text-white text-2xl font-bold mb-4">$0</p>
224
+ <button id="select-basic" class="inline-block px-6 py-3 bg-[#7550DC] text-white rounded-lg hover:bg-[#6440cc] font-medium text-lg">Select Plan</button>
225
+ </div>
226
+ <!-- Pro Plan -->
227
+ <div class="plan-card p-6 rounded-lg text-center">
228
+ <h3 class="text-[24px] text-white mb-4">Pro</h3>
229
+ <p class="text-white text-lg mb-4">Unlimited for 1 Month</p>
230
+ <p class="text-white text-2xl font-bold mb-4">$80</p>
231
+ <button id="select-pro" class="inline-block px-6 py-3 bg-[#7550DC] text-white rounded-lg hover:bg-[#6440cc] font-medium text-lg">Select Plan</button>
232
+ </div>
233
+ <!-- Premium Plan -->
234
+ <div class="plan-card p-6 rounded-lg text-center">
235
+ <h3 class="text-[24px] text-white mb-4">Premium</h3>
236
+ <p class="text-white text-lg mb-4">Unlimited for 1 Year</p>
237
+ <p class="text-white text-2xl font-bold mb-4">$900</p>
238
+ <button id="select-premium" class="inline-block px-6 py-3 bg-[#7550DC] text-white rounded-lg hover:bg-[#6440cc] font-medium text-lg">Select Plan</button>
239
+ </div>
240
+ </div>
241
+ </div>
242
+ </div>
243
+
244
+ <script src="js/firebase.js"></script>
245
+ <script src="js/script.js"></script>
246
+ </body>
247
+ </html>
js/script.js ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Function for Face Fusion page
2
+ function handleImageUpload(event) {
3
+ const file = event.target.files[0];
4
+ if (file) {
5
+ console.log("Image uploaded:", file.name);
6
+ // Add logic to display the uploaded image preview if needed
7
+ }
8
+ }
9
+
10
+ function generateImage() {
11
+ const prompt = document.getElementById("generationPrompt").value;
12
+
13
+ // Check if we're on the Face Fusion page (which has an image upload)
14
+ const fileInput = document.getElementById("imageUpload");
15
+ if (fileInput) {
16
+ const file = fileInput.files[0];
17
+ if (!file || !prompt) {
18
+ alert("Please upload an image and enter a prompt.");
19
+ return;
20
+ }
21
+ console.log("Generating image with prompt (Face Fusion):", prompt);
22
+ const previewBox = document.getElementById("previewBox");
23
+ previewBox.innerHTML = "<span>Generating...</span>";
24
+ // Add your face fusion image generation logic here
25
+ // Example: previewBox.innerHTML = `<img src="generated-image-url" alt="Generated Image" style="width: 100%; height: 100%; object-fit: cover;" />`;
26
+ } else {
27
+ // Text to Image page (no image upload)
28
+ if (!prompt) {
29
+ alert("Please enter a prompt to generate an image.");
30
+ return;
31
+ }
32
+ console.log("Generating text-to-image with prompt:", prompt);
33
+ const previewBox = document.getElementById("previewBox");
34
+ previewBox.innerHTML = "<span>Generating...</span>";
35
+ // Add your text-to-image generation logic here
36
+ // Example: previewBox.innerHTML = `<img src="generated-image-url" alt="Generated Image" style="width: 100%; height: 100%; object-fit: cover;" />`;
37
+ }
38
+ }
sponsor.html ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>DPIcon - Sponsorship & Support</title>
7
+ <link rel="stylesheet" href="css/style.css">
8
+ <!-- Firebase SDK -->
9
+ <script src="https://www.gstatic.com/firebasejs/9.22.0/firebase-app-compat.js"></script>
10
+ <script src="https://www.gstatic.com/firebasejs/9.22.0/firebase-auth-compat.js"></script>
11
+ <script src="https://www.gstatic.com/firebasejs/9.22.0/firebase-firestore-compat.js"></script>
12
+ </head>
13
+ <body>
14
+ <div class="container">
15
+ <!-- Sidebar -->
16
+ <nav class="sidebar">
17
+ <button class="close-menu md:hidden text-white text-2xl m-0 p-2 border-none bg-transparent cursor-pointer">
18
+
19
+ </button>
20
+ <div class="sidebar-header">
21
+ <svg width="25" height="30" viewBox="0 0 25 30" fill="none" xmlns="http://www.w3.org/2000/svg">
22
+ <g clip-path="url(#clip0_1_917)">
23
+ <!-- SVG Path Placeholder -->
24
+ </g>
25
+ <defs>
26
+ <clipPath id="clip0_1_917">
27
+ <rect width="25" height="29.59" fill="white" transform="translate(0 0.389893)"/>
28
+ </clipPath>
29
+ </defs>
30
+ </svg>
31
+ <span>dpicon</span>
32
+ </div>
33
+ <div class="nav-items">
34
+ <a href="index.html" class="nav-item">
35
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
36
+ <!-- SVG Path Placeholder -->
37
+ </svg>
38
+ <span>Home</span>
39
+ <div class="indicator">
40
+ <div></div>
41
+ </div>
42
+ </a>
43
+ <a href="face-fusion.html" class="nav-item">
44
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
45
+ <!-- SVG Path Placeholder -->
46
+ </svg>
47
+ <span>Face Fusion</span>
48
+ </a>
49
+ <a href="text-to-image.html" class="nav-item">
50
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
51
+ <!-- SVG Path Placeholder -->
52
+ </svg>
53
+ <span>Text to Image</span>
54
+ </a>
55
+ <a href="community.html" class="nav-item">
56
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
57
+ <!-- SVG Path Placeholder -->
58
+ </svg>
59
+ <span>Community</span>
60
+ </a>
61
+ <a href="sponsor.html" class="nav-item active">
62
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
63
+ <!-- SVG Path Placeholder -->
64
+ </svg>
65
+ <span>Sponsor</span>
66
+ </a>
67
+ <a href="founder.html" class="nav-item">
68
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
69
+ <!-- SVG Path Placeholder -->
70
+ </svg>
71
+ <span>Founder</span>
72
+ </a>
73
+ </div>
74
+ <div class="footer">
75
+ <div class="powered-by">Powered by</div>
76
+ <img src="public/images/powered-by-logo.jpg" alt="Powered by logo">
77
+ <div class="copyright">
78
+ <span>© Copyright</span>
79
+ <span class="year">2025</span>
80
+ <span>by DPIcon</span>
81
+ </div>
82
+ </div>
83
+ </nav>
84
+
85
+ <!-- Main Content -->
86
+ <main class="main-content">
87
+ <!-- Top Bar -->
88
+ <header class="top-bar">
89
+ <button class="top-bar__hamburger md:hidden">
90
+
91
+ </button>
92
+ <div class="top-bar__content">
93
+ <span class="top-bar__credits" id="credits-display">50</span>
94
+ <button class="top-bar__upgrade" id="upgrade-button">Upgrade</button>
95
+ <span class="top-bar__welcome" id="welcome-message">Welcome Guest</span>
96
+ <div class="top-bar__avatar"></div>
97
+ </div>
98
+ </header>
99
+
100
+ <!-- Connect with Google Button -->
101
+ <div class="box-border flex justify-center items-center mb-12 m-0 p-0 w-full">
102
+ <button id="google-signin-button" class="inline-block px-6 py-3 bg-[#7550DC] text-white rounded-lg hover:bg-[#6440cc] transition-transform transform hover:scale-105 font-medium text-lg flex items-center">
103
+ <svg class="mr-2" width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
104
+ <path d="M12 0C5.373 0 0 5.373 0 12C0 18.627 5.373 24 12 24C18.627 24 24 18.627 24 12C24 5.373 18.627 0 12 0ZM12 2C17.514 2 22 6.486 22 12C22 17.514 17.514 22 12 22C6.486 22 2 17.514 2 12C2 6.486 6.486 2 12 2ZM12 4C8.962 4 6.5 6.462 6.5 9.5C6.5 12.538 8.962 15 12 15C15.038 15 17.5 12.538 17.5 9.5C17.5 6.462 15.038 4 12 4ZM12 6C13.933 6 15.5 7.567 15.5 9.5C15.5 11.433 13.933 13 12 13C10.067 13 8.5 11.433 8.5 9.5C8.5 7.567 10.067 6 12 6ZM18.5 7.5C18.5 8.328 17.828 9 17 9C16.172 9 15.5 8.328 15.5 7.5C15.5 6.672 16.172 6 17 6C17.828 6 18.5 6.672 18.5 7.5Z" fill="white"/>
105
+ </svg>
106
+ Connect with Google
107
+ <span id="google-signin-spinner" class="ml-2 hidden">⏳</span>
108
+ </button>
109
+ </div>
110
+
111
+ <!-- Sponsorship & Support Content -->
112
+ <section class="box-border m-0 py-0">
113
+ <div class="box-border flex justify-center items-center mb-12 m-0 p-0 w-full">
114
+ <h1 class="box-border text-[32px] mb-6 m-0 p-0">Sponsorship & Support</h1>
115
+ </div>
116
+ <div class="box-border mb-12 m-0 px-12 max-sm:px-5">
117
+ <h2 class="box-border text-[24px] mb-4 m-0 p-0">Fuel DPIcon’s AI Galaxy</h2>
118
+ <div class="box-border text-base leading-[1.4] m-0 p-0">
119
+ We’re DPIcon, a constellation of AI dreamers, and we’re building a universe where creativity knows no bounds. But every star needs a spark—your sponsorship keeps our engines humming, our tools evolving, and our community thriving. Toss a comet our way, and snag exclusive goodies while you’re at it!
120
+ </div>
121
+ </div>
122
+ <div class="box-border mb-12 m-0 px-12 max-sm:px-5">
123
+ <h2 class="box-border text-[24px] mb-4 m-0 p-0">Invest in the Future of AI Creativity</h2>
124
+ <div class="box-border text-base leading-[1.4] m-0 p-0">
125
+ At DPIcon, we’re pioneering the next generation of artificial intelligence tools, empowering individuals and businesses to transform ideas into stunning visual realities. Your support plays a vital role in advancing our mission—enhancing our platform, expanding accessibility, and fostering a thriving creative community. Whether you’re an individual, a corporation, or an organization, partnering with us offers a unique opportunity to contribute to cutting-edge AI innovation.
126
+ </div>
127
+ </div>
128
+ <div class="box-border mb-12 m-0 px-12 max-sm:px-5">
129
+ <h2 class="box-border text-[24px] mb-4 m-0 p-0">How Your Support Makes a Difference</h2>
130
+ <div class="box-border text-base leading-[1.4] m-0 p-0">
131
+ We welcome contributions of all sizes—each one fuels our ability to innovate and grow. Rather than offering predefined plans, we tailor our sponsorship opportunities to suit your goals. Whether you’re looking to support as an individual advocate or establish a corporate partnership, your involvement directly enhances our platform’s capabilities and reach. This is an investment in creativity, technology, and the future.
132
+ </div>
133
+ </div>
134
+ <div class="box-border mb-12 m-0 px-12 max-sm:px-5">
135
+ <h2 class="box-border text-[24px] mb-4 m-0 p-0">How to Get Involved</h2>
136
+ <div class="box-border text-base leading-[1.4] m-0 p-0">
137
+ Contact Us: Reach out to our team at support@dpicon.com to discuss your interest in supporting DPIcon. Explore Opportunities: We’ll work with you to identify a collaboration that aligns with your vision. Make an Impact: Your support will be implemented to drive meaningful advancements in our platform.
138
+ </div>
139
+ </div>
140
+ <div class="box-border mb-12 m-0 px-12 max-sm:px-5">
141
+ <h2 class="box-border text-[24px] mb-4 m-0 p-0">Questions or Assistance?</h2>
142
+ <div class="box-border text-base leading-[1.4] m-0 p-0">
143
+ Our dedicated support team is available to assist you at any time. For inquiries about sponsorship, technical support, general feedback, please email us at support@dpicon.com. We value your input and are committed to building partnerships that benefits both our community and your objectives.
144
+ </div>
145
+ </div>
146
+ <div class="box-border flex justify-center items-center mb-12 m-0 p-0 w-full">
147
+ <div class="text-center">
148
+ <h2 class="box-border text-[12px] mb-4 m-0 p-0" style="font-size: 12px !important;">Thank You for Supporting Our Vision ❤️</h2>
149
+ <div class="box-border text-base leading-[1.4] m-0 p-0">
150
+ <a href="mailto:support@dpicon.com" class="inline-block px-6 py-3 bg-[#7550DC] text-white rounded-lg hover:bg-[#6440cc] transition-colors font-medium text-lg">
151
+ Contact Us
152
+ </a>
153
+ </div>
154
+ </div>
155
+ </div>
156
+ </section>
157
+
158
+ <!-- Footer -->
159
+ <footer class="box-border text-center m-0 px-12 py-6 max-sm:px-5 max-sm:py-6">
160
+ </footer>
161
+ </main>
162
+ </div>
163
+
164
+ <!-- Upgrade Popup -->
165
+ <div id="upgrade-popup" class="fixed inset-0 bg-black bg-opacity-50 flex justify-center items-center hidden">
166
+ <div class="bg-gradient-to-br from-[#1a1a1a] to-[#2a2a2a] rounded-lg p-8 max-w-4xl w-full mx-4 popup-content">
167
+ <div class="flex justify-between items-center mb-6">
168
+ <h2 class="text-[32px] text-white">Choose Your Plan</h2>
169
+ <button id="close-popup" class="text-white text-2xl">&times;</button>
170
+ </div>
171
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
172
+ <!-- Basic Free Plan -->
173
+ <div class="plan-card p-6 rounded-lg text-center">
174
+ <h3 class="text-[24px] text-white mb-4">Basic Free</h3>
175
+ <p class="text-white text-lg mb-4">50 Credits / Month</p>
176
+ <p class="text-white text-2xl font-bold mb-4">$0</p>
177
+ <button id="select-basic" class="inline-block px-6 py-3 bg-[#7550DC] text-white rounded-lg hover:bg-[#6440cc] font-medium text-lg">Select Plan</button>
178
+ </div>
179
+ <!-- Pro Plan -->
180
+ <div class="plan-card p-6 rounded-lg text-center">
181
+ <h3 class="text-[24px] text-white mb-4">Pro</h3>
182
+ <p class="text-white text-lg mb-4">Unlimited for 1 Month</p>
183
+ <p class="text-white text-2xl font-bold mb-4">$80</p>
184
+ <button id="select-pro" class="inline-block px-6 py-3 bg-[#7550DC] text-white rounded-lg hover:bg-[#6440cc] font-medium text-lg">Select Plan</button>
185
+ </div>
186
+ <!-- Premium Plan -->
187
+ <div class="plan-card p-6 rounded-lg text-center">
188
+ <h3 class="text-[24px] text-white mb-4">Premium</h3>
189
+ <p class="text-white text-lg mb-4">Unlimited for 1 Year</p>
190
+ <p class="text-white text-2xl font-bold mb-4">$900</p>
191
+ <button id="select-premium" class="inline-block px-6 py-3 bg-[#7550DC] text-white rounded-lg hover:bg-[#6440cc] font-medium text-lg">Select Plan</button>
192
+ </div>
193
+ </div>
194
+ </div>
195
+ </div>
196
+
197
+ <script src="js/firebase.js"></script>
198
+ <script src="js/script.js"></script>
199
+ </body>
200
+ </html>