-
Notifications
You must be signed in to change notification settings - Fork 3
/
search.html
323 lines (301 loc) · 18.8 KB
/
search.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
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Red-queen</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" rel="stylesheet" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:[email protected]" rel="stylesheet">
<link href="assets/css/red-queen.css" rel="stylesheet">
</head>
<body>
<div class="toast-container position-fixed top-0 end-0 p-3">
<div id="cartToast" class="toast align-items-center text-bg-primary border-0" role="alert" aria-atomic="true" data-bs-autohide="false">
<div class="d-flex">
<div class="toast-body">
<i class="bi bi-bag-fill" role="img"></i>
Un article à été ajouté au panier
</div>
<button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast" aria-label="Fermer la notification du panier"></button>
</div>
</div>
<div id="favToast" class="toast align-items-center text-bg-primary border-0" role="alert" aria-atomic="true" data-bs-autohide="false">
<div class="d-flex">
<div class="toast-body">
<i class="bi bi-heart-fill" role="img"></i>
Un article à été ajouté aux favoris
</div>
<button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast" aria-label="Fermer la notification des favoris"></button>
</div>
</div>
</div>
<header role="banner">
<nav role="navigation" class="container skippy visually-hidden-focusable overflow-hidden" aria-label="Liens d'évitement">
<ul class="nav list-unstyled">
<li class="nav-item"><a class="nav-link" href="#">Aller au menu principal</a></li>
<li class="nav-item"><a class="nav-link" href="#">Aller au contenu</a></li>
</ul>
</nav>
<nav role="navigation" class="navbar navbar-expand-sm bg-light border-top" aria-label="Choix de langue et devise">
<div class="container justify-content-end">
<ul class="nav">
<li class="dropdown">
<a class="btn btn-secondary btn-sm dropdown-toggle mx-2" href="#" aria-current="true" role="button" data-bs-toggle="dropdown" aria-label="Version Française">Fr</a>
<ul class="dropdown-menu dropdown-menu-end">
<li><a class="dropdown-item" href="#" lang="en" hreflang="en" aria-label="English version">En</a></li>
</ul>
</li>
<li class="dropdown">
<a class="btn btn-secondary btn-sm dropdown-toggle ms-1" href="#" aria-current="true" role="button" data-bs-toggle="dropdown" aria-label="Afficher les prix en Euro"><abbr title="Euro">EUR</abbr></a>
<ul class="dropdown-menu dropdown-menu-end">
<li><a class="dropdown-item" href="#" lang="en" hreflang="en" aria-label="Afficher les prix en Great Britain Pound"><abbr lang="en" title="Great Britain Pound">GBP</abbr></a></li>
<li><a class="dropdown-item" href="#" lang="en" hreflang="en" aria-label="Afficher les prix en United States Dollar"><abbr lang="en" title="United States Dollar">USD</abbr></a></li>
<li><a class="dropdown-item" href="#" lang="en" hreflang="en" aria-label="Afficher les prix en Canadian Dollar"><abbr lang="en" title="Canadian Dollar">CAD</abbr></a></li>
</ul>
</li>
</ul>
<a class="nav-link" display:none href="https://christopherabate.github.io/a11yce/search.html">
<img src="assets/images/accessibility.png" aria-label="redirection vers le site de démo A11yce - recherche" title="Redirection vers le site de démo A11yce - recherche" role="img"/>
</a>
</div>
</nav>
<nav role="navigation" class="navbar navbar-expand-lg py-3" aria-label="Navigation principale">
<div class="container">
<a class="navbar-brand fs-1 fw-lighter" href="./" style="font-family: 'Montserrat', sans-serif;"><span class="fw-bold">R</span>ed-Q<span class="fw-bold">u</span>ee<span class="fw-bold">n</span></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#main-nav" aria-controls="main-nav" aria-label="Menu de navigation principale">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="main-nav">
<ul class="navbar-nav me-auto">
<li class="nav-item dropdown position-static">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" >La boutique</a>
<div class="dropdown-menu w-100 mt-0 border-0 rounded-0 pb-2 text-bg-light">
<div class="container">
<div class="row row-cols-1">
<div class="col mb-3">
<p class="fw-bold text-uppercase fs-6">Catégories</p>
<ul class="nav flex-column">
<li>
<a href="#">Femme</a>
</li>
<li>
<a href="#">Homme</a>
</li>
<li>
<a href="#">Accessoires</a>
</li>
<li>
<a href="#">Nouveautés</a>
</li>
<li>
<a href="#">Tendances</a>
</li>
</ul>
</div>
<div class="col mb-3">
<p class="fw-bold text-uppercase fs-6">Newsletter</p>
<p>Inscrivez-vous à notre newsletter et recevez une réduction de 10% sur votre première commande.</p>
<form>
<div class="input-group mb-3">
<div class="form-floating">
<input type="email" class="form-control" id="newsletter" required="required" placeholder="[email protected]">
<label for="newsletter">Adresse email</label>
</div>
<button class="btn btn-dark" type="submit">S'inscrire <span class="visually-hidden">à la newsletter</span></button>
</div>
</form>
</div>
</div>
</div>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Soldes</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Contact</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Le blog</a>
</li>
</ul>
<ul class="navbar-text flex-shrink list-inline mb-0">
<li class="list-inline-item">
<a href="search.html" aria-current="page"><i class="bi bi-search" role="img" aria-label="Rechercher"></i></a>
</li>
<li class="list-inline-item">
<a href="#"><i class="bi bi-person" role="img" aria-label="Mon compte"></i></a>
</li>
<li class="list-inline-item">
<a href="#" class="position-relative">
<i class="bi bi-heart text-danger" role="img" aria-label="Mes favoris"></i>
<span class="position-absolute top-0 start-100 translate-middle badge rounded-pill text-bg-dark">0 <span class="visually-hidden">articles favoris</span></span>
</a>
</li>
<li class="list-inline-item">
<a href="cart.html" class="position-relative">
<i class="bi bi-bag text-warning" role="img" aria-label="Mon panier"></i>
<span class="position-absolute top-0 start-100 translate-middle badge rounded-pill text-bg-dark">3 <span class="visually-hidden">articles dans le panier</span></span>
</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main role="main">
<div class="container py-5">
<form action="search.html" class="d-flex">
<input name="q" id="q" class="form-control" type="search" placeholder="Rechercher" aria-label="Rechercher">
<button type="submit" class="btn"><i class="bi bi-search" aria-hidden="true"></i><span class="visually-hidden">Rechercher</span></button>
</form>
</div>
<div class="container py-2" id="h_search">
<h1 class="fw-bold text-uppercase">Recherchez</h1>
<p>Un produit dans notre boutique</p>
<div class="col d-none">
<div class="row row-cols-1 row-cols-sm-2 g-3">
<div class="col">
<div class="card h-100 border-0">
<div class="position-relative">
<a href="#" class="stretched-link" aria-label="Sac cuir caramel 63€ au lieu de 70€"><img src="assets/images/product-bag-1.jpg" class="card-img-top" alt=""></a>
<div class="card-img-overlay">
<ul class="list-unstyled position-absolute top-0 end-0 m-3">
<li><span class="badge rounded-pill text-bg-primary">Nouveau <span class="visually-hidden">produit</span></span></li>
<li><span class="badge rounded-pill text-bg-warning">-10% <span class="visually-hidden">de réduction</span></span></li>
</ul>
<div class="position-absolute top-50 start-50 translate-middle">
<button type="button" class="btn btn-outline-dark fav-toast"><i class="bi bi-heart-fill" aria-hidden="true"></i><span class="visually-hidden">Ajouter Sac cuir caramel aux favoris</span></button>
<button type="button" class="btn btn-outline-dark cart-toast"><i class="bi bi-bag-fill" aria-hidden="true"></i><span class="visually-hidden">Ajouter Sac cuir caramel au panier</span></button>
</div>
</div>
</div>
<p class="fw-bold">
<small class="d-block product-name text-uppercase">Sac cuir caramel <span class="visually-hidden">63€ au lieu de 70€</span></small>
<span class="d-block product-price" aria-hidden="true"><s class="fw-normal">70€</s> 63€</span>
</p>
</div>
</div>
<div class="col">
<div class="card h-100 border-0">
<div class="position-relative">
<a href="#" class="stretched-link" aria-label="Sac cuir rouge 70€"><img src="assets/images/product-bag-2.jpg" class="card-img-top" alt=""></a>
<div class="card-img-overlay">
<ul class="list-unstyled position-absolute top-0 end-0 m-3">
<li><span class="badge rounded-pill text-bg-primary">Nouveau <span class="visually-hidden">produit</span></span></li>
</ul>
<div class="position-absolute top-50 start-50 translate-middle">
<button type="button" class="btn btn-outline-dark fav-toast"><i class="bi bi-heart-fill" aria-hidden="true"></i><span class="visually-hidden">Ajouter Sac cuir rouge aux favoris</span></button>
<button type="button" class="btn btn-outline-dark cart-toast"><i class="bi bi-bag-fill" aria-hidden="true"></i><span class="visually-hidden">Ajouter Sac cuir rouge au panier</span></button>
</div>
</div>
</div>
<p class="fw-bold">
<small class="d-block product-name text-uppercase">Sac cuir rouge <span class="visually-hidden">70€</span></small>
<span class="d-block product-price" aria-hidden="true">70€</span>
</p>
</div>
</div>
<div class="col">
<div class="card h-100 border-0">
<div class="position-relative">
<a href="#" class="stretched-link" aria-label="Sac cuir noir 70€"><img src="assets/images/product-bag-3.jpg" class="card-img-top" alt=""></a>
<div class="card-img-overlay">
<ul class="list-unstyled position-absolute top-0 end-0 m-3">
<li><span class="badge rounded-pill text-bg-primary">Nouveau <span class="visually-hidden">produit</span></span></li>
</ul>
<div class="position-absolute top-50 start-50 translate-middle">
<button type="button" class="btn btn-outline-dark fav-toast"><i class="bi bi-heart-fill" aria-hidden="true"></i><span class="visually-hidden">Ajouter Sac cuir noir aux favoris</span></button>
<button type="button" class="btn btn-outline-dark cart-toast"><i class="bi bi-bag-fill" aria-hidden="true"></i><span class="visually-hidden">Ajouter Sac cuir noir au panier</span></button>
</div>
</div>
</div>
<p class="fw-bold">
<small class="d-block product-name text-uppercase">Sac cuir noir <span class="visually-hidden">70€</span></small>
<span class="d-block product-price" aria-hidden="true">70€</span>
</p>
</div>
</div>
<div class="col">
<div class="card h-100 border-0">
<div class="position-relative">
<a href="#" class="stretched-link" aria-label="Sac cuir marron 63€ au lieu de 70€"><img src="assets/images/product-bag-4.jpg" class="card-img-top" alt=""></a>
<div class="card-img-overlay">
<ul class="list-unstyled position-absolute top-0 end-0 m-3">
<li><span class="badge rounded-pill text-bg-primary">Nouveau <span class="visually-hidden">produit</span></span></li>
<li><span class="badge rounded-pill text-bg-warning">-10% <span class="visually-hidden">de réduction</span></span></li>
</ul>
<div class="position-absolute top-50 start-50 translate-middle">
<button type="button" class="btn btn-outline-dark fav-toast"><i class="bi bi-heart-fill" aria-hidden="true"></i><span class="visually-hidden">Ajouter Sac cuir marron aux favoris</span></button>
<button type="button" class="btn btn-outline-dark cart-toast"><i class="bi bi-bag-fill" aria-hidden="true"></i><span class="visually-hidden">Ajouter Sac cuir marron au panier</span></button>
</div>
</div>
</div>
<p class="fw-bold">
<small class="d-block product-name text-uppercase">Sac cuir marron <span class="visually-hidden">63€ au lieu de 70€</span></small>
<span class="d-block product-price" aria-hidden="true"><s class="fw-normal">70€</s> 63€</span>
</p>
</div>
</div>
</div>
</div>
</div>
</main>
<footer class="border-top" role="contentinfo">
<div class="bg-light">
<div class="container py-5">
<h2 class="visually-hidden">Pied de page</h2>
<div class="row row-cols-1 row-cols-lg-4">
<div class="col mb-3">
<p class="fs-3 fw-lighter" style="font-family: 'Montserrat', sans-serif;"><span class="fw-bold">R</span>ed-Q<span class="fw-bold">u</span>ee<span class="fw-bold">n</span></p>
<p>Cette boutique est factice et sert de support à des tests d'accessibilité numérique.</p>
<ul class="nav list-unstyled">
<li class="me-3"><a href="#"><i class="bi bi-twitter" role="img" aria-label="Twitterr"></i></a></li>
<li class="me-3"><a href="#"><i class="bi bi-instagram" role="img" aria-label="Instagram"></i></a></li>
<li class="me-3"><a href="#"><i class="bi bi-facebook" role="img" aria-label="Facebook"></i></a></li>
</ul>
</div>
<div class="col mb-3 order-1">
<h3 class="fw-bold text-uppercase fs-6">Catégories</h3>
<div class="nav flex-column">
<a href="#">Femme</a>
<a href="#">Homme</a>
<a href="#">Accessoires</a>
<a href="#">Nouveautés</a>
<a href="#">Tendances</a>
</div>
</div>
<div class="col mb-3 order-3">
<h3 class="fw-bold text-uppercase fs-6">Informations pratiques</h3>
<div class="nav flex-column">
<a href="#">Qui sommes-nous ?</a>
<a href="#">Conditions générales de ventes</a>
<a href="#">Livraison</a>
<a href="#"><abbr title="Foire Aux Questions">FAQ</abbr></a>
<a href="#">Blog</a>
<a href="#">Nous contacter</a>
</div>
</div>
<div class="col mb-3 order-2">
<h3 class="fw-bold text-uppercase fs-6">Newsletter</h3>
<span>Inscrivez-vous à notre newsletter et recevez une réduction de 10% sur votre première commande.</span>
<form>
<div class="input-group mb-3">
<div class="form-floating">
<input type="email" class="form-control" id="newsletter" required="required" placeholder="[email protected]">
<label for="newsletter">Adresse email</label>
</div>
<button class="btn btn-dark" type="submit">S'inscrire <span>à la newsletter</span></button>
</div>
</form>
</div>
</div>
</div>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>
<script src="assets/js/toast.js"></script>
<script src="assets/js/search.js"></script>
</body>
</html>