-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
227 lines (206 loc) · 10.6 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
<!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="css/main.css">
<link rel="shortcut icon" href="img/favicon.png" type="image/png">
<title>Trillo — All-in-one booking app</title>
</head>
<body>
<div class="container">
<!-- Header Section -->
<header class="header">
<a href="#" class="logo">Trillo</a>
<form action="#" class="search">
<input type="text" placeholder="Search hotels" class="search__input">
<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">3</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">11</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">Mohasin</span>
</div>
</nav>
</header>
<div class="content">
<!-- Sidebar Nav section -->
<nav class="sidebar">
<ul class="sidebar-nav">
<li class="sidebar-nav__item sidebar-nav__item--active">
<a href="#" class="sidebar-nav__link">
<svg class="sidebar-nav__icon">
<use xlink:href="img/sprite.svg#icon-home"></use>
</svg>
<span class="sidebar-nav__name">Hotel</span>
</a>
</li>
<li class="sidebar-nav__item">
<a href="#" class="sidebar-nav__link">
<svg class="sidebar-nav__icon">
<use xlink:href="img/sprite.svg#icon-aircraft-take-off"></use>
</svg>
<span class="sidebar-nav__name">Flight</span>
</a>
</li>
<li class="sidebar-nav__item">
<a href="#" class="sidebar-nav__link">
<svg class="sidebar-nav__icon">
<use xlink:href="img/sprite.svg#icon-key"></use>
</svg>
<span class="sidebar-nav__name">Car rental</span>
</a>
</li>
<li class="sidebar-nav__item">
<a href="#" class="sidebar-nav__link">
<svg class="sidebar-nav__icon">
<use xlink:href="img/sprite.svg#icon-map"></use>
</svg>
<span class="sidebar-nav__name">Tours</span>
</a>
</li>
</ul>
<div class="legal">
© 2021 by Trillo, All rights reserved.
</div>
</nav>
<!-- Main hotel view section -->
<main class="hotel-view">
<!-- Photo Gallery -->
<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>
<!-- Hotel Overview -->
<div class="overview">
<h1 class="overview__heading">
Hotel Las Palmas
</h1>
<div class="overview__stars">
<svg class="overview__stars-icon">
<use xlink:href="img/sprite.svg#icon-star"></use>
</svg>
<svg class="overview__stars-icon">
<use xlink:href="img/sprite.svg#icon-star"></use>
</svg>
<svg class="overview__stars-icon">
<use xlink:href="img/sprite.svg#icon-star"></use>
</svg>
<svg class="overview__stars-icon">
<use xlink:href="img/sprite.svg#icon-star"></use>
</svg>
<svg class="overview__stars-icon">
<use xlink:href="img/sprite.svg#icon-star"></use>
</svg>
</div>
<div class="overview__location">
<svg class="overview__location-icon">
<use xlink:href="img/sprite.svg#icon-location-pin"></use>
</svg>
<button class="btn-inline">Albuferia, Portugal</button>
</div>
<div class="overview__rating">
<span class="overview__rating-average">8.7</span>
<span class="overview__rating-count">420 votes</span>
</div>
</div>
<!-- Hotel Details section -->
<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 inlcuded</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</li>
<li class="list__item">Pets allowed</li>
<li class="list__item">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="user 1" class="recommend__photo">
<img src="img/user-4.jpg" alt="user 2" class="recommend__photo">
<img src="img/user-5.jpg" alt="user 3" class="recommend__photo">
<img src="img/user-6.jpg" alt="user 4" class="recommend__photo">
</div>
</div>
</div>
<!-- User-Reviews Section -->
<div class="user-reviews">
<figure class="review">
<blockquote class="review__text">
Lorem ipsum dolor sit amet the elf adipisicing elit. Aliquam voluptatibus, quisquam ex corporis iste officia.
</blockquote>
<figcaption class="review__user">
<img src="img/user-1.jpg" alt="User 1" class="review__user-photo">
<div class="review__user-box">
<p class="review__user-name">Nick Smith</p>
<p class="review__user-date">Feb 23rd, 2021</p>
</div>
<div class="review__rating">8.8</div>
</figcaption>
</figure>
<figure class="review">
<blockquote class="review__text">
Lorem ipsum dolor sit amet the elf adipisicing elit. Aliquam voluptatibus, quisquam ex corporis iste officia.
</blockquote>
<figcaption class="review__user">
<img src="img/user-2.jpg" alt="User 2" class="review__user-photo">
<div class="review__user-box">
<p class="review__user-name">Marry Thomas</p>
<p class="review__user-date">Sept 13th, 2021</p>
</div>
<div class="review__rating">8.9</div>
</figcaption>
</figure>
<button class="btn-inline">See all <span>→</span></button>
</div>
</div>
<!-- Call to action button -->
<div class="cta">
<h1 class="cta__book-now">
Good news! we have 4 free rooms for your selected dates!
</h1>
<button class="btn">
<span class="btn__visible">Book now</span>
<span class="btn__invisible">only 4 rooms left</span>
</button>
</div>
</main>
</div>
</body>
</html>