-
Notifications
You must be signed in to change notification settings - Fork 0
/
account.html
690 lines (659 loc) · 49.1 KB
/
account.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
<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>My account</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 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 z-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-fluid mx-auto mt-44">
<div class="container mx-auto mt-20">
<div class="max-w-xs md:max-w-2xl lg:max-w-screen-xl xl:max-w-screen-xl mx-auto mt-4">
<!-- Tabs -->
<div class="flex items-center pt-10 pb-5">
<i class="fas fa-user-circle text-gray-700 mb-1 dark:text-gray-200"></i>
<p class="text-gray-700 ml-2 font-rubic font-semibold dark:text-gray-200">Profile</p>
</div>
<div class="xl:flex lg:flex md:flex">
<ul id="tabs" class="xl:w-1/4 lg:w-1/4 md:w-2/4 w-full text-center text-center bg-blue-50 h-auto rounded-lg xl:mb-0 lg:mb-0 md:mb-0 mb-20 xl:pb-0 lg:pb-0 md:pb-0 pb-44">
<li class="py-6">
<div class="text-center">
<img class="w-20 h-auto mx-auto rounded-lg" src="images/user.jpeg" alt="">
<h1 class="capitalize text-gray-700 font-rubic pt-3 font-semibold">james nord</h1>
<p class="text-gray-600 text-sm font-rubic">JoulesLabs@gmail.com</p>
</div>
</li>
<li class="flex items-center justify-left px-4 py-3 font-semibold text-gray-500 w-full uppercase"><i class="fas fa-user-circle mb-1 text-blue-500"></i><a id="default-tab" class="ml-3 text-sm" href="#first">Personal Information</a></li>
<li class="flex items-center justify-left px-4 py-3 font-semibold text-gray-500 w-full uppercase"><i class="fas fa-user-circle text-purple-500"></i><a id="default-tab" class="ml-3 text-sm" href="#second">Account Information</a></li>
</ul>
<!-- Tab Contents -->
<div class="xl:w-3/4 lg:w-3/4 md:w-2/4 w-full xl:ml-10 lg:ml-8 md:ml-5 ml-0">
<div id="tab-contents">
<div id="first" class="bg-blue-50 px-8 py-10 rounded-lg">
<div class="">
<h1 class="font-semibold font-xl font-rubic pb-3 dark:text-gray-700">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-white dark:border-gray-300 border border-gray-300 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 xl:mr-2 lg:mr-2 mr-0" type="text" placeholder="First name">
<input class="dark:bg-white dark:border-gray-300 border border-gray-300 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 xl:ml-2 lg:ml-2 ml-0" type="text" placeholder="Last name">
</div>
<div class="mt-7">
<input class="dark:bg-white dark:border-gray-300 border border-gray-300 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" type="text" placeholder="Last name">
</div>
<div class="mt-7 xl:flex xl:justify-between xl:items-center lg:flex lg:justify-between lg:items-center">
<input class="dark:bg-white dark:border-gray-300 border border-gray-300 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:w-3/6 lg:w-3/6 w-full h-12 xl:mb-0 lg:mb-0 md:mb-5 mb-5 xl:mr-2 lg:mr-2 mr-0" type="text" placeholder="Phone Number">
<select class="xl:w-3/6 lg:w-3/6 w-full text-gray-500 border border-gray-300 h-12 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:ml-2 lg:ml-2 ml-0">
<option value="">Selct Gender</option>
<option value="small">Male</option>
<option value="medium">Femal</option>
<option value="large">Other</option>
</select>
</div>
<div class="mt-7 xl:flex xl:justify-between xl:items-center lg:flex lg:justify-between lg:items-center">
<select class="xl:w-3/6 lg:w-3/6 w-full text-gray-500 border border-gray-300 h-12 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:mr-2 lg:mr-2 mr-0">
<option value="">Selct Country</option>
<option value="small">America</option>
<option value="medium">Dubai</option>
<option value="large">Canada</option>
</select>
<select class="xl:w-3/6 lg:w-3/6 w-full text-gray-500 border border-gray-300 h-12 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:ml-2 lg:ml-2 ml-0 xl:mt-0 lg:mt-0 mt-7">
<option value="">Selct City</option>
<option value="small">Damang</option>
<option value="medium">Ispiano</option>
<option value="large">Miliopans</option>
</select>
</div>
<div class="mt-7 xl:flex xl:justify-between xl:items-center lg:flex lg:justify-between lg:items-center">
<input class="dark:bg-white dark:border-gray-300 border border-gray-300 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 xl:mr-2 lg:mr-2 mr-0" type="text" placeholder="Street">
<input class="dark:bg-white dark:border-gray-300 border border-gray-300 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 xl:ml-2 lg:ml-2 ml-0" type="text" placeholder="Portal Code">
</div>
<div class="mt-7 flex justify-end items-center">
<a href="#" class="bg-yellow-300 text-white w-32 py-3 rounded-lg text-center hover:bg-yellow-400 transition duration-300 ease-in-out">Save</a>
</div>
</div>
</div>
<div id="second" class="bg-blue-50 px-8 py-10 rounded-lg">
<div class="">
<h1 class="font-semibold font-xl font-rubic pb-3 dark:text-gray-700">Account Information</h1>
<div class="xl:flex xl:justify-between xl:items-center lg:flex lg:justify-between lg:items-center">
<input class="dark:bg-white dark:border-gray-300 border border-gray-300 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 xl:mr-2 lg:mr-2 mr-0" type="text" placeholder="First name">
<input class="dark:bg-white dark:border-gray-300 border border-gray-300 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 xl:ml-2 lg:ml-2 ml-0" type="text" placeholder="Last name">
</div>
<div class="mt-7">
<input class="dark:bg-white dark:border-gray-300 border border-gray-300 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" type="text" placeholder="Last name">
</div>
<div class="mt-7 xl:flex xl:justify-between xl:items-center lg:flex lg:justify-between lg:items-center">
<input class="dark:bg-white dark:border-gray-300 border border-gray-300 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:w-3/6 lg:w-3/6 w-full h-12 xl:mb-0 lg:mb-0 md:mb-5 mb-5 xl:mr-2 lg:mr-2 mr-0" type="text" placeholder="Phone Number">
<select class="xl:w-3/6 lg:w-3/6 w-full text-gray-500 border border-gray-300 h-12 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:ml-2 lg:ml-2 ml-0">
<option value="">Selct Gender</option>
<option value="small">Male</option>
<option value="medium">Femal</option>
<option value="large">Other</option>
</select>
</div>
<div class="mt-7 xl:flex xl:justify-between xl:items-center lg:flex lg:justify-between lg:items-center">
<select class="xl:w-3/6 lg:w-3/6 w-full text-gray-500 border border-gray-300 h-12 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:mr-2 lg:mr-2 mr-0">
<option value="">Selct Country</option>
<option value="small">America</option>
<option value="medium">Dubai</option>
<option value="large">Canada</option>
</select>
<select class="xl:w-3/6 lg:w-3/6 w-full text-gray-500 border border-gray-300 h-12 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 xl:ml-2 lg:ml-2 ml-0 xl:mt-0 lg:mt-0 mt-7">
<option value="">Selct City</option>
<option value="small">Damang</option>
<option value="medium">Ispiano</option>
<option value="large">Miliopans</option>
</select>
</div>
<div class="mt-7 xl:flex xl:justify-between xl:items-center lg:flex lg:justify-between lg:items-center">
<input class="dark:bg-white dark:border-gray-300 border border-gray-300 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 xl:mr-2 lg:mr-2 mr-0" type="text" placeholder="Street">
<input class="dark:bg-white dark:border-gray-300 border border-gray-300 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 xl:ml-2 lg:ml-2 ml-0" type="text" placeholder="Portal Code">
</div>
<div class="mt-7 flex justify-end items-center">
<a href="#" class="bg-yellow-300 text-white w-32 py-3 rounded-lg text-center hover:bg-yellow-400 transition duration-300 ease-in-out">Save</a>
</div>
</div>
</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>
let tabsContainer = document.querySelector("#tabs");
let tabTogglers = tabsContainer.querySelectorAll("a");
console.log(tabTogglers);
tabTogglers.forEach(function(toggler) {
toggler.addEventListener("click", function(e) {
e.preventDefault();
let tabName = this.getAttribute("href");
let tabContents = document.querySelector("#tab-contents");
for (let i = 0; i < tabContents.children.length; i++) {
tabTogglers[i].parentElement.classList.remove("opacity-100", "bg-white","border-r-4", "border-yellow-300"); tabContents.children[i].classList.remove("hidden");
if ("#" + tabContents.children[i].id === tabName) {
continue;
}
tabContents.children[i].classList.add("hidden");
}
e.target.parentElement.classList.add("-mb-px", "opacity-100", "bg-white", "border-r-4", "border-yellow-300");
});
});
document.getElementById("default-tab").click();
</script>
<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>
</body>
</html>