-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbooking.html
248 lines (233 loc) · 8.37 KB
/
booking.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<title>Mid sem project dine in Restaurant</title>
<link href="https://fonts.googleapis.com/css2?family=Spartan:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/5225b7dab1.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="/style.css" />
</head>
<body>
<main class="booking-container">
<picture>
<source
srcset="
images/booking/hero-bg-tablet.jpg 1x,
images/booking/[email protected] 2x
"
media="(max-width: 1200px) and (min-width: 700px)"/>
<source
srcset="
images/booking/hero-bg-mobile.jpg 1x,
images/booking/[email protected] 2x
"
media="(max-width: 700px)"
/>
<img
alt="hero-bg"
srcset="
images/booking/hero-bg-desktop.jpg 1x,
images/booking/[email protected] 2x
"
src="images/homepage/hero-bg-desktop.jpg"
class="booking-container__bg"
/>
</picture>
<a href="/">
<img
src="images/logo.svg"
alt="logo"
class="logo booking-container__logo"
/>
</a>
<div class="booking-container__content">
<div class="booking-container__intro">
<h1 class="heading-1 mb-small">Reservations</h1>
<p class="paragraph">
We can’t wait to host you. If you have any special requirements
please feel free to call on the phone number below. We’ll be happy
to accommodate you.
</p>
<a href="#form" class="btn btn--light booking-container__intro-btn"
>Reserve Place</a
>
</div>
<form class="form" id="form" autocomplete="off">
<div
class="form__input-container form__input-container--lg"
id="name-container"
>
<input
type="text"
class="form__input"
id="name"
placeholder="Name"
aria-label="Name"
/>
</div>
<div
class="form__input-container form__input-container--lg"
id="email-container"
>
<input
type="text"
class="form__input"
id="email"
placeholder="Email"
aria-label="Email"
/>
</div>
<div class="form__row">
<label class="form__label" id="date-label">Pick a date</label>
<div class="form__group">
<div class="form__input-container form__input-container--sm">
<input
type="text"
class="form__input"
id="month"
placeholder="MM"
aria-label="Month"
/>
</div>
<div class="form__input-container form__input-container--sm">
<input
type="text"
class="form__input"
id="day"
placeholder="DD"
aria-label="Day"
/>
</div>
<div class="form__input-container form__input-container--md">
<input
type="text"
class="form__input"
id="year"
placeholder="YYYY"
aria-label="Year"
/>
</div>
</div>
</div>
<div class="form__row">
<label class="form__label" id="time-label">Pick a time</label>
<div class="form__group">
<div class="form__input-container form__input-container--sm">
<input
type="text"
class="form__input"
id="hour"
placeholder="09"
aria-label="Hour"
/>
</div>
<div class="form__input-container form__input-container--sm">
<input
type="text"
class="form__input"
id="minute"
placeholder="00"
aria-label="Minutes"
/>
</div>
<div
class="form__select-wrapper form__input-container form__input-container--md"
>
<div class="form__select" id="period-select">
<input
type="hidden"
class="form__select-input"
id="period"
aria-label="Period"
/>
<div
class="form__input form__select-trigger"
id="period-trigger"
>
<span>AM</span>
<img
class="form__arrow"
src="images/icons/icon-arrow.svg"
alt="arrow"
/>
</div>
<div class="form__options">
<div class="form__option selected" data-value="AM">
<img
src="images/icons/icon-check.svg"
alt="check"
class="form__check"
/>
<span>AM</span>
</div>
<div class="form__option" data-value="PM">
<img
src="images/icons/icon-check.svg"
alt="check"
class="form__check"
/>
<span>PM</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="form__input-container form__input-container--lg">
<input type="hidden" id="people" aria-label="Number of people" />
<label for="people" class="form__input form__operator-row">
<span class="form__operator fas fa-minus" id="decrement"></span>
<span class="form__count" id="people-count"></span>
<span class="form__operator fas fa-plus" id="increment"></span>
</label>
</div>
<button class="btn btn--dark form__btn" type="submit">
Make Reservation
</button>
</form>
</div>
</main>
<div class="success">
<div class="success__content">
<i class="success__close fas fa-times"></i>
<p class="success__text">Thank you for booking!</p>
</div>
</div>
<div class="booking-container__bottom-bg"></div>
<div class="footer-section">
<div class="footer">
<div class="col1">
<h3>About Dine</h3>
<p>Discover exquisite flavors and unforgettable dining experiences at Dine. We strive to provide eceptional service and delectable dishes to satisfy every palate</p>
<div class="icon">
<i class="fa-solid fa-location-dot"></i>
<p>123 Main Street, City, Country</p>
</div>
<div class="icon">
<i class="fa-solid fa-phone"></i>
<p>(123) 456-7890</p>
</div>
<div class="icon">
<i class="fa-solid fa-envelope"></i>
<p>[email protected]</p>
</div>
</div>
<div class="col2">
<h3>Contact us</h3>
<input id="name1" type="text" placeholder="Your Name">
<input id="email1" type="email" placeholder="Your Email">
<textarea id="message1" placeholder="Your message"></textarea>
<button id="send1">Send</button>
</div>
</div>
<div class="col3">
<p>© 2024 Dine Restaurant. All rights reserved.</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.27.0/moment.min.js"></script>
<script src="index.js"></script>
</body>
</html>