-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
132 lines (126 loc) · 4.36 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
132
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Les petits plats</title>
<link
href="https://fonts.googleapis.com/css?family=DM+Sans&display=swap"
rel="stylesheet"
/>
<link
href="https://necolas.github.io/normalize.css/8.0.1/normalize.css"
rel="stylesheet"
/>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css"
/>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<main>
<!-- entete -->
<header class="header-page">
<img
class="logo"
src="assets/logo/logo.png"
alt="logo les petits plats"
/>
<div class="input-group">
<input
type="search"
class="form-control main-search"
placeholder="Rechercher une recette"
aria-label="Rechercher une recette"
aria-describedby="btnGroupAddon"
/>
<span class="input-group-text" id="btnGroupAddon">
<i class="bi bi-search"></i>
</span>
</div>
</header>
<!-- filters -->
<div class="filter">
<!-- tags -->
<div class="tags"></div>
<div class="filters">
<!-- filter by ingredient -->
<div class="ingredient">
<div class="dropdown-wrapper">
<input type="checkbox" class="dropdown-chk" id="check1" />
<label for="check1" class="dropdown-label">Ingrédients</label>
<input
type="search"
class="search"
placeholder="Rechercher un ingredient"
/>
<div class="chevrons">
<i class="bi bi-chevron-up"></i>
<i class="bi bi-chevron-down"></i>
</div>
<ul class="dropdown-ul"></ul>
</div>
</div>
<!-- filter by appliance -->
<div class="appliance">
<div class="dropdown-wrapper">
<input type="checkbox" class="dropdown-chk" id="check2" />
<label for="check2" class="dropdown-label">Appareils</label>
<input
type="search"
class="search"
placeholder="Rechercher un appareil"
/>
<div class="chevrons">
<i class="bi bi-chevron-up"></i>
<i class="bi bi-chevron-down"></i>
</div>
<ul class="dropdown-ul"></ul>
</div>
</div>
<!-- filter by ustensil -->
<div class="utensil">
<div class="dropdown-wrapper">
<input type="checkbox" class="dropdown-chk" id="check3" />
<label for="check3" class="dropdown-label">Ustensils</label>
<input
type="search"
class="search"
placeholder="Rechercher un ustensil"
/>
<div class="chevrons">
<i class="bi bi-chevron-up"></i>
<i class="bi bi-chevron-down"></i>
</div>
<ul class="dropdown-ul"></ul>
</div>
</div>
</div>
</div>
<!-- recipe cards -->
<div class="recipe-cards">
<div class="no-recipes">
<p>Aucune recette ne correspond à vos critères de recherche</p>
</div>
<div class="row row-cols-1 row-cols-md-3 g-4 row-card"></div>
</div>
</main>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="data/recipes.js"></script>
<script src="js/factories/recipesSection.js"></script>
<script src="js/utils/recipesSection.js"></script>
<script src="js/factories/tagButton.js"></script>
<script src="js/components/dropdowns.js"></script>
<script src="js/utils/dropdowns.js"></script>
<script src="js/utils/ingredients.js"></script>
<script src="js/utils/appliances.js"></script>
<script src="js/utils/utensils.js"></script>
<script src="js/utils/search.js"></script>
<script src="js/index.js"></script>
</body>
</html>