-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkout.html
745 lines (722 loc) · 55.6 KB
/
checkout.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
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Shop Page</title>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link href="https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;1,300&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="public/styles.css" />
<script type="text/javascript" src="app.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js" defer></script>
<script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js" defer></script>
<style>
input[type="range"]::-webkit-slider-thumb {
pointer-events: all;
width: 24px;
height: 24px;
-webkit-appearance: none;
/* @apply w-6 h-6 appearance-none pointer-events-auto; */
}
</style>
<style>
.dropdown:focus-within .dropdown-menu {
opacity: 1;
transform: translate(0) scale(1);
visibility: visible;
}
</style>
<style>
.dropdown:hover > .dropdown-content {
display: block;
}
</style>
<style>
dialog[open] {
animation: appear 0.15s cubic-bezier(0, 1.8, 1, 1.8);
}
dialog::backdrop {
background: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(54, 54, 54, 0.5));
backdrop-filter: blur(3px);
}
@keyframes appear {
from {
opacity: 0;
transform: translateX(-3rem);
}
to {
opacity: 1;
transform: translateX(0);
}
}
</style>
</head>
<body class="body">
<div class="container-fluid bg-white shadow py-3 w-full fixed top-0 z-40">
<div class="container mx-auto">
<div
class="w-full py-4 flex justify-between items-center px-4"
x-data="{ open: false }"
class="flex flex-col px-4 mx-auto md:items-center md:justify-between md:flex-row md:px-6 lg:px-8 relative"
>
<div class="">
<a href="error.html" class="text-gray-800"><img class="xl:w-28 lg:w-28 md:w-22 w-20" src="images/logo-home2.png" alt="image"></a>
</div>
<div class="">
<div class="md:ml-1 lg:ml-36 xl:ml-56">
<div class="flex justify-end items-center space-x-2">
<svg
width="24"
height="24"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
fill="currentColor"
class="text-yellow-500 dark:text-gray-400 ransition-colors duration-200 xl:visible lg:visible md:visible invisible"
>
<path
d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z"
fill-rule="evenodd"
clip-rule="evenodd"
></path>
</svg>
<div class="">
<input type="checkbox" name="" id="toggle" class="hidden" />
<label for="toggle" class="cursor-pointer">
<div class="w-10 h-5 flex items-center bg-green-400 dark:bg-gray-800 rounded-full p-1">
<div class="toggle-dot w-4 h-4 bg-white rounded-full shadow-md transform transition duration-500 ease-in-out"></div>
</div>
</label>
</div>
<svg width="24" height="24" fill="currentColor" class="dark:text-gray-800 transition-colors duration-200 text-gray-300 xl:visible lg:visible md:visible invisible">
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M9.353 2.939a1 1 0 01.22 1.08 8 8 0 0010.408 10.408 1 1 0 011.301 1.3A10.003 10.003 0 0112 22C6.477 22 2 17.523 2 12c0-4.207 2.598-7.805 6.273-9.282a1 1 0 011.08.22z"
></path>
</svg>
</div>
</div>
</div>
<button class="block xl:hidden lg:hidden rounded-lg focus:outline-none focus:shadow-outline" @click="open = !open">
<svg fill="currentColor" viewBox="0 0 20 20" class="w-6 h-6 dark:text-gray-800">
<path
x-show="!open"
fill-rule="evenodd"
d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM9 15a1 1 0 011-1h6a1 1 0 110 2h-6a1 1 0 01-1-1z"
clip-rule="evenodd"
></path>
<path
x-show="open"
fill-rule="evenodd"
d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
clip-rule="evenodd"
></path>
</svg>
</button>
<div>
<ul
:class="{'flex': open, 'hidden': !open}"
class="leading-loose flex-col flex-grow py-20 pt-10 md:pb-0 h-screen xl:h-auto xl:h-auto lg:h-auto w-64 sm:w-80 md:w-96 lg:w-full xl:w-full hidden xl:flex-row lg:flex-row xl:inline-flex lg:inline-flex xl:static lg:static absolute left-0 top-20 xl:bg-transparent lg:bg-transparent bg-transparent bg-gray-50 px-3 xl:py-0 lg:py-0 md:py-10"
>
<a
href="index.html"
class="px-4 py-2 mt-2 text-sm font-semibold bg-gray-200 rounded-lg dark-mode:bg-gray-700 dark:hover:bg-gray-600 dark-mode:focus:bg-gray-600 dark-mode:focus:text-white dark-mode:hover:text-white dark:text-gray-800 md:mt-0 hover:text-gray-900 focus:text-gray-900 hover:bg-gray-200 focus:bg-gray-200 focus:outline-none focus:shadow-outline font-rubic"
>
Home
</a>
<a
href="shop.html"
class="px-4 py-2 mt-2 text-sm font-semibold bg-transparent rounded-lg dark:bg-transparent dark:hover:bg-gray-600 dark-mode:focus:bg-gray-600 dark-mode:focus:text-white dark-mode:hover:text-white dark:text-gray-800 md:mt-0 xl:ml-4 lg:ml-4 hover:text-gray-900 focus:text-gray-900 hover:bg-gray-200 focus:bg-gray-200 focus:outline-none focus:shadow-outline font-rubic"
>
Shop
</a>
<div
@click.away="open = false"
class="relative px-4 py-2 mt-2 text-sm font-semibold bg-transparent rounded-lg dark:bg-transparent dark-mode:hover:bg-gray-600 dark-mode:focus:bg-gray-600 dark-mode:focus:text-white dark-mode:hover:text-white dark:text-gray-800 md:mt-0 xl:ml-4 lg:ml-4 hover:text-gray-900 focus:text-gray-900 hover:bg-gray-200 focus:bg-gray-200 focus:outline-none focus:shadow-outline font-rubic"
x-data="{ open: false }"
>
<button @click="open = !open" class="flex flex-row items-center w-full text-left md:w-auto md:inline focus:outline-none">
<span class="text-sm font-semibold dark:text-gray-800 font-rubic">Pages</span>
<svg fill="currentColor" viewBox="0 0 20 20" :class="{'rotate-180': open, 'rotate-0': !open}" class="inline w-4 h-4 mt-1 ml-1 transition-transform duration-200 transform md:-mt-1">
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"></path>
</svg>
</button>
<div
x-show="open"
x-transition:enter="transition ease-out duration-100"
x-transition:enter-start="transform opacity-0 scale-95"
x-transition:enter-end="transform opacity-100 scale-100"
x-transition:leave="transition ease-in duration-75"
x-transition:leave-start="transform opacity-100 scale-100"
x-transition:leave-end="transform opacity-0 scale-95"
class="absolute right-0 w-full mt-2 origin-top-right rounded-md shadow-lg md:w-48"
>
<div class="px-2 py-2 bg-white rounded-md shadow dark:bg-gray-800">
<a
class="block px-4 py-2 mt-2 text-sm font-semibold bg-transparent rounded-lg dark:bg-transparent dark:hover:bg-gray-600 dark:focus:bg-gray-600 dark:focus:text-white dark:hover:text-white dark:text-gray-800 md:mt-0 hover:text-gray-900 focus:text-gray-900 hover:bg-gray-200 focus:bg-gray-200 focus:outline-none focus:shadow-outline font-rubic"
href="contact.html"
>
Contact us
</a>
<a
class="block px-4 py-2 mt-2 text-sm font-semibold bg-transparent rounded-lg dark:bg-transparent dark:hover:bg-gray-600 dark:focus:bg-gray-600 dark:focus:text-white dark:hover:text-white dark:text-gray-800 md:mt-0 hover:text-gray-900 focus:text-gray-900 hover:bg-gray-200 focus:bg-gray-200 focus:outline-none focus:shadow-outline font-rubic"
href="account.html"
>
My Account
</a>
<a
class="block px-4 py-2 mt-2 text-sm font-semibold bg-transparent rounded-lg dark:bg-transparent dark:hover:bg-gray-600 dark:focus:bg-gray-600 dark:focus:text-white dark:hover:text-white dark:text-gray-800 md:mt-0 hover:text-gray-900 focus:text-gray-900 hover:bg-gray-200 focus:bg-gray-200 focus:outline-none focus:shadow-outline font-rubic"
href="wishlist.html"
>
WishList
</a>
<a
class="block px-4 py-2 mt-2 text-sm font-semibold bg-transparent rounded-lg dark:bg-transparent dark:hover:bg-gray-600 dark:focus:bg-gray-600 dark:focus:text-white dark:hover:text-white dark:text-gray-800 md:mt-0 hover:text-gray-900 focus:text-gray-900 hover:bg-gray-200 focus:bg-gray-200 focus:outline-none focus:shadow-outline font-rubic"
href="register.html"
>
Register
</a>
<a
class="block px-4 py-2 mt-2 text-sm font-semibold bg-transparent rounded-lg dark:bg-transparent dark:hover:bg-gray-600 dark:focus:bg-gray-600 dark:focus:text-white dark:hover:text-white dark:text-gray-800 md:mt-0 hover:text-gray-900 focus:text-gray-900 hover:bg-gray-200 focus:bg-gray-200 focus:outline-none focus:shadow-outline font-rubic"
href="login.html"
>
Login
</a>
</div>
</div>
</div>
<a
href="blog.html"
class="px-4 py-2 mt-2 text-sm font-semibold bg-transparent rounded-lg dark:bg-transparent dark-mode:hover:bg-gray-600 dark-mode:focus:bg-gray-600 dark-mode:focus:text-white dark-mode:hover:text-white dark:text-gray-800 md:mt-0 xl:ml-4 lg:ml-4 hover:text-gray-900 focus:text-gray-900 hover:bg-gray-200 focus:bg-gray-200 focus:outline-none focus:shadow-outline font-rubic"
>
Blog
</a>
<a
href="contact.html"
class="px-4 py-2 mt-2 text-sm font-semibold bg-transparent rounded-lg dark:bg-transparent dark-mode:hover:bg-gray-600 dark-mode:focus:bg-gray-600 dark-mode:focus:text-white dark-mode:hover:text-white dark:text-gray-800 md:mt-0 xl:ml-4 lg:ml-4 hover:text-gray-900 focus:text-gray-900 hover:bg-gray-200 focus:bg-gray-200 focus:outline-none focus:shadow-outline font-rubic"
>
Contact us
</a>
</ul>
</div>
<div class="flex justify-center items-center">
<div class="xl:mr-5 lg:mr-5 md:mr-5 mr-0">
<div id="demo"></div>
<div class="dropdown inline-block relative">
<button class="inline-flex items-center focus:outline-none relative">
<i class="fas fa-shopping-cart text-gray-500 mr-7 hover:text-red-600 cursor-pointer transition duration-300 ease-in-out"></i>
<p id="demo" class="absolute -top-3 right-3 h-4 w-4 bg-red-600 rounded-full text-white flex justify-center items-center text-xs">3</p>
</button>
<ul class="dropdown-content pt-10 bg-white absolute xl:right-0 lg:right-0 md:right-0 sm:right-0 -right-12 top-10 hidden text-gray-700 pt-1 xl:w-80 lg:w-80 md:w-80 w-80">
<li class="shadow-lg px-3 py-3 mt-5">
<div class="border-b-2 border-gray-200 pb-5">
<div class="flex justify-between items-center">
<div class="">
<a href="#" class="">
<img src="images/product-3.jpg" class="h-auto w-20 border border-gray-200" alt="" />
</a>
</div>
<a href="#" class="">
<div class="group">
<h1 class="text-gray-900 font-semibold group-hover:text-red-600 transition duration-300 ease-in-out">Odio tortor consequat</h1>
<p class="">1× <span class="text-red-600">$98.00</span></p>
</div>
</a>
<div class="">
<a href="#" class=""><i class="far fa-trash-alt hover:text-red-600 cursor-pointer transition duration-300 ease-in-out"></i></a>
</div>
</div>
<div class="flex justify-between items-center pt-5">
<div class="">
<a href="#" class="">
<img src="images/product-3.jpg" class="h-auto w-20 border border-gray-200" alt="" />
</a>
</div>
<a href="#" class="">
<div class="group">
<h1 class="text-gray-900 font-semibold group-hover:text-red-600 transition duration-300 ease-in-out">Odio tortor consequat</h1>
<p class="">1× <span class="text-red-600">$98.00</span></p>
</div>
</a>
<div class="">
<a href="#" class=""><i class="far fa-trash-alt hover:text-red-600 cursor-pointer transition duration-300 ease-in-out"></i></a>
</div>
</div>
<div class="flex justify-between items-center pt-5">
<div class="">
<a href="#" class="">
<img src="images/product-3.jpg" class="h-auto w-20 border border-gray-200" alt="" />
</a>
</div>
<a href="#" class="">
<div class="group">
<h1 class="text-gray-900 font-semibold group-hover:text-red-600 transition duration-300 ease-in-out">Odio tortor consequat</h1>
<p class="">1× <span class="text-red-600">$98.00</span></p>
</div>
</a>
<div class="">
<a href="#" class=""><i class="far fa-trash-alt hover:text-red-600 cursor-pointer transition duration-300 ease-in-out"></i></a>
</div>
</div>
</div>
<div class="border-b-2 border-gray-200 py-5">
<div class="flex justify-between items-center">
<h1 class="text-gray-900 font-medium text-lg">Total:</h1>
<p class="text-gray-900 font-medium text-lg">$166.00</p>
</div>
</div>
<div class="">
<div class="flex justify-between items-center pt-5">
<a href="cart.html" class="font-semibold bg-gray-900 text-white px-6 py-2 hover:text-white hover:bg-red-600 transition duration-300 ease-in-out rounded">View Cart</a>
<a href="checkout.html" class="font-semibold bg-gray-900 text-white px-6 py-2 hover:text-white hover:bg-red-600 transition duration-300 ease-in-out rounded">Checkout</a>
</div>
</div>
</li>
</ul>
</div>
</div>
<div class="">
<section class="">
<button onclick="document.getElementById('myModal').showModal()" id="btn" class="focus:outline-none">
<i class="fas fa-search text-lg pt-1 hover:text-red-600 text-gray-500 transition duration-300 ease-in-out"></i>
</button>
</section>
</div>
</div>
<div class="flex justify-center items-center xl:ml-0 lg:ml-4 md:ml-0 ml-0">
<div class="group">
<div id="demo"></div>
<div class="dropdown inline-block relative group">
<button class="inline-flex items-center focus:outline-none relative flex items-center">
<img src="images/user.jpeg" class="xl:w-10 lg:w-10 md:w-10 w-8 h-auto rounded-full" alt="image">
<h1 class="text-gray-600 text-sm font-medium xl:block lg:block md:block hidden ml-2 group-hover:text-red-600 transition duration-300 ease-in-out">John Doe</h1>
</button>
<ul class="dropdown-content z-10 bg-white rounded shadow-lg absolute xl:right-0 lg:right-0 md:right-0 sm:right-0 -right-4 hidden text-gray-700 pt-1 w-44">
<li class="shadow-lg px-3 py-3 mt-5">
<h1 class="pb-1 border-b border-gray-300 xl:hidden lg:hidden md:hidden block mb-3 font-semibold">John Doe</h1>
<div class="py-1"><a href="account.html" class="text-gray-600 font-rubic hover:text-red-600 transition duration-300 ease-in-out">My Account</a></div>
<div class="py-1"><a href="register.html" class="text-gray-600 font-rubic hover:text-red-600 transition duration-300 ease-in-out">Register</a></div>
<div class="py-1"><a href="login.html" class="text-gray-600 font-rubic hover:text-red-600 transition duration-300 ease-in-out">Login</a></div>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container mx-auto mt-44">
<div class="max-w-xs md:max-w-2xl lg:max-w-screen-xl xl:max-w-screen-xl mx-auto">
<div class="mb-10">
<div class="mt-5 dark:bg-transparent dark:border-gray-600 dark:text-gray-100 bg-gray-100 w-full border border-gray-100 px-5 py-5 text-xl text-gray-700 font-semibold font-rubic text-xs lg:text-base xl:text-base cursor-pointer">Returning customer? <span class="text-red-400" id="loginbtn">Click here to login</span></div>
<div class="border border-gray-200 xl:p-8 hidden mt-3 dark:border-gray-400 px-4 py-4" id="login">
<h1 class="text-gray-700 font-bold text-xl pb-3 dark:text-white">Please login your account</h1>
<div class=" xl:flex xl:justify-between xl:items-center lg:flex lg:justify-between lg:items-center">
<input class="dark:bg-gray-800 dark:border-gray-600 border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:w-3/6 xl:h-12 lg:w-3/6 lg:h-12 w-full h-12 xl:mb-0 lg:mb-0 md:mb-5 mb-5 px-5 xl:mr-5 lg:mr-3" type="text" placeholder="Enter your name">
<input class="dark:bg-gray-800 dark:border-gray-600 border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:w-3/6 xl:h-12 lg:w-3/6 lg:h-12 w-full h-12 xl:mb-0 lg:mb-0 md:mb-5 mb-5 px-5" type="text" placeholder="Enter your email address">
</div>
<div class="flex justify-start items-center py-5">
<button type="button" class="bg-red-500 text-gray-100 px-10 py-3 font-semibold">LOGIN</button>
<div class="flex items-center ml-4">
<input class="inp-check" type="checkbox" id="createaccound" />
<label class="inp-title dark:text-gray-100" for="createaccound">Remember me</label>
</div>
</div>
<a href="register.html" class="">Lost your password?</a>
</div>
<div class="dark:bg-transparent dark:border-gray-600 dark:text-gray-100 bg-gray-100 w-full border border-gray-100 px-5 py-5 text-xl text-gray-700 font-semibold font-rubic mt-5 text-xs lg:text-base xl:text-base cursor-pointer">Have a coupon? <span class="text-red-400" id="couponBtn"> Click here to enter your code</span></div>
<div class="border border-gray-200 xl:p-8 hidden mt-3 dark:border-gray-400 px-4 py-4" id="coupon">
<h1 class="text-gray-700 font-bold text-xl pb-3 dark:text-gray-100">If you have a coupon code, please apply it below.</h1>
<div class=" xl:flex xl:justify-between xl:items-center lg:flex lg:justify-between lg:items-center">
<input class="dark:bg-gray-800 dark:border-gray-600 border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 w-full h-12 xl:mb-0 lg:mb-0 md:mb-5 mb-5 px-5 xl:mr-5 lg:mr-3" type="text" placeholder="Enter your name">
</div>
<div class="flex justify-start items-center py-5">
<button type="button" class="bg-red-500 text-gray-100 px-10 py-3 font-semibold">APPLY COUPON</button>
</div>
</div>
</div>
<div class="w-full">
<h1 class="text-gray-600 text-lg font-rubic pb-4 dark:text-gray-100">Billing Details</h1>
<div class="px-5 py-5 border border-gray-200 dark:border-gray-600">
<form action="">
<div class="w-full">
<h1 class="text-gray-600 text-lg font-rubic pb-2 dark:text-gray-100">Personal Information</h1>
<div class="xl:flex xl:justify-between xl:items-center lg:flex lg:justify-between lg:items-center">
<input class="dark:bg-gray-800 dark:border-gray-600 border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:w-3/6 xl:h-12 lg:w-3/6 lg:h-12 w-full h-12 xl:mb-0 lg:mb-0 md:mb-5 mb-5 px-5 xl:mr-5 lg:mr-3" type="text" placeholder="First name">
<input class="dark:bg-gray-800 dark:border-gray-600 border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:w-3/6 xl:h-12 lg:w-3/6 lg:h-12 w-full h-12 xl:mb-0 lg:mb-0 md:mb-5 mb-5 px-5 xl:mr-5 lg:mr-3" type="text" placeholder="Last name">
</div>
<div class="xl:flex xl:justify-between xl:items-center lg:flex lg:justify-between lg:items-center pt-10">
<input class="dark:bg-gray-800 dark:border-gray-600 border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:w-3/6 xl:h-12 lg:w-3/6 lg:h-12 w-full h-12 xl:mb-0 lg:mb-0 md:mb-5 mb-5 px-5 xl:mr-5 lg:mr-3" type="text" placeholder="Email address">
<input class="dark:bg-gray-800 dark:border-gray-600 border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:w-3/6 xl:h-12 lg:w-3/6 lg:h-12 w-full h-12 xl:mb-0 lg:mb-0 md:mb-5 mb-5 px-5 xl:mr-5 lg:mr-3" type="text" placeholder="Phone number">
</div>
<div class="xl:flex xl:justify-between xl:items-center lg:flex lg:justify-between lg:items-center pt-10">
<input class="dark:bg-gray-800 dark:border-gray-600 border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:w-3/6 xl:h-12 lg:w-3/6 lg:h-12 w-full h-12 xl:mb-0 lg:mb-0 md:mb-5 mb-5 px-5 xl:mr-5 lg:mr-3" type="text" placeholder="Company name (optional)">
<input class="dark:bg-gray-800 dark:border-gray-600 border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:w-3/6 xl:h-12 lg:w-3/6 lg:h-12 w-full h-12 xl:mb-0 lg:mb-0 md:mb-5 mb-5 px-5 xl:mr-5 lg:mr-3" type="text" placeholder="Company address (optional)">
</div>
</div>
<div class="mt-10">
<h1 class="text-gray-600 text-lg font-rubic pb-4 dark:text-gray-100">Country</h1>
<select class="w-60 border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500">
<option value="">Please country</option>
<option value="small">Australia</option>
<option value="medium">India</option>
<option value="large">Dubai</option>
</select>
</div>
<div class="w-full mt-10">
<h1 class="text-gray-600 text-lg font-rubic pb-2 dark:text-gray-100">Address</h1>
<div class=" xl:flex xl:justify-between xl:items-center lg:flex lg:justify-between lg:items-center">
<input class="dark:bg-gray-800 dark:border-gray-600 border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:w-3/6 xl:h-12 lg:w-3/6 lg:h-12 w-full h-12 xl:mb-0 lg:mb-0 md:mb-5 mb-5 px-5 xl:mr-5 lg:mr-3" type="text" placeholder="House number and street name">
<input class="dark:bg-gray-800 dark:border-gray-600 border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:w-3/6 xl:h-12 lg:w-3/6 lg:h-12 w-full h-12 xl:mb-0 lg:mb-0 md:mb-5 mb-5 px-5 xl:mr-5 lg:mr-3" type="text" placeholder="Apartment, suite, unit etc. (optional)">
</div>
</div>
<div class="mt-10">
<div class="w-full xl:flex xl:justify-around xl:items-center lg:flex lg:justify-between lg:items-center">
<div class="xl:w-4/12 lg:w-4/12 w-full lg:mr-5 xl:mr-5">
<h1 class="text-gray-600 text-lg font-rubic pb-2 dark:text-gray-100">Town / City</h1>
<input class="dark:bg-gray-800 dark:border-gray-600 border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:mb-0 w-full lg:mb-0 md:mb-5 mb-5 px-5 xl:mr-5 lg:mr-3" type="text" placeholder="City">
</div>
<div class="xl:w-4/12 lg:w-4/12 w-full">
<h1 class="text-gray-600 text-lg font-rubic pb-2 dark:text-gray-100">State</h1>
<input class="dark:bg-gray-800 dark:border-gray-600 border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:mb-0 w-full lg:mb-0 md:mb-5 mb-5 px-5 xl:mr-5 lg:mr-3" type="text" placeholder="State">
</div>
<div class="xl:w-4/12 lg:w-4/12 w-full lg:ml-5 xl:ml-5 lg:mr-3 xl:mr-5">
<h1 class="text-gray-600 text-lg font-rubic pb-2 dark:text-gray-100">Zip</h1>
<input class="dark:bg-gray-800 dark:border-gray-600 border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 w-full xl:mb-0 lg:mb-0 md:mb-5 mb-5 px-5 xl:mr-5 lg:mr-3" type="text" placeholder="Zip">
</div>
</div>
</div>
<div class="flex items-center pt-5">
<input class="inp-check rounded border-gray-400" type="checkbox" id="createaccount" />
<label class="inp-title dark:text-gray-100" for="createaccount">Create an account?</label>
</div>
<div class="w-full mt-10">
<h1 class="text-gray-600 text-lg font-rubic pb-2 dark:text-gray-100">Other Notes (optional)</h1>
<textarea class="dark:bg-gray-800 dark:border-gray-600 border border-gray-300 px-3 py-2 rounded-lg shadow-sm w-full h-44 focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500"
id="message" type="text" placeholder="Notes about your order, e.g. special notes for delivery"></textarea>
</div>
</form>
</div>
</div>
<div class="mt-20">
<div class="xl:flex xl:justify-between lg:flex lg:justify-between">
<div class="xl:max-w-xl lg:max-w-xl max-w-full xl:mr-0 mr-0 lg:mr-5">
<h1 class="text-gray-600 text-lg font-rubic pb-2 dark:text-gray-100">Payment Method</h1>
<div class="w-full border border-gray-300 px-5 py-5 dark:border-gray-600">
<div class="flex justify-start items-center">
<input class="inp-check focus:ring-transparent rounded-full" type="checkbox" id="checkpayments" />
<label class="inp-title dark:text-gray-100 cursor-pointer" for="checkpayments" id="checkBtn">Check payments</label>
</div>
<div class="mt-1 p-4 bg-white border border-gray-200 dark:border-gray-500 dark:bg-gray-800 hidden" id="checkpayment">
<p class="text-sm text-gray-800 dark:text-gray-100">Please send a check to Store Name, Store Street, Store Town, Store State / County, Store Postcode.</p>
</div>
</div>
<div class=" border-t-0 border border-gray-300 px-5 py-5 dark:border-gray-600">
<div class="flex justify-start items-center">
<input class="inp-check focus:ring-transparent rounded-full" type="checkbox" id="chasondelivery" />
<label class="inp-title dark:text-gray-100 cursor-pointer" for="chasondelivery" id="cashpaymentbtn">Cash on delivery</label>
</div>
<div class="mt-1 p-4 bg-white border border-gray-200 dark:border-gray-500 dark:bg-gray-800 hidden" id="cashpayment">
<p class="text-sm text-gray-800 dark:text-gray-100">Pay with cash upon delivery.</p>
</div>
</div>
<div class="border-t-0 border border-gray-300 px-5 py-5 dark:border-gray-600">
<div class="flex justify-start items-center">
<input class="inp-check focus:ring-transparent rounded-full" type="checkbox" id="paypal" />
<label class="inp-title dark:text-gray-100 cursor-pointer" for="paypal" id="paypalmethodbtn">PayPal</label>
<img src="images/payment-3.png" class="h-auto w-20 ml-3" alt="">
</div>
<div class="mt-1 p-4 bg-white border border-gray-200 dark:border-gray-500 dark:bg-gray-800 hidden" id="paypalmethod">
<p class="text-sm text-gray-800 dark:text-gray-100">Pay via PayPal; you can pay with your credit card if you don’t have a PayPal account.</p>
</div>
</div>
<p class="text-gray-500 dark:text-white py-5">
Your personal data will be used to process your order, support your experience throughout this website, and for other purposes described in our privacy policy.
</p>
<button type="button" class="bg-red-500 text-gray-100 px-7 py-4">PLACE ORDER</button>
</div>
<div class="xl:max-w-xl lg:max-w-xl max-w-full xl:mt-0 lg:mt-0 xl:mt-0 lg:mt-0 mt-10 w-full xl:ml-0 ml-0 lg:ml-5">
<h1 class="text-gray-600 text-lg font-rubic pb-2 dark:text-gray-100">Cart Totals</h1>
<div class="w-full">
<div class="">
<table class="mx-auto bg-gray-100 w-full border border-gray-100 dark:border-gray-600">
<tr class="bg-gray-200 text-left border-b-2 border-gray-200 dark:border-gray-600 dark:bg-gray-800 dark:border-gray-400">
<td class="px-4 py-5 text-gray-700 dark;text-gray-100 dark:text-gray-100 xl:text-base lg:text-base md:text-sm text-xs">Brake Conversion Kit × 2</th>
<td class="px-4 py-5 text-gray-700 dark;text-gray-100 dark:text-gray-100 xl:text-base lg:text-base md:text-sm text-xs">$298.00</th>
</tr>
<tr class="bg-gray-100 border-b border-gray-200 dark:bg-gray-800 dark:border-gray-600 dark:border-gray-400">
<td class="px-4 py-5 text-gray-700 dark;text-gray-100 dark:text-gray-100 xl:text-base lg:text-base md:text-sm text-xs">OE Replica Wheels × 2</th>
<td class="px-4 py-5 text-gray-700 dark;text-gray-100 dark:text-gray-100 xl:text-base lg:text-base md:text-sm text-xs">$150.00</th>
</tr>
<!-- each row -->
<tr class="bg-gray-200 border-b border-gray-200 dark:bg-gray-800 dark:border-gray-600 dark:border-gray-400">
<td class="px-4 py-5 text-gray-700 dark;text-gray-100 dark:text-gray-100 xl:text-base lg:text-base md:text-sm text-xs">Shipping and Handing</th>
<td class="px-4 py-5 text-gray-700 dark;text-gray-100 dark:text-gray-100 xl:text-base lg:text-base md:text-sm text-xs">$15.00</th>
</tr>
<!-- each row -->
<tr class="bg-gray-100 border-b border-gray-200 dark:bg-gray-800 dark:border-gray-600 dark:border-gray-400">
<td class="px-4 py-5 text-gray-700 dark;text-gray-100 dark:text-gray-100 xl:text-base lg:text-base md:text-sm text-xs">Vat</th>
<td class="px-4 py-5 text-gray-700 dark;text-gray-100 dark:text-gray-100 xl:text-base lg:text-base md:text-sm text-xs"> $00.00</th>
</tr>
<!-- each row -->
<!-- each row -->
<tr class="bg-gray-200 dark:bg-gray-800 dark:border-gray-400">
<td class="px-4 py-5 text-gray-700 font-bold dark;text-gray-100 dark:text-gray-100 xl:text-base lg:text-base md:text-sm text-xs">Order Total</th>
<td class="px-4 py-5 text-gray-700 font-bold dark;text-gray-100 dark:text-gray-100 xl:text-base lg:text-base md:text-sm text-xs">$633.00</th>
</tr>
<!-- each row -->
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid bg-gray-100 py-20 mt-20 dark:bg-gray-800 border-t border-gray-100 dark:border-t dark:border-gray-600">
<div class="container mx-auto">
<div class="footer">
<div class="">
<div class="main-footer">
<div class="footer-single-blog">
<h1 class="footer-single-blog-header font-rubic">About Us</h1>
<p class="footer-single-blog-title">Lorem ipsum dolor sit amet, consectetur adipisicing elit sed do eiusmod tempor incididun</p>
<p class="footer-single-blog-title">Address: 123 Main Street, Anytown, CA 12345 - USA.</p>
<p class="footer-single-blog-title">Address: 123 Main Street, Anytown, CA 12345 - USA.</p>
<p class="footer-single-blog-title">Email: <a href="#" class="hover:text-red-600 transition duration-400">yourmail@example.com</a></p>
<ul class="flex justify-left items-center">
<li class="">
<a href="#" class="">
<i class="fab fa-facebook-f social-link"></i>
</a>
</li>
<li class="">
<a href="#" class="">
<i class="fab fa-twitter social-link"></i>
</a>
</li>
<li class="">
<a href="#" class="">
<i class="fab fa-google social-link"></i>
</a>
</li>
<li class="">
<a href="#" class="">
<i class="fab fa-linkedin social-link"></i>
</a>
</li>
<li class="">
<a href="#" class="">
<i class="fab fa-instagram social-link"></i>
</a>
</li>
</ul>
</div>
<div class="footer-single-blog-info">
<h1 class="footer-single-blog-info-heading font-rubic">Information</h1>
<ul class="">
<li class="">
<a href="#" class="footer-info-link">About Us</a>
</li>
<li class="">
<a href="#" class="footer-info-link">Delivery Information</a>
</li>
<li class="">
<a href="#" class="footer-info-link">Privacy Policy</a>
</li>
<li class="">
<a href="#" class="footer-info-link">Terms & Conditions</a>
</li>
<li class="">
<a href="#" class="footer-info-link">Customer Service</a>
</li>
<li class="">
<a href="#" class="footer-info-link">Return Policy</a>
</li>
</ul>
</div>
<div class="footer-single-blog-info">
<h1 class="footer-single-blog-info-heading font-rubic">My Account</h1>
<ul class="">
<li class="">
<a href="#" class="footer-info-link">My Account</a>
</li>
<li class="">
<a href="#" class="footer-info-link">Order History</a>
</li>
<li class="">
<a href="wishlist.html" class="footer-info-link">WishList</a>
</li>
<li class="">
<a href="#" class="footer-info-link">News Letter</a>
</li>
<li class="">
<a href="#" class="footer-info-link">Order Information</a>
</li>
<li class="">
<a href="#" class="footer-info-link">International Order</a>
</li>
</ul>
</div>
<div class="footer-newslatter">
<h1 class="footer-single-blog-info-heading font-rubic">Join Our News Letter Now</h1>
<ul class="">
<li class="text-md text-gray-800 font-rubic dark:text-gray-100">
Get E-mail updates about our latest shop and special offers.
</li>
<li class="my-5">
<input type="text" class="footer-input" placeholder="Your Email Address..." />
</li>
<li class="">
<button type="button" class="footer-button">subscribe</button>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid bg-gray-200 dark:bg-gray-800 border-t border-gray-100 dark:border-t dark:border-gray-600">
<div class="container mx-auto">
<div class="max-w-xs md:max-w-2xl lg:max-w-screen-xl xl:max-w-screen-xl mx-auto py-5">
<div class="lg:flex lg:items-center lg:justify-between xl:items-center xl:flex xl:justify-between">
<div class="">
<p class="text-gray-800 dark:text-gray-800">Copyright © Phuler. All Right Reserved.</p>
</div>
<div class="xl:my-0 lg:my-0 my-2">
<a href="#" class="">
<img class="" src="images/payment.png" alt="" />
</a>
</div>
</div>
</div>
</div>
</div>
<dialog id="myModal" class="h-96 w-11/12 md:w-1/2 p-5 bg-gray-900 rounded-md">
<div class="">
<!-- Header -->
<div class="flex w-full h-auto justify-end items-center">
<div onclick="document.getElementById('myModal').close();" class="flex w-1/12 h-auto justify-center cursor-pointer pt-5">
<i class="fas fa-times text-xl text-gray-100"></i>
</div>
<!--Header End-->
</div>
<!-- Modal Content-->
<div class="h-auto pt-28 flex justify-center items-center">
<div class="xl:flex xl:justify-center xl:items-center lg:flex lg:justify-center lg:items-center md:flex md:justify-center md:items-center">
<input class="xl:w-full w-full h-10 border border-gray-500 bg-transparent text-white" type="search" placeholder="search" />
<a
href="#"
class="xl:w-32 lg:w-32 md:w-32 w-full bg-red-600 text-white h-10 flex justify-center items-center border-2 border-red-600 font-semibold xl:mt-0 lg:mt-0 md:mt-0 mt-2 xl:rounded-none lg:rounded-none md:rounded-none rounded"
>
Search
</a>
</div>
</div>
<!-- End of Modal Content-->
</div>
</dialog>
<script>
const checkbox = document.querySelector("#toggle");
const html = document.querySelector("html");
const toggleDarkMode = function () {
checkbox.checked ? html.classList.add("dark") : html.classList.remove("dark");
};
toggleDarkMode();
checkbox.addEventListener("click", toggleDarkMode);
</script>
<script type="text/javascript">
var coll = document.getElementsByClassName("collapsible");
var i;
for (i = 0; i < coll.length; i++) {
coll[i].addEventListener("click", function () {
this.classList.toggle("active");
var content = this.nextElementSibling;
if (content.style.maxHeight) {
content.style.maxHeight = null;
} else {
content.style.maxHeight = content.scrollHeight + "px";
}
});
}
</script>
<script>
var bTnOne = document.getElementById("button1");
var btntwo = document.getElementById("button2");
bTnOne.addEventListener("click", function () {
var x = document.getElementById("content2");
var y = document.getElementById("content1");
if (y.style.display === "none" && x.style.display === "none") {
y.style.display = "none";
x.style.display = "block";
} else {
y.style.display = "block";
x.style.display = "none";
}
});
btntwo.addEventListener("click", function () {
var x = document.getElementById("content2");
var y = document.getElementById("content1");
if (y.style.display === "none" && x.style.display === "none") {
y.style.display = "block";
x.style.display = "none";
} else {
y.style.display = "none";
x.style.display = "block";
}
});
</script>
<script>
function range() {
return {
minprice: 300,
maxprice: 800,
min: 0,
max: 1200,
minthumb: 0,
maxthumb: 0,
mintrigger() {
this.minprice = Math.min(this.minprice, this.maxprice - 0);
this.minthumb = ((this.minprice - this.min) / (this.max - this.min)) * 100;
},
maxtrigger() {
this.maxprice = Math.max(this.maxprice, this.minprice + 0);
this.maxthumb = 100 - ((this.maxprice - this.min) / (this.max - this.min)) * 100;
},
};
}
</script>
<script type="text/javascript">
const logBtn = document.getElementById("loginbtn");
const logingSec = document.getElementById("login");
logBtn.addEventListener('click', function(){
logingSec.classList.toggle("hidden");
})
const couponButton = document.getElementById("couponBtn");
const couponsec = document.getElementById("coupon");
couponButton.addEventListener('click', function(){
couponsec.classList.toggle("hidden");
})
</script>
<script type="text/javascript">
const checkButton = document.getElementById("checkBtn");
const checkCon = document.getElementById("checkpayment");
checkButton.addEventListener('click', function(){
checkCon.classList.toggle('hidden');
})
const cashButton = document.getElementById("cashpaymentbtn");
const cashcon = document.getElementById("cashpayment");
cashButton.addEventListener('click', function(){
cashcon.classList.toggle('hidden');
})
const paybtn = document.getElementById("paypalmethodbtn");
const paypalcon = document.getElementById("paypalmethod");
paybtn.addEventListener('click', function(){
paypalcon.classList.toggle('hidden');
})
</script>
</body>
</html>