forked from arius2/Harmony-Haven
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
322 lines (306 loc) · 10.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles/styles.css" />
<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=Marcellus+SC&display=swap"
rel="stylesheet"
/>
<link
rel="icon"
type="image/x-icon"
href="/images/Harmony Haven IconAsset 1.png"
/>
<link rel="stylesheet" href="styles/media.css" />
<script
src="https://kit.fontawesome.com/24863ad24a.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="styles/Responsive.css" />
<title>Harmony Haven</title>
</head>
<body>
<div class="container">
<div class="container-landing">
<!-- Header -->
<header class="header">
<a href="index.html">
<img
class="logo"
alt="Harmony logo"
src="images/Harmony Haven logo 2 Horizontal.png"
/>
</a>
<nav class="main-nav">
<ul class="main-nav-list">
<li>
<a
class="main-nav-link hover-underline-animation"
href="#about-us"
>About Us</a
>
</li>
<li>
<a
class="main-nav-link hover-underline-animation"
href="pages/menu.html"
>Menu</a
>
</li>
<li>
<a
class="main-nav-link hover-underline-animation"
href="pages/Offers.html"
>Offers</a
>
</li>
<li>
<a class="main-nav-link hover-underline-animation" href="#"
>Order</a
>
</li>
</ul>
</nav>
<div class="login">
<div id="username" class="hidden">UserName</div>
<div class="login-photo"></div>
<a href="javascript:void(0)">
<button class="login-btn" id="login-btn">Login</button>
</a>
</div>
</header>
<!-- Background Decoration -->
<img
src="images/Harmony Haven 2Asset 2.svg"
alt="half-pantone2"
class="hero-decoration1"
/>
<div class="background-rectangle1">
<div class="background-rectangle2">
<img
src="images/Harmony Haven Asset 1.svg"
alt="half-pantone1"
class="hero-decoration2"
/>
</div>
</div>
<img
src="images/blob-haikei.svg"
alt="hero-decoration3"
class="hero-decoration3"
/>
<!-- Hero Section -->
<section class="hero-section">
<div class="hero-content">
<h1 class="hero-text">
Welcome to <br />
<span class="hero-title">Harmony Haven</span>
</h1>
<div class="hero-btns">
<a href="pages/Offers.html">
<button class="hero-btn1 hov" onclick="navigator">
<span class="hover-underline-animation">Check Offers</span>
</button></a
>
<button class="hero-btn2">
<span class="hover-underline-animation2">Order Online</span>
</button>
</div>
</div>
<div class="hero-img-div">
<i
class="fa-solid fa-music icon-music hover-animation-music"
style="color: #ed9255"
></i>
<i
class="fa-solid fa-fish-fins icon-fish hover-animation-fish"
style="color: #ed9255"
></i>
<i
class="fa-solid fa-utensils icon-utensils hover-animation-utensils"
style="color: #ed9255"
></i>
<img
src="images/Food Hero pic.webp"
alt="Food-pic"
class="hero-img animation-sizeIncrease"
/>
<!-- <div class="hero-img-shadow"></div> -->
</div>
</section>
</div>
<!-- About Us section -->
<section class="about-us" id="about-us">
<div class="grid-1">
<h1>About Us</h1>
<p>
Some say food is unity, and they are absolutely right! We here at
Harmony Haven want to unify people with food while showcasing the
diverse cuisines found in our very own country and the rest of the
world.
<br />
<br />
<span class="about-us-slogan"
>Where Flavor and Serenity Meet: Harmony Haven - Taste the Peace!
</span>
</p>
</div>
<div class="grid-2">
<img
src="images/Ramen-img.jpg"
alt="picture of ramen noodles"
class="img-right"
/>
</div>
<div class="grid-3">
<img src="images/pasta.jpg" alt="Picture of pasta" class="img-left" />
</div>
<div class="grid-4">
<h1>Why Us?</h1>
<p>
What sets Harmony Haven apart is our unwavering commitment to
excellence in every aspect of the dining experience. From the moment
you step through our doors, you are greeted with a warm smile and
attentive service that makes you feel right at home. Our team of
talented chefs, led by Executive Chefs, are passionate about
crafting culinary masterpieces that tantalize the taste buds and
delight the senses.
<br />
We take pride in sourcing the finest ingredients, locally and
globally, to ensure that each dish is a celebration of freshness and
flavor. Whether you're dining with us for a casual lunch, intimate
dinner, or special celebration, our goal is to exceed your
expectations and leave you longing to return.
</p>
</div>
<div class="grid-5">
<h1>Enjoy delicious meals!</h1>
<p>
Indulge in a culinary journey like no other at Harmony Haven. From
our signature dishes inspired by regional flavors to our innovative
twists on classic favorites, our menu offers a diverse array of
culinary delights to suit every palate.
<br />
Begin your meal with a selection of tantalizing appetizers, crafted
with care to awaken your taste buds. Then, savor our main courses,
where each dish is a symphony of flavors, textures, and aromas. Be
sure to save room for dessert, as our decadent creations are the
perfect sweet finale to your dining experience.
</p>
</div>
<div class="grid-6">
<img
src="images/samosa img.avif"
alt="Image of Samosa"
class="img-right"
/>
</div>
</section>
</div>
<!-- Footer section -->
<footer>
<div class="footer-grid-1">
<div class="contact-info">
<h3>Contact Us:</h3>
<p>Harmony Haven Restaurant</p>
<p>
PPR Mall, Mithapur Rd, Ravindra Nagar, Phase 2, Urban Estate phase
II, Jalandhar, Punjab 144001
</p>
<p>Phone: (123) 456-7890</p>
<p>Email: [email protected]</p>
</div>
<div class="social-media">
<h3>Follow Us:</h3>
<ul>
<li><a href="#">Facebook</a></li>
<li><a href="#">Instagram</a></li>
<li><a href="#">Twitter</a></li>
</ul>
</div>
</div>
<div class="navigation">
<h3>Navigation:</h3>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Menu</a></li>
<li><a href="#">Reservations</a></li>
<li><a href="#">Events</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d13635.497905626862!2d75.56624315491825!3d31.30721428899258!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x391a5bac8d0a5b81%3A0x1066ccb005822551!2sModel%20Town%2C%20Jalandhar%2C%20Punjab%20144003!5e0!3m2!1sen!2sin!4v1712064447202!5m2!1sen!2sin"
width="600"
height="450"
style="border: 0"
allowfullscreen=""
loading="lazy"
referrerpolicy="no-referrer-when-downgrade"
></iframe>
</div>
<div class="opening-hours">
<h3>Opening Hours:</h3>
<p>Monday - Friday: 11:00 AM - 10:00 PM</p>
<p>Saturday - Sunday: 10:00 AM - 11:00 PM</p>
</div>
<div class="newsletter">
<h3>Subscribe to Our Newsletter:</h3>
<p>
Stay updated with our latest offers and events by subscribing to our
newsletter.
</p>
<form>
<input type="email" placeholder="Your Email Address" />
<button type="submit">Subscribe</button>
</form>
</div>
</footer>
</body>
<!-- JavaScript Section -->
<script src="https://cdn.botpress.cloud/webchat/v1/inject.js"></script>
<script src="index.js"></script>
<script type="module">
import { auth, onAuthStateChanged, getUserData, logout } from "./auth.js";
var uname_box = document.getElementById("username");
var login_logout_btn = document.getElementById("login-btn");
// Load user info
login_logout_btn.onclick = () => {
window.location = "login.html";
};
onAuthStateChanged(auth, (user) => {
if (user) {
getUserData()
.then((data) => {
uname_box.innerHTML = data.val().name;
uname_box.classList.remove("hidden");
})
.catch((error) => {
console.error(error);
logout().catch((error) => {
console.error(error);
});
});
login_logout_btn.innerHTML = "Logout";
login_logout_btn.onclick = () => {
logout().catch((error) => {
console.error(error);
alert("Failed to log out");
});
};
} else {
console.log("user signed out");
uname_box.innerHTML = "";
uname_box.classList.add("hidden");
login_logout_btn.innerHTML = "Login";
login_logout_btn.onclick = () => {
window.location = "login.html";
};
}
});
</script>
</html>