-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
90 lines (73 loc) · 4.77 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/assets/code-icon.png">
<title>Desserts Shop</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xl-8">
<h1>Desserts</h1>
<div class="row row-cols-1 row-cols-lg-3 row-cols-md-2 g-4" id="desserts-list">
</div>
</div>
<div class="col-lg-4" id="cart-section">
<div class="card cart-section-card">
<div class="card-body">
<p class="card-text cart-main-title">Your Cart <span class="cart-main-title" id="cart-quantity">(0)</span></p>
<div id="cart-information">
<div class="text-center" id="empty-cart-image">
<img src="/assets/images/illustration-empty-cart.svg" alt="">
</div>
<p class="card-text text-center img-fluid" id="empty-cart-text">Your added items will appear here</p>
</div>
<div>
<div id="order-total-section">
<p id="orders-total-text">Order Total</p>
<p id="orders-total-amount"></p>
</div>
<div id="carbon-neutral-section">
<div class="text-center">
<img class="carbon-neutral-items" src="/assets/images/icon-carbon-neutral.svg" alt="">
<p class="carbon-neutral-items">This is a <strong>carbon neutral</strong> delivery</p>
</div>
</div>
<a type="button" href="#" class="btn" id="confirm-order-btn" data-bs-toggle="modal" data-bs-target="#confirmModal" onclick="confirmOrder()">
Confirm Order
</a>
<div class="modal fade" id="confirmModal" tabindex="-1" aria-labelledby="confirmModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-body">
<img id="modal-image" src="/assets/images/icon-order-confirmed.svg" alt="">
<p id="modal-title">Order Confirmed</p>
<p id="modal-subtitle">We hope you enjoy your food!</p>
<div id="confirmation-modal-list" class="confirmation-modal-bg"></div>
<div id="confirmation-amount" class="confirmation-total-bg">
<p id="confirmation-total-text">Order Total</p>
<p id="confirmation-grand-total"></p>
</div>
<div class="text-center d-grid">
<button id="btn-start-new-order" class="btn" onclick="startNewOrder()" data-bs-dismiss="modal" aria-label="Start New Order">
Start New Order
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="javascript/scripts.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
</body>
</html>