forked from Vishalrj750/Final_Kfc_Repo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
316 lines (265 loc) · 12.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
<!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=Baloo+Bhaijaan+2&family=Dancing+Script&family=Fira+Sans+Condensed&family=Satisfy&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./styles/main.css">
<title>KFC Clone</title>
<link rel = "icon" href = "https://i.ibb.co/tMDZB8V/download.png" type = "image/x-icon">
</head>
<body>
<!-- Loader starts -->
<div id="loader">
<img src="./images/KFC_Loader_Gif.gif" alt="Loading">
</div>
<!-- Loader ends -->
<div class="hole">
<!-- Navbar starts-->
<div id="header"></div>
<!-- Navbar ends -->
<!-- Poster below the navbar starts -->
<div class="poster">
<img src="https://i.ibb.co/JF4NbHY/image-description.jpg" />
</div>
<!-- Poster below the navbar starts -->
<!-- Below part of poster starts -->
<div class="belowPoster">
<div class="threeLines"></div>
<div class="belowPosterText">WELCOME TO KFC!</div>
</div>
<!-- Below part of poster starts -->
<!-- Browse Categories -->
<div class="categories">
<h2 class="browseCategories">BROWSE CATEGORIES</h2>
<div class="horizontalLine"></div>
</div>
<div class="menuCardContainer">
<a href="menu.html#chicken_bucket" class="menuCard">
<img src="https://i.ibb.co/sb0wL9V/CAT3131.jpg" />
<section class="menuText">Chicken Buckets</section>
</a>
<a href="menu.html#biryani_bucket" class="menuCard">
<img src="https://i.ibb.co/dgT9dqX/CAT3342.jpg" />
<section class="menuText">Biryani Buckets</section>
</a>
<a href="menu.html#box_meals" class="menuCard">
<img src="https://i.ibb.co/XyTgcxQ/CAT3246.jpg" />
<section class="menuText">Box Meals</section>
</a>
<a href="menu.html#burgers" class="menuCard">
<img src="https://i.ibb.co/HDB4m1K/CAT3132.jpg" />
<section class="menuText">Burgers</section>
</a>
</div>
<div class="menuCardContainer">
<a href="menu.html#stay_home_special" class="menuCard">
<img src="https://i.ibb.co/9YNgB66/CAT3311.jpg" />
<section class="menuText">Stay Home Specials</section>
</a>
<a href="menu.html#snacks" class="menuCard">
<img src="https://i.ibb.co/F0T5Hjz/CAT3134.jpg" />
<section class="menuText">Snacks</section>
</a>
<a href="menu.html#beverages" class="menuCard">
<img src="https://i.ibb.co/xCvWVYR/CAT3135.jpg" />
<section class="menuText">Beverages</section>
</a>
<a href="menu.html" class="menuCardLast">
<img src="https://i.ibb.co/NS49WrL/finger-lickin-fc21c805.jpg" />
<section class="menuTextLast">View All Menu <strong>→</strong></section>
</a>
</div>
<!-- Popup Content Starts-->
<div id="overlay">
<div id="popup">
<div class="popHeader">
<h2 class="offerDeals">OFFERS & DEALS</h2>
<a href="javascript:myBlurFunction(0);"><div class="cross">╳</div></a>
</div>
<div class="popupContent">
<h4 class="popupTextH4">Add 2 Pc Hot n Crispy Chicken @ just Rs 99 on min cart value of Rs 499 or more. Applicable on 2nd & 3rd order for signed in user.</h4>
<h5 class="popupTexth5">Valid to 31/12/30</h5>
<p class="popupTextP">Add 2 Pc Hot n Crispy Chicken @ just Rs 99 on min cart value of Rs 499 or more. Applicable on 2nd & 3rd order for signed in user.</p>
<div class="popBtnDiv"><a href="startOrder.html"><button class="popBtn">Redeem</button></a></div>
</div>
</div>
</div>
<!-- Popup Content ends -->
<!-- Footer starts -->
<div class="footer">
<div class="stripsDiv">
<div class="strips"></div>
<div class="strips"></div>
<div class="strips"></div>
</div>
<!-- Offers And Deals starts -->
<div class="offers">
<div class="offersAndDeals">
<h2>OFFERS & DEALS</h2>
</div>
<a href="Deals.html"><section class="viewAll">View All Deals <strong>→</strong></section></a>
</div>
<!-- Offers And Deals ends -->
<!-- Cards Container starts -->
<div id="container">
<div class="btnLeftDiv">
<button class="btnLeft"><p>‹</p></button>
</div>
<div class="cardsContainer">
<!-- Card starts -->
<div class="card">
<div class="cardImg">
<img src="https://i.ibb.co/y0fkfnG/ADDCHK99.jpg" />
</div>
<div class="cardContentTitle">
Add 2 Pc Hot n Crispy Chicken @ just Rs 99 on min cart value of Rs 499 or more. Applicable on 2nd & 3rd order for signed in user.
</div>
<div class="cardContent">
Add 2 Pc Hot n Crispy Chicken @ just Rs 99 on min cart value of Rs 499 or more. Applicable on 2nd & 3rd order for signed in user.
</div>
<div class="cardButton">
<a href="javascript:myBlurFunction(1);"><div class="offerViewDetails">View Details</div></a>
<a href="startOrder.html"><button class="redeemButton">Redeem</button></a>
</div>
</div>
<!-- Card ends -->
<!-- Card starts -->
<div class="card">
<div class="cardImg">
<img src="https://i.ibb.co/wC1ndvB/BIGSAVE.jpg" />
</div>
<div class="cardContentTitle">
Upto Rs 100 off on min cart value of Rs 599 or more . Applicable on 4th order onwards for signed in user.
</div>
<div class="cardContent">
Upto Rs 100 off on min cart value of Rs 599 or more . Applicable on 4th order onwards for signed in user.
</div>
<div class="cardButton">
<a href="javascript:myBlurFunction(1);"><div class="offerViewDetails">View Details</div></a>
<a href="startOrder.html"><button class="redeemButton">Redeem</button></a>
</div>
</div>
<!-- Card ends -->
<!-- Card starts -->
<div class="card">
<div class="cardImg">
<img src="https://i.ibb.co/c1dmQNj/image-description.jpg" />
</div>
<div class="cardContentTitle">
1 Pc free Chicken Zinger on a cart value of 399 or above on first order. Only for registered users.
</div>
<div class="cardContent">
1 Pc free Chicken Zinger on a cart value of 399 or above on first order. Only for registered users.
</div>
<div class="cardButton">
<a href="javascript:myBlurFunction(1);"><div class="offerViewDetails">View Details</div></a>
<a href="startOrder.html"><button class="redeemButton">Redeem</button></a>
</div>
</div>
<!-- Card ends -->
<!-- Card starts -->
<div class="card">
<div class="cardImg">
<img src="https://i.ibb.co/qpcfJWT/VEGZINGER.jpg" />
</div>
<div class="cardContentTitle">
1 Pc free Veg Zinger on a cart value of 399 or above on first order. Only for registered users
</div>
<div class="cardContent">
1 Pc free Veg Zinger on a cart value of 399 or above on first order. Only for registered users
</div>
<div class="cardButton">
<a href="javascript:myBlurFunction(1);"><div class="offerViewDetails">View Details</div></a>
<a href="startOrder.html"><button class="redeemButton">Redeem</button></a>
</div>
</div>
<!-- Card ends -->
<div class="btnRightDiv">
<button class="btnRight"><p>›</p></button>
</div>
</div>
</div>
<div class="footerFoot">
<div class="kfcLogo">
<img src="https://i.ibb.co/RgxGmkr/KFC-Logo.jpg" />
</div>
<ul>
<li>KFC Food</li>
<li><a href="menu.html">Menu</a></li>
<li>Order Lookup</li>
<li>Gift Card</li>
</ul>
<ul>
<li>Support</li>
<li>Get Help</li>
<li>Contact Us</li>
<li>KFC Feedbacks</li>
</ul>
<ul>
<li>Legal</li>
<li><a href="terms.html">Terms and Conditions</a></li>
<li><a href="Privacy.html">Privacy Policy</a></li>
<li>Diclaimer</li>
<li>Caution Notice</li>
</ul>
<ul>
<li>KFC India</li>
<li>About KFC</li>
<li>KFC Care</li>
<li>Careers</li>
<li>Our Golden Past</li>
</ul>
<div class="location">
<div class="locationLogo">
<img src="https://i.ibb.co/S6q7QpV/Find-KFC-removebg-preview.png" />
</div>
<div><a href="">Find a KFC</a></div>
</div>
<div class="buttonLogos">
<div class="buttonLogo1">
<img src="https://i.ibb.co/HhTsvz7/185-1855993-play-button-png-transparent.png" />
</div>
<div class="buttonLogo2">
<img src="https://i.ibb.co/MBbWX3j/5a902db97f96951c82922874.png" />
</div>
</div>
</div>
<div class="bottomMost">
<div class="copyright">
<p>Copyright © KFC Corporation 2021 All Rights Reserved</p>
</div>
<div class="socialMedia">
<ul>
<li><img src="https://i.ibb.co/k4G3xQX/Social-Insta-White.png" /></li>
<li><img src="https://i.ibb.co/DCbScVM/Social-Facebook-White.png" /></li>
<li><img src="https://i.ibb.co/TY7zLqX/Social-Twitter-White.png" /></li>
</ul>
</div>
</div>
</div>
</div>
</body>
</html>
<script type="module" src="./index.js"></script>
<script>
function myBlurFunction(state) {
// var containerElement = document.querySelectorAll('.footer');
var overlayEle = document.getElementById('overlay');
if (state) {
overlayEle.style.display = 'block';
// containerElement.setAttribute('class', 'blur');
} else {
overlayEle.style.display = 'none';
containerElement.setAttribute('class', null);
}
}
setTimeout(gif, 2000);
function gif(){
document.getElementById("loader").style.display = "none";
document.querySelector(".hole").style.display = "block";
}
</script>