-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
302 lines (302 loc) · 10.5 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
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
<!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
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Assistan+Display:wght@400;600&family=Playfair+Display:wght@400;600&display=swap"
/>
<link rel="stylesheet" href="./assets/css/style.css" />
<title>Travel app</title>
</head>
<body>
<header class="header">
<div class="header__inner">
<a data-test-id="header-logo" href="./index.html" class="header__logo">
Travel App
</a>
<nav data-test-id="header-nav" class="header__nav">
<ul class="nav-header__list">
<li class="nav-header__item" title="Bookings">
<a
data-test-id="header-bookings-link"
href="./bookings.html"
class="nav-header__inner"
>
<span class="visually-hidden">Bookings</span>
<img src="./assets/images/briefcase.svg" alt="bookings" />
</a>
</li>
<li class="nav-header__item" title="Profile">
<div
data-test-id="header-profile-nav"
class="nav-header__inner profile-nav"
tabindex="0"
>
<span class="visually-hidden">Profile</span>
<img src="./assets/images/user.svg" alt="profile" />
<ul
data-test-id="header-profile-nav-list"
class="profile-nav__list"
>
<li
data-test-id="header-profile-nav-username"
class="profile-nav__item"
>
John Doe
</li>
<li class="profile-nav__item">
<a
data-test-id="header-profile-nav-sign-out"
href="./sign-in.html"
class="profile-nav__sign-out button"
>
Sign Out
</a>
</li>
</ul>
</div>
</li>
</ul>
</nav>
</div>
</header>
<main>
<h1 class="visually-hidden">Travel App</h1>
<section class="trips-filter">
<h2 class="visually-hidden">Trips filter</h2>
<form class="trips-filter__form" autocomplete="off">
<label class="trips-filter__search input">
<span class="visually-hidden">Search by name</span>
<input
data-test-id="filter-search"
name="search"
type="search"
placeholder="search by title"
/>
</label>
<label class="select">
<span class="visually-hidden">Search by duration</span>
<select data-test-id="filter-duration" name="duration">
<option value="">duration</option>
<option value="0_x_5">< 5 days</option>
<option value="5_x_10">< 10 days</option>
<option value="10">≥ 10 days</option>
</select>
</label>
<label class="select">
<span class="visually-hidden">Search by level</span>
<select data-test-id="filter-level" name="level">
<option value="">level</option>
<option value="easy">easy</option>
<option value="moderate">moderate</option>
<option value="difficult">difficult</option>
</select>
</label>
</form>
</section>
<section class="trips">
<h2 class="visually-hidden">Trips List</h2>
<ul class="trip-list">
<li data-test-id="trip-card" class="trip-card">
<img
data-test-id="trip-card-image"
src="./assets/images/iceland.jpg"
alt="trip photo"
/>
<div class="trip-card__content">
<div class="trip-info">
<h3 data-test-id="trip-card-title" class="trip-info__title">
Iceland
</h3>
<div class="trip-info__content">
<span
data-test-id="trip-card-duration"
class="trip-info__duration"
>
<strong>15</strong> days
</span>
<span data-test-id="trip-card-level" class="trip-info__level">
easy
</span>
</div>
</div>
<div class="trip-price">
<span>Price</span>
<strong
data-test-id="trip-card-price-value"
class="trip-price__value"
>
$7000
</strong>
</div>
</div>
<a data-test-id="trip-card-link" href="./trip.html" class="button">
Discover a trip
</a>
</li>
<li data-test-id="trip-card" class="trip-card">
<img
data-test-id="trip-card-image"
src="./assets/images/iceland.jpg"
alt="trip photo"
/>
<div class="trip-card__content">
<div class="trip-info">
<h3 data-test-id="trip-card-title" class="trip-info__title">
Iceland
</h3>
<div class="trip-info__content">
<span
data-test-id="trip-card-duration"
class="trip-info__duration"
>
<strong>15</strong> days
</span>
<span data-test-id="trip-card-level" class="trip-info__level">
easy
</span>
</div>
</div>
<div class="trip-price">
<span>Price</span>
<strong
data-test-id="trip-card-price-value"
class="trip-price__value"
>
$7000
</strong>
</div>
</div>
<a data-test-id="trip-card-link" href="./trip.html" class="button">
Discover a trip
</a>
</li>
<li data-test-id="trip-card" class="trip-card">
<img
data-test-id="trip-card-image"
src="./assets/images/iceland.jpg"
alt="trip photo"
/>
<div class="trip-card__content">
<div class="trip-info">
<h3 data-test-id="trip-card-title" class="trip-info__title">
Iceland
</h3>
<div class="trip-info__content">
<span
data-test-id="trip-card-duration"
class="trip-info__duration"
>
<strong>15</strong> days
</span>
<span data-test-id="trip-card-level" class="trip-info__level">
easy
</span>
</div>
</div>
<div class="trip-price">
<span>Price</span>
<strong
data-test-id="trip-card-price-value"
class="trip-price__value"
>
$7000
</strong>
</div>
</div>
<a data-test-id="trip-card-link" href="./trip.html" class="button">
Discover a trip
</a>
</li>
<li data-test-id="trip-card" class="trip-card">
<img
data-test-id="trip-card-image"
src="./assets/images/iceland.jpg"
alt="trip photo"
/>
<div class="trip-card__content">
<div class="trip-info">
<h3 data-test-id="trip-card-title" class="trip-info__title">
Iceland
</h3>
<div class="trip-info__content">
<span
data-test-id="trip-card-duration"
class="trip-info__duration"
>
<strong>15</strong> days
</span>
<span data-test-id="trip-card-level" class="trip-info__level">
easy
</span>
</div>
</div>
<div class="trip-price">
<span>Price</span>
<strong
data-test-id="trip-card-price-value"
class="trip-price__value"
>
$7000
</strong>
</div>
</div>
<a data-test-id="trip-card-link" href="./trip.html" class="button">
Discover a trip
</a>
</li>
<li data-test-id="trip-card" class="trip-card">
<img
data-test-id="trip-card-image"
src="./assets/images/iceland.jpg"
alt="trip photo"
/>
<div class="trip-card__content">
<div class="trip-info">
<h3 data-test-id="trip-card-title" class="trip-info__title">
Iceland
</h3>
<div class="trip-info__content">
<span
data-test-id="trip-card-duration"
class="trip-info__duration"
>
<strong>15</strong> days
</span>
<span data-test-id="trip-card-level" class="trip-info__level">
easy
</span>
</div>
</div>
<div class="trip-price">
<span>Price</span>
<strong
data-test-id="trip-card-price-value"
class="trip-price__value"
>
$7000
</strong>
</div>
</div>
<a data-test-id="trip-card-link" href="./trip.html" class="button">
Discover a trip
</a>
</li>
</ul>
</section>
</main>
<footer class="footer">
<span class="footer__text">
© 2024, from
<a class="footer__link" href="https://binary-studio.com">
binary studio
</a>
with
<img class="footer__icon" src="./assets/images/heart.svg" alt="heart" />
</span>
</footer>
</body>
</html>