-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
239 lines (186 loc) · 7.64 KB
/
index.php
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
<?php
define('Access', TRUE);
include "./AdditionalPHP/startSession.php";
?>
<!DOCTYPE html>
<html lang="en-MU">
<head>
<meta charset="utf-8">
<title>Patisserie | HOME</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--CSS File-->
<link rel="stylesheet" type="text/css" href="Common.css">
<link rel="stylesheet" type="text/css" href="random.css">
<!-- Font Awesome -->
<script src="https://kit.fontawesome.com/0e16635bd7.js" crossorigin="anonymous"></script>
<!--BOXICONS-->
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
<!-- Animate CSS -->
<link rel="stylesheet"href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
<!-- Meta tags for PWA -->
<meta name= "apple-mobile-web-app-status-bar" content="#aa7700">
<meta name="theme-color" content="black">
<!-- Manifest File link -->
<link rel="manifest" href="manifest.json">
<script src="Javascript/swapWaveImg.js"></script>
<!-- COUNTDOWN FUNCTION JAVASCRIPT BY -->
<script src = "Javascript/countdown_sales.js"></script>
</head>
<body>
<?php $page = 'index'?>
<!--Start Navigation Bar-->
<?php include './Includes/MobileNavBar.php';?>
<!--End Navigation Bar-->
<!--Start Navigation Bar @media 1200px-->
<?php include './Includes/PcNavBar.php';?>
<!--End Navigation Bar @media 1200px-->
<!--Start Wave Image-->
<div class="wave-image-group-media1200">
<div class="wave-image-flip-media1200">
<img src="Assets/images/1.index/NavBar_WaveWhiteThinFlip.png">
</div>
</div>
<!--End Wave Image-->
<!--Start Slideshow-->
<div class="slideshow-container">
<!-- Full-width images with number and caption text -->
<div class="mySlides fade">
<img src="Assets/images/1.index/Cake_1.jpg" style="width:100%">
<div class="text">EVERY BATCH FROM SCRATCH</div>
</div>
<div class="mySlides fade">
<img src="Assets/images/1.index/Cake_2.jpg" style="width:100%">
<div class="text">WE IMPLEMENT SWEET DREAMS</div>
</div>
<div class="mySlides fade">
<img src="Assets/images/1.index/Cake_3.jpg" style="width:100%">
<div class="text">A LITTLE BLISS IN EVERY BITE</div>
</div>
</div>
<script src="Javascript/SlideshowAuto.js"></script>
<!--End Slideshow -->
<!--Start Wave Image-->
<div class="wave-image-group">
<div class="wave-image">
<img src="Assets/images/1.index/NavBar_WaveWhite.png">
</div>
</div>
<!--End Wave Image-->
<!--Start What You Can Do-->
<div class="what-you-can-do">
<div class="subtitle">
<h2>WHAT YOU CAN DO</h2>
</div>
<div class="row">
<div class="column">
<i class="fas fa-boxes" style="color: black;"></i>
<span class="what-you-can-do-subtitle buy-our-cake">Freshly baked cakes</span>
<span class="what-you-can-do-text">Get a taste of our freshly prepared cakes by ordering online!</span>
</div>
<div class="column">
<i class="fas fa-mitten" style="color: black;"></i>
<span class="what-you-can-do-subtitle customize-cake">Customize your cake</span>
<span class="what-you-can-do-text">You can customize your cake with your favourite glazing, toppings, color and more!</span>
</div>
<div class="column">
<i class="fas fa-boxes" style="color: black;"></i>
<span class="what-you-can-do-subtitle create-box">Custom cake box</span>
<span class="what-you-can-do-text">You can add different types of cakes in a box and we deliver it to you!</span>
</div>
</div>
</div>
</div>
<!--End What You Can Do-->
<!--Start Special Offer-->
<section class="offer-section">
<div class="offer-bg">
<div class="offer-data">
<div class="subtitle">
<h2>SPECIAL OFFER</h2>
</div>
<p class="offer-description">Get upto 20% off on selected products </p>
<div class="subscribe-button-container">
<a href="products.php"><button class="subscribe-button" name="subscribe">SHOP NOW</button></a>
</div>
</div>
</div>
</section>
<!--End Special Offer-->
<!--Start Wave Image-->
<!-- <div class="wave-image-group">
<div class="wave-image">
<img src="Assets/images/1.index/NavBar_WaveWhite.png">
</div>
</div> -->
<!--End Wave Image-->
<!--Start How to Order-->
<div class="how-to-order">
<div class="subtitle">
<h2 class="order-subtitle">HOW TO ORDER</h2>
</div>
<div class="row" style="color: #FF7380FF;">
<div class="column">
<i class="fas fa-birthday-cake"></i>
<p><b>Choose your cake</b></p>
</div>
<div class="column">
<i class="fas fa-cart-plus"></i>
<p><b>Add to cart</b></p>
</div>
<div class="column">
<i class="fas fa-money-check-alt"></i>
<p><b>Checkout</b></p>
</div>
<div class="column">
<i class="fas fa-box-open"></i>
<p><b>We pack it up</b></p>
</div>
<div class="column">
<i class="fas fa-shipping-fast"></i>
<p><b>Fast Delivery</b></p>
</div>
</div>
</div>
<!--End How to Order-->
<!--Start Wave Image Flip
<div class="wave-image-group">
<div class="wave-image-flip how-to-order-wave">
<img src="Assets/images/1.index/NavBar_WaveWhiteFlip.png">
</div>
</div>
End Wave Image Flip-->
<!-- Start Google Map-->
<?php include './Includes/GoogleMap.php';?>
<!-- End Google Map-->
<!-- Start Contact Us -->
<?php include './Includes/ContactUsForm.php';?>
<!-- End Contact Us-->
<!--Start Newsletter-->
<?php include './Includes/NewsLetter.php';?>
<!--End Newsletter-->
<!--Start Footer-->
<?php include './Includes/Footer.php';?>
<!--End Footer-->
<!-- Start Bottom Nav -->
<?php include './Includes/MobileBottomNav.php';?>
<!-- End Bottom Nav -->
<script>
window.addEventListener('load', () => {
registerSW();
});
// Register the Service Worker
async function registerSW() {
if ('serviceWorker' in navigator) {
try {
await navigator
.serviceworker
.register('serviceworker.js');
}
catch (e) {
console.log('SW registration failed');
}
}
}
</script>
</body>
</html>