-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
190 lines (181 loc) · 7.28 KB
/
index.php
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
<!doctype html>
<html lang="en">
<?php
include_once __DIR__ . "/../../dui/_index.php";
Head('trillo')
->meta(author: "enginoobz", description: "landing page for trillo")
->css('css/main.css')
->show();
?>
<body class="neu-style fcustom-bg">
<!-- <div class="display-table">
<div class="display-content ">
<section class="container">
</section>
</div>
</div> -->
<div class="content-container">
<!-- HEADER -->
<header class="header">
<img src="img/logo.png" alt="trillo logo" class="logo">
<!-- TODO - DUI: Input component for Material/Flat style -->
<!-- Flexbox -->
<form action="javascript:'" class="input-wrapper search-box">
<input type="text" class="input__field" placeholder="Search hotels">
<button class="input__btn">
<svg class="input__icon">
<use 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 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 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__username">enginoobz</span>
</div>
</nav>
</header>
<div class="content">
<!-- SIDEBAR -->
<?php
$sprite = "img/sprite.svg";
Sidebar()
->Item(label: "Hotel", icon: "$sprite#icon-home", isActive: true)
->Item(label: "Flight", icon: "$sprite#icon-aircraft-take-off")
->Item(label: "Car rental", icon: "$sprite#icon-key")
->Item(label: "Tours", icon: "$sprite#icon-map")
->show();
?>
<!-- MAIN CONTENT -->
<main class="hotel-view">
<!-- 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>
<!-- OVERVIEW -->
<div class="overview">
<h1 class="overview__heading">
Hotel Las Palmas
</h1>
<div class="overview__stars">
<svg class="overview__icon-star">
<use href="img/sprite.svg#icon-star"></use>
</svg>
<svg class="overview__icon-star">
<use href="img/sprite.svg#icon-star"></use>
</svg>
<svg class="overview__icon-star">
<use href="img/sprite.svg#icon-star"></use>
</svg>
<svg class="overview__icon-star">
<use href="img/sprite.svg#icon-star"></use>
</svg>
</div>
<div class="overview__location">
<svg class="overview__icon-location">
<use href="img/sprite.svg#icon-location-pin"></use>
</svg>
<button class="btn-inline">Albufeira, Portugal</button>
</div>
<div class="overview__rating">
<div class="overview__rating-average">6.9</div>
<div class="overview__rating-count">429 views</div>
</div>
</div>
<div class="detail">
<!-- DESCRIPTION -->
<div class="description">
<p class="paragraph">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</p>
<p class="paragraph">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</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 shttle</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 1" class="recommend__photo">
<img src="img/user-4.jpg" alt="Friend 2" class="recommend__photo">
<img src="img/user-5.jpg" alt="Friend 3" class="recommend__photo">
<img src="img/user-6.jpg" alt="Friend 4" class="recommend__photo">
</div>
</div>
</div>
<!-- REVIEW -->
<figure class="user-reviews">
<figure class="review">
<blockquote class="review__text">
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
</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, 2021</p>
</div>
<div class="review__rating">6.9</div>
</figcaption>
</figure>
<figure class="review">
<blockquote class="review__text">
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </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 Thomas</p>
<p class="review__user-date">Sept 12nd, 2021</p>
</div>
<div class="review__rating">8.1</div>
</figcaption>
</figure>
<button class="btn-inline">Show all <span>→</span></button>
</figure>
</div>
<!-- CTA -->
<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__invisible">Book now</span>
<span class="btn__visible">Only 4 rooms left</span>
</button>
</div>
</main>
</div>
</div>
<script async src="../../dui/js/main.js" type="module"></script>
</body>
</html>