-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
157 lines (117 loc) · 4.99 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous" />
<link rel='icon' href='Pizzacon.ico' type='image/x-icon' />
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Mansalva&display=swap" rel="stylesheet">
<title>Eat Our Pizza Pizzeria</title>
</head>
<body>
<!-- Navbar start -->
<nav class="navbar is-danger" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<p class="navbar-item">
<span class="icon is-medium"><i class="fas fa-pizza-slice" aria-hidden="true"></i></span>
</p>
<a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false"
data-target="navbarBasicExample">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div id="navbarBasicExample" class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item" href="./index.html">
Home
</a>
<a class="navbar-item" href="./inputPage.html">
Order Online
</a>
<a class="navbar-item" href="./menuMain.html">
Menu
</a>
<a class="navbar-item" href="./confirmation.html">
Confirmation
</a>
<p class="navbar-item"></p>
<p class="navbar-item"></p>
<p class="navbar-item is-size-1 has-text-weight-bold headerText">
Eat Our Pizza Pizzeria
</p>
</div>
</div>
</nav>
<!-- Navbar End -->
<div class="card">
<div class="card-image">
<figure class="image is-2by1">
<img src="https://i.imgur.com/VUEGlFp.jpg" alt="Placeholder image">
</figure>
</div>
<div id = "statement" class="card-content is-overlay has-text-light">
<span class="is-size2 has-text-weight-bold"></span>
<br>
<div class="container card has-background-danger has-text-centered">
<div class="headerText has-text-white is-size-3 has-text-weight-bold">
Tired of Pizza Hut, Dominos and Round Table Pizza with their boring old toppings?
Well, fret no more, because here at Eat our Pizza Pizzaeria, we have some of the most
off the wall toppings you would never dream of putting on a pizza. You want M&M's,
venison with blueberries? We'll build your pizza with whatever toppings we have
available on hand. No matter how wacky or loony your order is, we'll make it the
way you want. Oh yeah, we almost forgot to mention, we also make custom dessert pizza to
satisfy your sweet tooth.
</div>
</div>
</body>
</div>
</div>
<!-- Display navbar items when collapsed -->
<script>
document.addEventListener('DOMContentLoaded', () => {
// Get all "navbar-burger" elements
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
// Check if there are any navbar burgers
if ($navbarBurgers.length > 0) {
// Add a click event on each of them
$navbarBurgers.forEach(el => {
el.addEventListener('click', () => {
// Get the target from the "data-target" attribute
const target = el.dataset.target;
const $target = document.getElementById(target);
// Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu"
el.classList.toggle('is-active');
$target.classList.toggle('is-active');
});
});
}
});
if (localStorage.getItem("order") == null) {
let order = {
name: "",
email: "",
pizzaOptions: {
size: "",
crust: "",
sauce: "",
cheese: ""
},
meat: [],
nonMeat: [],
timeStamp: "",
origin: "",
destination: "",
time: "",
distance: ""
};
localStorage.setItem("order",JSON.stringify(order));
}
</script>
</body>
</html>