-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
131 lines (126 loc) · 4.59 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html>
<html lang="en">
<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" />
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css"
/>
<link rel="stylesheet" href="./style.css" />
<title>Document</title>
</head>
<body>
<header class="container">
<!-- menu -->
<nav class="navbar navbar-light bg-white">
<div class="d-flex flex-column w-100 m-0 pt-5">
<img
src="./assets/logo.svg"
alt="logo"
width="250"
style="margin: 0 auto"
/>
<!-- Search -->
<form class="d-flex mt-4 w-100 search-form">
<input
role="search"
id="search"
class="form-control p-3 w-100"
type="search"
placeholder="Search"
aria-label="Search"
/>
<i class="bi bi-search search-icon"></i>
</form>
</div>
</nav>
</header>
<main>
<section class="container" id="section-filters-active"></section>
<section class="container" id="section-filters-options">
<div class="d-block-flex d-md-inline-flex">
<div class="dropdown me-4 my-4 col-12 col-md-3 col-lg-auto">
<i class="bi bi-chevron-down arrow"></i>
<input
role="search"
id="filter-input-ingredients"
type="text"
class="form-control btn fs-5 btn-primary filter-btn text-white text-start dropdown-toggle form-input w-100"
placeholder="Search in ingredients list"
aria-label="Username"
data-bs-toggle="dropdown"
aria-expanded="false"
value="Ingredients"
/>
<ul class="dropdown-menu filter-box-primary">
<li
id="filters-options-ingredients"
class="d-flex flex-column flex-md-row"
></li>
</ul>
</div>
<div class="dropdown me-4 my-4 col-12 col-md-3 col-lg-auto">
<i class="bi bi-chevron-down arrow"></i>
<input
role="search"
id="filter-input-devices"
type="text"
class="form-control btn fs-5 btn-success btn-filter-success filter-btn text-white text-start dropdown-toggle form-input w-100"
placeholder="Search in devices list"
aria-label="Username"
data-bs-toggle="dropdown"
aria-expanded="false"
value="Devices"
/>
<ul class="dropdown-menu filter-box-success">
<li
id="filters-options-devices"
class="d-flex flex-column flex-md-row"
></li>
</ul>
</div>
<div class="dropdown me-4 my-4 col-12 col-md-3 col-lg-auto">
<i class="bi bi-chevron-down arrow"></i>
<input
role="search"
id="filter-input-ustensils"
type="text"
class="form-control btn fs-5 btn-danger filter-btn text-white text-start dropdown-toggle form-input w-100"
placeholder="Search in ingredients list"
aria-label="Username"
data-bs-toggle="dropdown"
aria-expanded="false"
value="Ustensils"
/>
<ul class="dropdown-menu filter-box-danger">
<li
id="filters-options-ustensils"
class="d-flex flex-column flex-md-row"
></li>
</ul>
</div>
</div>
</section>
<section class="container my-4">
<div id="cards" class="row g-5"></div>
</section>
</main>
<script src="./scripts/index.js" type="module"></script>
<script src="./scripts/filterBtns.js" type="module"></script>
<script src="./scripts/handleInput.js" type="module"></script>
<script src="./scripts/cards.js" type="module"></script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"
></script>
</body>
</html>