-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
222 lines (199 loc) · 11 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" type="image/png" href="img/favicon.png">
<title>trillo — Your all-in-one booking app</title>
</head>
<body>
<div class="container">
<header class="header">
<img src="img/logo.png" alt="trillo logo" class="logo">
<form action="#" class="search">
<input type="text" class="search__input" placeholder="Search hotels">
<button class="search__button">
<svg class="search__icon">
<use xlink:href="img/sprite.svg#icon-magnifying-glass"></use>
</svg>
</button>
</form>
<nav class="user-nav">
<div class="user-nav__icon-box">
<svg class="user-nav__icon">
<use xlink:href="img/sprite.svg#icon-bookmark"></use>
</svg>
<span class="user-nav__notification">7</span>
</div>
<div class="user-nav__icon-box">
<svg class="user-nav__icon">
<use xlink:href="img/sprite.svg#icon-chat"></use>
</svg>
<span class="user-nav__notification">13</span>
</div>
<div class="user-nav__user">
<img src="img/user.jpg" alt="user photo" class="user-nav__user-photo">
<span class="user-nav__user-name">Utkarsh</span>
</div>
</nav>
</header>
<div class="content">
<nav class="sidebar">
<ul class="side-nav">
<li class="side-nav__item side-nav__item--active">
<a href="#" class="side-nav__link">
<svg class="side-nav__icon">
<use xlink:href="img/sprite.svg#icon-home"></use>
</svg>
<span>Hotel</span>
</a>
</li>
<li class="side-nav__item">
<a href="#" class="side-nav__link">
<svg class="side-nav__icon">
<use xlink:href="img/sprite.svg#icon-aircraft-take-off"></use>
</svg>
<span>Flight</span>
</a>
</li>
<li class="side-nav__item">
<a href="#" class="side-nav__link">
<svg class="side-nav__icon">
<use xlink:href="img/sprite.svg#icon-key"></use>
</svg>
<span>Car rentals</span>
</a>
</li>
<li class="side-nav__item">
<a href="#" class="side-nav__link">
<svg class="side-nav__icon">
<use xlink:href="img/sprite.svg#icon-map"></use>
</svg>
<span>Tours</span>
</a>
</li>
</ul>
<div class="legal">
© 2023 by Trillo. All rights reserved.
</div>
</nav>
<main class="hotel-view">
<div class="gallery">
<figure class="gallery__item">
<img src="img/hotel-1.jpg" alt="Photo of Hotel 1" class="gallery__photo">
</figure>
<figure class="gallery__item">
<img src="img/hotel-2.jpg" alt="Photo of Hotel 2" class="gallery__photo">
</figure>
<figure class="gallery__item">
<img src="img/hotel-3.jpg" alt="Photo of Hotel 3" class="gallery__photo">
</figure>
</div>
<div class="overview">
<h1 class="overview__heading">
Hotel Las Palmas
</h1>
<div class="overview__stars">
<svg class="overview__icon-star">
<use xlink:href="img/sprite.svg#icon-star"></use>
</svg>
<svg class="overview__icon-star">
<use xlink:href="img/sprite.svg#icon-star"></use>
</svg>
<svg class="overview__icon-star">
<use xlink:href="img/sprite.svg#icon-star"></use>
</svg>
<svg class="overview__icon-star">
<use xlink:href="img/sprite.svg#icon-star"></use>
</svg>
<svg class="overview__icon-star">
<use xlink:href="img/sprite.svg#icon-star"></use>
</svg>
</div>
<div class="overview__location">
<svg class="overview__icon-location">
<use xlink:href="img/sprite.svg#icon-location-pin"></use>
</svg>
<button class="btn-inline">Madrid, Spain</button>
</div>
<div class="overview__rating">
<div class="overview__rating-average">8.6</div>
<div class="overview__rating-count">478 votes</div>
</div>
</div>
<div class="detail">
<div class="description">
<p class="paragraph">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Animi nisi dignissimos debitis ratione sapiente saepe. Accusantium cumque, quas, ut corporis incidunt deserunt quae architecto voluptate.
</p>
<p class="paragraph">
Accusantium cumque, quas, ut corporis incidunt deserunt quae architecto voluptate delectus, inventore iure aliquid aliquam.
</p>
<ul class="list">
<li class="list__item">Close to the beach</li>
<li class="list__item">Breakfast included</li>
<li class="list__item">Free airport shuttle</li>
<li class="list__item">Free wifi in all rooms</li>
<li class="list__item">Air conditioning and heating</li>
<li class="list__item">Pets allowed</li>
<li class="list__item">We speak all languages</li>
<li class="list__item">Perfect for families</li>
</ul>
<div class="recommend">
<p class="recommend__count">
Lucy and 3 other friends recommend this hotel.
</p>
<div class="recommend__friends">
<img src="img/user-3.jpg" alt="Friend 3" class="recommend__photo">
<img src="img/user-4.jpg" alt="Friend 4" class="recommend__photo">
<img src="img/user-5.jpg" alt="Friend 5" class="recommend__photo">
<img src="img/user-6.jpg" alt="Friend 6" class="recommend__photo">
</div>
</div>
</div>
<div class="user-reviews">
<figure class="review">
<blockquote class="review__text">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga doloremque architecto dicta animi, totam, itaque officia ex.
</blockquote>
<figcaption class="review__user">
<img src="img/user-1.jpg" alt="User 1" class="review__photo">
<div class="review__user-box">
<p class="review__user-name">Nick Smith</p>
<p class="review__user-date">Feb 23rd, 2023</p>
</div>
<div class="review__rating">7.8</div>
</figcaption>
</figure>
<figure class="review">
<blockquote class="review__text">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga doloremque architecto dicta animi.
</blockquote>
<figcaption class="review__user">
<img src="img/user-2.jpg" alt="User 2" class="review__photo">
<div class="review__user-box">
<p class="review__user-name">Mary Jackson</p>
<p class="review__user-date">Sep 13th, 2023</p>
</div>
<div class="review__rating">9.1</div>
</figcaption>
</figure>
<button class="btn-inline">Show all <span>→</span></button>
</div>
</div>
<div class="cta">
<h2 class="cta__book-now">
Good news! We have 4 free rooms for your selected dates!
</h2>
<button class="btn">
<span class="btn__visible">Book Now</span>
<span class="btn__invisible">Only 4 rooms left</span>
</button>
</div>
</main>
</div>
</div>
</body>
</html>