-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
265 lines (217 loc) · 11.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Meal-App</title>
<!-- css for index.html -->
<Link rel="stylesheet" href="./style/index.css">
</link>
<!-- css for carousel -->
<link rel="stylesheet" href="./style/slider.css">
</link>
<!-- bootstrap cdn -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<!-- CDN for fontawsome -->
<script src="https://kit.fontawesome.com/776f38ba77.js" crossorigin="anonymous"></script>
<!-- CDN for swiperjs -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css" />
</head>
<body>
<!-- nav section -->
<nav>
<div class="nav-container">
<!--for left section of the nav bar -->
<div class="nav-left d-block">
<!-- for the logo of the nav section -->
<div class="nav-logo">
<a href="index.html"><i class="fa-solid fa-utensils"></i></a>
<span id="pour-tous">Pour Tous</span>
</div>
</div>
<!-- nav for right section -->
<div class="nav-right">
<div class="parent-div-input mt-3">
<!-- for search bar input -->
<div class="nav-input-container">
<input id="InputValue" type="text" placeholder="Search for your meal">
<button id="btnsearch" onclick="handleScearch()"><img
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAdVBMVEX///8AAADc3NzNzc3m5ub39/f6+vqMjIyvr6/T09Ozs7NnZ2eRkZHl5eWsrKzq6uphYWGHh4c/Pz/w8PAgICA0NDSjo6MVFRXJyclqampbW1s8PDwmJiZ3d3dVVVW3t7dKSkoPDw99fX3BwcEtLS2ZmZmXl5ccVvkXAAAEj0lEQVR4nO2ciXaiQBBF0xjADUVU3KPEJP//idMmnCQzIdhAd1U18+4X9D08oRbk4QEAAAAAAAAAAAAAAAAAAAAAAAAAAABgTJKH3EdwTKCKRcJ9CKcESjPZch/DIe+GSh3H3AdxRmmoWTxyn8UNX4Z9Det3Q6XWQ+7z2Odvw1tY59xHsswPQx3WAfehrFJhqFQ261EZUGmodBnQm7D+YqhJexLW3w37EtY6Q6VWPSgD6g01e9/DetdQlwF+h9XAUKlN7HGDZWTodVhNDXWDNYu4D9sKc0ONl2FtZOhlGdDQ8HZn5T5yQxobKt/C2sbQr7C2M1Tq4E1Y2xpqYj8arA6GnkwDOhl60WB1NFTyw9rdUHrNasNQdljtGOoGS+wGy5ahEhtWi4ZKvQwFhtWqociwWjbUpMI2WPYNlToOJU0DXBgqUetWR4aC1q3ODMWsWx0aKhnrVreGEsLq2vA2DeC9s7o3VMxhJTFknQYQGeoGi6tmJTO81awsYSU0VDxzVlpDfWclDyu1IX2DRW+oiKcBLIZKvdCNrpgMlSrioOeGiurOymlI824Ar6EiWLcuF6enFa8jQc0ahck1j58KNke6dwPm23GcHlguKenoKkpG19dTeihoHekbrGg5H+TxKaNzzLimAWFwzp8vBYkk6zQgDK6z533m+lfK/yLLMhmdp6f9iztHIevWcPmonzDp0YnjRtBSQF/TwTmfrDe2JeWtW+eja37aZxZND8Mlt1QV+lc6i0+XwoqjwHXrJ9HtCbO4dJeUF9Z/SbbDxb5THXiU+G7AD0JdB76d9uuWkv68z6qfMNs83rUQ5S8DGhKO8qeGjiuiqU5XPqr55ldxNRWwaq0nevzoyJqqvXMZi77ZJO9ddYfqbjLiVqjG0hOxmMorbJaPwXhqqaq5jCW9evSwHG3z5/Rir3/ciYmn7i5edwfb3YWAeEbLxFmHmPF+iCRMAl2DpW1rsPvwxTMKtuNFmrnp6z9543i4hyOqaduaOJ66xppRTkwJH+7z9zu/zZnEfYo3kvHTfHB+m7j+pVWxdvxw594+pQ7jGQXnKfMG8ei2NWLfAWeuWyNmQ4K7J6fhiuSPfXyGVJ07lyFd7cliSNq5MxhmtJ07uSF5a0RsyDD3pDQ8sHTudIY7pt0DlSHfWJ7EkLpzpzZknnu6NtxMuV8ccWv4cuYfy7s0lLE1cma4irnjWeLI0Hnnbo4TQ5eDpcbYN1zF/Fuj79g2lLdzt2soZ6n5hU1DYfEssWZI3LmbY8mQqzUywIqh6DeWuhvydO7mdDWU/2HBboai41nSwdD1UtMSrQ3lx7OknWEhpTUyoI3hWlztWUdzQ2/iWdLQUEznbk4jQ0GduzkNDEV17uaYGm58eLhXYmZ48eKvOdWYGMqYe7blvqH0bz3f445hJuPbh12oNRTcuZtTY+h7PEt+MxTyaU4LVBv6VnvWUWXoz382TfhheOxNPEv+MfS09qzju+GqX/Es+TJce1x71hH0N54lQX/jWRIwfh2WhuCpRw93AAAAAAAAAAAAAAAAAAAAAAAAAAAA/nf+AKHCTVKRBPClAAAAAElFTkSuQmCC"
height="30" width="30" /></button>
</div>
<!-- for suggestion of the search bar-->
<div id="suggestion">
<ul id="display_suggestion">
<!-- data is fetched from index.js -->
</ul>
</div>
</div>
<!--for nav meal section -->
<div class="nav-meal">
<a href="./meal.html">Meal</a>
</div>
<!-- for nav favourite section -->
<div class="like-button">
<a href="./favourite.html"> <i class="fa-sharp fa-solid fa-heart"></i>
<span id="like-conunt">0</span></a>
</div>
</div>
</div>
</nav>
<!-- for main section -->
<main>
<!-- carousel for main section -->
<div class="scrollbar-div" style="z-index:-1;">
<div style="z-index:-1" id="carouselExampleInterval" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-inner">
<!-- img1 -->
<div class="carousel-item active" data-bs-interval="1000">
<img style="object-fit: cover;height:500px;"
src="https://redcliffelabs.com/myhealth/wp-content/uploads/2022/03/90.jpg"
class="d-block w-100" alt="...">
</div>
<!-- img2 -->
<div class="carousel-item" data-bs-interval="1000">
<img style="object-fit: cover;height:500px;"
src="https://img.freepik.com/free-photo/vegetable-salad-with-dough-rounds_140725-2233.jpg?w=996&t=st=1694795924~exp=1694796524~hmac=44ed8d093f3c0f71ac51bbe345d837d291cd2d82dc2157c87316b6a7c39158df"
class="d-block w-100" alt="...">
</div>
<!-- img3 -->
<div class="carousel-item" data-bs-interval="1000">
<img style="object-fit: cover;height:500px;"
src="https://oregoncapitalchronicle.com/wp-content/uploads/2023/04/Alcohol-cocktail-Getty.jpg"
class="d-block w-100" alt="...">
</div>
<!-- img4 -->
<div class="carousel-item" data-bs-interval="1000">
<img style="object-fit: cover;height:500px;"
src="https://img.freepik.com/premium-photo/photorealistic-delicious-braised-chicken-grill_351245-2191.jpg?w=2000"
class="d-block w-100" alt="...">
</div>
</div>
<!-- previous -->
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleInterval"
data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<!-- next -->
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleInterval"
data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</div>
<!-- category section -->
<section class="slider_container pt-3" style="background-color:#FEDE00; height:300px;">
<div class="container">
<!--classes for swiperjs for category section of the main in index.html -->
<div class="card_slider swiper">
<div class="swiper-wrapper" id="category">
<!-- data is fetched inside swiper from index.js -->
</div>
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
<div class="swiper-pagination"></div>
</div>
</div>
</section>
<!-- for showing food items in the main section-->
<div class="container-fluid py-1" style="background-color:black">
<h3 class="py-1" style="color:#FEDE00; font-size:2rem;font-weight:400;">You can also try</h3>
<div id="display_common_food">
<!-- data is fetched from index.js -->
</div>
</div>
</main>
<!-- for fotter section -->
<fotter>
<!-- fotter main container -->
<div class="fotter-div">
<!--fotter for soical icons -->
<div class="soical-icons-div">
<div class="soical-icons">
<i class="fa-brands fa-facebook-f"></i>
</div>
<div class="soical-icons">
<i class="fa-brands fa-instagram"></i>
</div>
<div class="soical-icons">
<i class="fa-brands fa-linkedin-in"></i>
</div>
<div class="soical-icons">
<i class="fa-brands fa-youtube"></i>
</div>
</div>
<!--categories for fotter -->
<div class="fotter-options">
<span>PRIVACY</span>
<span>T&C</span>
<span>DISCLAIMER</span>
<span>FEEDBACK</span>
<span>COVID-19 PRECAUTION</span>
<span>CONTACT LESS DELIVERY</span>
</div>
<!-- copyright for fotter -->
<div class="fotter-copyrighgt">
<div class="fotter-copyrighgt-span">
<span>______________________________________________________________________________________________________________________________________________</span>
</div>
<br>
<div class="fotter-copyrighgt-span">
<span>@2020 Copyright.All Rights Are Reserved @Pour Tous Food Works Pvt.Ltd.. </span>
</div>
</div>
</div>
</fotter>
<!-- bootstrap cdn -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js"
integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.min.js"
integrity="sha384-BBtl+eGJRgqQAUMxJ7pMwbEyER4l1g+O15P+16Ep7Q9Q+zqX6gSbd85u4mG4QzX+"
crossorigin="anonymous"></script>
<!-- this script is for js -->
<script src="./js/index.js"></script>
<!-- CDN for Swiper JS -->
<script src="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.js"></script>
<!-- Initialize Swiper inside script tag -->
<script type="text/javascript">
var swiper = new Swiper(".card_slider", {
slidesPerView: 3,
spaceBetween: 70,
loop: true,
pagination: {
el: ".swiper-pagination",
clickable: true,
},
autoplay: {
delay: 2500,
disableOnInteraction: false,
},
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
}, breakpoints: {
320: {
slidesPerView: 1,
},
480: {
slidesPerView: 2,
},
768: {
slidesPerView: 3,
},
1200: {
slidesPerView: 4,
},
},
});
</script>
</body>
</html>