-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
107 lines (106 loc) · 3.35 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
</head>
<body class="bg-stone-200 flex flex-col">
<section
id="carrinho"
class="fixed top-0 right-[-360px] bg-slate-950 h-screen w-[360px] text-slate-200 z-50 border-t-4 border-l-4 border-slate-200 duration-200 p-5 flex flex-col justify-between"
>
<div id="cabecalho-carrinho" class="flex justify-between m-4">
<p>Meu carrinho</p>
<button id="fechar-carrinho">
<i class="fa-solid fa-circle-xmark"></i>
</button>
</div>
<section
id="produtos-carrinho"
class="h-3/5 overflow-y-auto flex flex-col gap-2"
>
</section>
<p
id="preco-total"
class="bg-slate-200 text-green-800 rounded-sm pl-5"> R$200,00</p>
<button
id="direcionar-checkout"
class="bg-slate-200 text-slate-900 p-1 hover:bg-slate-900 hover:text-slate-200">Finalizar Compra</button>
</section>
<header class="flex text-xl bg-slate-950 shadow-xl shadow-slate-400 px-8 py-4 justify-between sticky top-0 z-10">
<a href="./">
<img
class="h-16"
src="./assets/logo/hashtag.svg"
alt="Logo do Magazine HashTag"
/>
</a>
<div class="text-slate-200 flex gap-2 items-end mx-2">
<button id="abrir-carrinho" class="mx-2"><i class="fa-solid fa-cart-shopping"></i></button>
<a href="./pedidos.html">
<button class="mr-2"><i class="fa-solid fa-user"></i></button>
</a>
</div>
</header>
<main
class="flex flex-col items-center"
>
<section
id="filtros"
class="pt-10 flex"
>
<div class="px-2">
<input
id="exibir-todos"
type="radio"
name="filtro"
class="peer hidden"
checked
>
<label
for="exibir-todos"
class="peer-checked:bg-slate-950 peer-checked:text-slate-200 peer-checked:font-bold p-2 rounded-xl select-none cursor-pointer"
>Todos</label>
</div>
<div class="px-2">
<input
id="exibir-masculinos"
type="radio"
name="filtro"
class="peer hidden"
>
<label
for="exibir-masculinos"
class="peer-checked:bg-slate-950 peer-checked:text-slate-200 peer-checked:font-bold p-2 rounded-xl select-none cursor-pointer"
>Masculinos</label>
</div>
<div class="px-2">
<input
id="exibir-femininos"
type="radio"
name="filtro"
class="peer hidden"
>
<label
for="exibir-femininos"
class="peer-checked:bg-slate-950 peer-checked:text-slate-200 peer-checked:font-bold p-2 rounded-xl select-none cursor-pointer"
>Femininos</label>
</div>
</section>
<section
id="container-produto"
class="flex flex-wrap p-10 justify-center gap-10"
>
</section>
</main>
<script type="module" src="./main.js"></script>
</body>
</html>