-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
420 lines (406 loc) · 24.7 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
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
<!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="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
<link rel="shortcut icon" href="./assets/logo.png" type="image/x-icon">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" href="./css/style.css">
<title>Pizza hub</title>
</head>
<body>
<!-- NAVBAR -->
<section>
<nav class="navbar navbar-expand-sm bg-danger navbar-dark fixed-top">
<div class="container-fluid">
<a href="#" class="navbar-brand"></a>
<img src="./assets/logo.png" alt="Pizza-hub">
<span class="navbar-text text-white">PIZZA-HUB</span>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#collapsibleNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="collapsibleNavbar"></div>
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="#about-us" data-bs-toggle="tooltip" title="About us">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#services" data-bs-toggle="tooltip" title="Services">Services</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#menu" data-bs-toggle="tooltip" title="Our Menu">Menu</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="#make-order" data-bs-toggle="tooltip" title="Order Now!">Make Order</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#contact-us" data-bs-toggle="tooltip" title="Contact us">Contact us</a>
</li>
<li class="nav-item">
<a class="nav-link disabled" href="#" data-bs-toggle="tooltip" title="Exit?">Exit</a>
</li>
</ul>
</div>
</nav>
</section>
<!-- LANDING PAGE -->
<section>
<div class="container-fluid img-fluid landing-page">
<div class="container landing-text">
<h1 class="display-1 pt-5">It's not just all about pizza, it's an experience.</h1>
<a href="#make-order"><button type="button" class="btn btn-success land-button" id="buy">Order Now !</button></a>
</div>
</div>
</section>
<!-- ABOUT US -->
<section>
<div class="container-fluid">
<div class="container" id="about-us">
<h2 class="pt-5">About us</h2>
<hr>
<p>Want a pizza? Worry no more. Pizza-hub is here to cater for your delicacy. We offer delivery services from our service providers to the specifications of our customer.<br>
We have a variety of flavors, sizes and toppings to choose from. Hop on for greater and finger-licking pizzas at the click of a button at your desired location.</p>
</div>
</div>
</section>
<!-- SERVICES -->
<section>
<div class="container-fluid pt-5" id="services">
<div class="container">
<h2>Our services</h2>
<hr>
<p>Since you are always right, when it comes to customer-service, Pizza-hub offers a variety of services to our esteemed customers.<br>Click to view our services.</p>
</div>
<div class="container">
<div class="row">
<div class="col-sm-3">
<div class="delivery">
<div class="delivery-img">
<img class="img-fluid img-thumbnail services-img" src="./assets/deli.jpg" alt="">
</div>
<div id="delivery">
<h6>Delivery services</h6>
<p>Purchasing is not an issue, why should eating the pizza be an issue?<br>We have implemented delivery to our customers at a fair price.<br>Enjoy your pizza wherever you are with other people without any worry, hit on our pizza-courier services to access this service.</p>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="payment">
<div class="payment-img">
<img class="img-fluid img-thumbnail services-img" src="./assets/payment-orig.jpg" height="150px">
</div>
<div id="payment">
<h6>Convenient payment</h6>
<p>Satisfaction is not an issue and so payment should not be an issue. <br>We have diverse and intergrated forms of payment such as mobile-payment, cash payment, debit cards and so much more...<br>Just to cater for you !</p>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="offers">
<div class="offers-img">
<img class="img-fluid img-thumbnail services-img" src="./assets/offers-main.jpg" alt="">
</div>
<div id="offers">
<h6>Mid-week offers</h6>
<p>Customers we have unlimited offers for you. We have terrific mid-week offers for you such as terrific tuesdays where you get pizza bonuses at a throw-away price.</p>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="hotels">
<div class="trial">
<img class="img-fluid img-thumbnail services-img" src="./assets/bar.jpg" alt="">
</div>
<div id="hotels">
<h6>Multiple joints</h6>
<p>We are aware of our value preposition about our pizzas. We have multiple Pizza-hut bars distributed in various parts of the city.<br> With lots of seats, our bars can cater for multiple customers and satisfy you.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- MENU -->
<section>
<div class="container-fluid">
<div class="container" id="menu">
<h2 class="pt-5">Our Menu</h2>
<hr>
<p>Dive in to some of our mouth watering pizzas:</p>
</div>
<!-- IMAGES CAROUSEL -->
<div class="container-fluid">
<div id="carouselExampleCaptions" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-indicators">
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="1" aria-label="Slide 2"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="2" aria-label="Slide 3"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="3" aria-label="Slide 4"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="4" aria-label="Slide 5"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="5" aria-label="Slide 6"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="6" aria-label="Slide 7"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="7" aria-label="Slide 8"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="8" aria-label="Slide 9"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="9" aria-label="Slide 10"></button>
</div>
<div class="carousel-inner">
<div class="carousel-item active">
<img src="./assets/pepperoni.jpg" class="d-block w-100 image img-fluid">
<div class="carousel-caption d-none d-md-block">
<h4 class="text-white">Pepperoni Pizza</h4>
<p class="text-white">There's a reason this is one of the most popular types of pizza. Who doesn't love biting into a crispy, salty round of pepperoni?</p>
<a href="#make-order"><button type="button" class="btn btn-info" id="buy">Try Me</button></a>
</div>
</div>
<div class="carousel-item">
<img src="./assets/vegetable.jpg" class="d-block w-100 image img-fluid" alt="...">
<div class="carousel-caption d-none d-md-block">
<h4 class="text-primary">Veggie Pizza</h4>
<p class="text-primary">When you want to jazz up your cheese pizza with color and texture, veggies are the perfect topping. And you're only limited by your imagination. Everything from peppers and mushrooms, to eggplant and onions make for an exciting and tasty veggie pizza.</p>
<a href="#make-order"><button type="button" class="btn btn-info" id="buy">Try Me</button></a>
</div>
</div>
<div class="carousel-item">
<img src="./assets/cheese.jpg" class="d-block w-100 image img-fluid" alt="...">
<div class="carousel-caption d-none d-md-block">
<h4 class="text-primary">Cheese Pizza</h4>
<p class="text-primary">It should be no shocker that a classic is the statistical favorite. Cheese pizza is one of the most popular choices. It will always be a simple, unadorned masterpiece on its own.</p>
<a href="#make-order"><button type="button" class="btn btn-info" id="buy">Try Me</button></a>
</div>
</div>
<div class="carousel-item">
<img src="./assets/meat.jpg" class="d-block w-100 image img-fluid" alt="...">
<div class="carousel-caption d-none d-md-block">
<h4 class="text-white">Meat Pizza</h4>
<p class="text-white">If pepperoni just isn't enough, and you're looking for a pie with a bit more heft, a meat pizza is a perfect and popular choice. Pile on ground beef and sausage for a hearty meal.</p>
<a href="#make-order"><button type="button" class="btn btn-info" id="buy">Try Me</button></a>
</div>
</div>
<div class="carousel-item">
<img src="./assets/magherita.jpg" class="d-block w-100 image img-fluid" alt="...">
<div class="carousel-caption d-none d-md-block">
<h4>Magherita Pizza</h4>
<p>Deceptively simple, the Margherita pizza is made with basil, fresh mozzarella, and tomatoes. There's a reason it's an Italian staple and one of the most popular types of pizza.</p>
<a href="#make-order"><button type="button" class="btn btn-info" id="buy">Try Me</button></a>
</div>
</div>
<div class="carousel-item">
<img src="./assets/BBQ chicken.jpg" class="d-block w-100 image img-fluid" alt="...">
<div class="carousel-caption d-none d-md-block">
<h4>BBQ Chicken Pizza</h4>
<p>If you love BBQ chicken and you love pizza, why not put them together? This has long been a cult favorite of sports fans and college kids. The chicken slathered over the top of a pie gives it a tangy, sweet flavor that can't be beaten.</p>
<a href="#make-order"><button type="button" class="btn btn-info" id="buy">Try Me</button></a>
</div>
</div>
<div class="carousel-item">
<img src="./assets/supreme.jpg" class="d-block w-100 image img-fluid" alt="...">
<div class="carousel-caption d-none d-md-block">
<h4 class="text-success">Supreme Pizza</h4>
<p class="text-success">When you can't decide which toppings to get, it's time for the supreme pizza. The “supreme” refers to the litany of toppings that come scattered on these pies, from sausage to vegetables to pepperoni. And it's the combination of the flavors that really makes it sing.</p>
<a href="#make-order"><button type="button" class="btn btn-info" id="buy">Try Me</button></a>
</div>
</div>
<div class="carousel-item">
<img src="./assets/buffallo.jpg" class="d-block w-100 image img-fluid" alt="...">
<div class="carousel-caption d-none d-md-block">
<h4>Buffalo Pizza</h4>
<p>Who says your pizza has to be strictly tomato-sauce based? Branch out with some buffalo sauce on your pie. All its spicy, salty, buttery goodness is a natural pairing for pizza.</p>
<a href="#make-order"><button type="button" class="btn btn-info" id="buy">Try Me</button></a>
</div>
</div>
<div class="carousel-item">
<img src="./assets/hawaiian.jpg" class="d-block w-100 image img-fluid" alt="...">
<div class="carousel-caption d-none d-md-block">
<h4>Hawaiian Pizza</h4>
<p>Pineapple might not be the first thing that comes to mind when you think pizza. But add in some ham and it creates an unexpectedly solid sweet and salty combination for this type of pizza.</p>
<a href="#make-order"><button type="button" class="btn btn-info" id="buy">Try Me</button></a>
</div>
<div class="carousel-item">
<img src="./assets/workspizza.jpg" class="d-block w-100 image img-fluid" alt="...">
<div class="carousel-caption d-none d-md-block">
<h4 class="text-success">The Works Pizza</h4>
<p class="text-success">And when the supreme just isn't enough, you're ready for the works. It's a step up in heartiness from the supreme. The “works” usually involves a wide variety of veggie toppings including onions, olives, and mushrooms, plus bacon and pepperoni.</p>
<a href="#make-order"><button type="button" class="btn btn-info" id="buy">Try Me</button></a>
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</div>
</div>
</div>
</section>
<!-- MAKE ORDER -->
<section>
<div class="container-fluid">
<div class="container" id="make-order">
<h2>Make an order</h2>
<hr>
<p>Please choose an order of your liking :</p>
</div>
<div class="container">
<form action="" id="placeOrder">
<!-- <label for="name" class="from-label">Enter your name:</label>
<input type="text" placeholder="Names..." class="form-control" name="customerName"> -->
<label for="pizzaSize" class="form-label">Choose your pizza size:</label>
<select name="" id="pizzaSize" class="form-select">
<option value="Small">Small</option>
<option value="Medium">Medium</option>
<option value="Large">Large</option>
</select>
<label for="pizzaTopping" class="form-label">Which topping suits you ?</label><br>
<select id="pizzaTopping" class="form-select pizzaTopping">
<option value="Pineapple">Pineapple</option>
<option value="BBQ">BBQ</option>
<option value="Extra-Cheese">Extra-Cheese</option>
<option value="Chicken">Chicken</option>
<option value="Buffallo-Sauce">Buffallo-Sauce</option>
<option value="Vegetable">Vegetable</option>
<option value="Greens">Greens</option>
<option value="Chocolate-shavings">Chocolate-shavings</option>
</select><br>
<label for="crustType" class="form-label">Select crust size :</label><br>
<select name="" id="crustType" class="form-select">
<option value="Thick-crust">Thick-crust</option>
<option value="Thin-crust">Thin-crust</option>
<option value="Stuffed">Stuffed</option>
<option value="Crispy">Crispy</option>
<option value="Gluten-free">Gluten-free</option>
</select><br>
<label for="pizzaQuantity" class="form-label">Quantity (One is never enough) :</label><br>
<input type="number" name="quantity" id="pizzaQuantity" min="1" max="30" class="form-control" required value="1">
<div class="pt-3">
<div class="row">
<div class="col">
<button type="button" class="btn btn-success" id="makeOrder">Make Order</button>
</div>
</div>
</div>
</form>
</div>
<div class="container myOrder" id="myOrder">
<h2>Pizza-hub Receipt</h2>
<hr>
<!-- <div class="row">
<div class="col">
<h5>Customer Name:</h5>
</div>
<div class="col">
<p id="customerName"></p>
</div>
</div> -->
<video width="400px" height="400px" autoplay controls loop>
<source src="./assets/pizzavideo.mp4">
</video>
<div class="row">
<div class="col-sm-4">
<h5>Your Pizza Size is:</h5>
</div>
<div class="col-sm-4">
<p id="myPizzaSize"></p>
</div>
<div class="col-sm-4">
<p id="pizzaSizePrice"></p>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<h5>Topping chosen:</h5>
</div>
<div class="col-sm-4">
<p id="myPizzaTopping"></p>
</div>
<div class="col-sm-4">
<p id="pizzaToppingPrice"></p>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<h5>Crust Chosen:</h5>
</div>
<div class="col-sm-4">
<p id="myPizzaCrust"></p>
</div>
<div class="col-sm-4">
<p id="pizzaCrustPrice"></p>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<h5>Pizza pieces:</h5>
</div>
<div class="col-sm-6">
<p id="myPizzaQuantity"></p>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<h5>Total Amount:</h5>
</div>
<div class="col-sm-6">
<p id="total"></p>
</div>
</div>
<div class="row">
<div class="col">
<button type="button" class="btn btn-success" id="backToOrder">Back to order</button>
</div>
<div class="col">
<button type="button" class="btn btn-warning" id="deliverMe" onclick="wantDelivery()">Delivery?</button>
</div>
</div>
</div>
</div>
</section>
<!-- CONTACT US -->
<section>
<div class="container-fluid pt-5">
<div class="container" id="contact-us">
<h2>Contact us</h2>
<hr>
<p>Your suggestions and ratings will be highly appreciated.</p>
</div>
<div class="container">
<form action="https://formspree.io/f/mqknlwzo" method="post">
<div class="row">
<div class="col">
<input type="text" class="form-control" placeholder="Enter your full names" name="name" required>
</div>
<div class="col">
<input type="email" class="form-control" placeholder="Enter e-mail address" name="email">
</div>
<div class="col-12 pt-3">
<textarea class="form-control inputColor" id="messageText" rows="7" placeholder="Input your feedback" required></textarea>
</div>
<div class="pt-1">
<button type="submit" class="btn btn-success order-button">Submit</button>
</div>
</div>
</form>
</div>
</div>
</section>
<!-- FOOTER -->
<section class="container-fluid bg-danger">
<footer class=" container sticky-bottom">
<p>Made with love by Williams Oditi.</p>
<p id="year"></p>
</footer>
</section>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.min.js" integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="./js/script.js"></script>
</body>
</html>