-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
225 lines (145 loc) Β· 8.23 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Packed Food Directory</title>
<!-- Tailwind CSS CDN -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Google Fonts -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Baloo+Bhai+2&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<style>
body {
font-family: 'Baloo Bhai 2', cursive;
}
/* Custom styling for the video thumbnail box */
.video-thumbnail {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.video-thumbnail img {
width: 100%;
max-width: 300px;
border-radius: 10px;
}
.video-thumbnail a {
margin-top: 10px;
background-color: #4CAF50;
padding: 10px 20px;
color: white;
border-radius: 5px;
text-decoration: none;
}
.video-thumbnail a:hover {
background-color: #45a049;
}
</style>
</head>
<body class="bg-green-100 text-white">
<header>
<div class="logo">
<h1 class="indie-flower-regular ">Food360</h1>
</div>
<div class="search-bar">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400&display=swap" rel="stylesheet">
<input type="text" placeholder=" Check high quality foods for better health"
style="font-family:Arial, FontAwesome" />
</div>
<nav>
<ul>
<li><a href="">Home</a></li>
<li><a href="" onclick="alertPageComingSoon()">About us</a></li>
<li><a href="#" onclick="alertPageComingSoon()">Contact us</a></li>
<li><a href="products/MTR.html">Products</a></li>
</ul>
</nav>
</header>
<!-- Dont change the code tilll here ππππππ-->
<!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
<!-- change the links of img below here ππππ-->
<!-- Main Container -->
<div class="container mx-auto p-8 grid grid-cols-2 gap-6">
<!-- Product Image Section -->
<div class="flex justify-center items-center">
<!-- Thumbnails Section -->
<div class="flex flex-col items-center space-y-4">
<img src="qwer.jpg" alt="Thumbnail 1" class="w-20 h-20 rounded-lg cursor-pointer thumbnail" onclick="updateMainImage('qwer.jpg')">
<img src="./an (1)/third.png" alt="Thumbnail 3" class="w-20 h-20 rounded-lg cursor-pointer thumbnail" onclick="updateMainImage('./an (1)/third.png')">
<img src="./an (1)/first.png" alt="Thumbnail 5" class="w-20 h-20 rounded-lg cursor-pointer thumbnail" onclick="updateMainImage('./an (1)/first.png')">
<img src="./an (1)/secound.png" alt="Thumbnail 2" class="w-20 h-20 rounded-lg cursor-pointer thumbnail" onclick="updateMainImage('./an (1)/secound.png')">
<img src="./an (1)/forth.png" alt="Thumbnail 4" class="w-20 h-20 rounded-lg cursor-pointer thumbnail" onclick="updateMainImage('./an (1)/forth.png')">
</div>
<!-- Main Product Image -->
<div class="ml-10">
<img id="main-product-image" src="qwer.jpg" alt="Main Product Image" class="w-full h-auto rounded-lg">
</div>
</div>
<!-- change the naemes of product below here ππππ-->
<!-- Product Details Section -->
<div class="grid grid-cols-2 gap-4">
<!-- Product Name and Price -->
<div class="bg-green-700 p-4 rounded-lg" style="background-color:#a6aada">
<h2 class="text-xl font-bold">Product Name and Price</h2>
<p>Short description of the product</p>
<h2>Price is mentioned </h2>
</div>
<!-- Manufacturer and Location -->
<div class="bg-green-700 p-4 rounded-lg" style="background-color:#a6aada">
<h2 class="text-xl font-bold">Manufacturer and Location</h2>
<p>origin of the packed food is mentioned </p>
</div>
<!-- Ingredients and Preservatives Side by Side -->
<div class="grid grid-cols-2 gap-4 col-span-2">
<!-- Ingredients List -->
<div class="bg-green-600 p-4 rounded-lg" style="background-color:#a6aada">
<h2 class="text-xl font-bold">Ingredients<span class="vegan-indicator"></span></h2>
<p>In detail ingrediants and its quantities are mentioned</p>
</div>
<!-- Preservatives List -->
<div class="bg-green-600 p-4 rounded-lg" style="background-color:#a6aada">
<h2 class="text-xl font-bold">Preservatives with Side Effects</h2>
<p> All the preservatives are decoded and possible health side effects are mentioned </p>
</div>
</div>
<!-- change for Source of Origin and How to Use Side by Side below code πππ-->
<!-- Source of Origin and How to Use Side by Side -->
<div class="grid grid-cols-2 gap-4 col-span-2" >
<!-- Source of Origin Section -->
<div class="bg-green-500 p-4 rounded-lg" style="background-color:#a6aada">
<h2 class="text-xl font-bold">Vegan or Non-vegan</h2>
<p>all the ingrediants are verifiesd and checks if the product is vegan or non-vegan</p>
<h2 class="text-xl font-bold">Source of Origin of Ingredients</h2>
<p>mentions where the ingrediants are sourced from </p>
</div>
<!-- change for yt link and name below code πππ-->
<!-- How to Use the Product Section with Thumbnail -->
<div class="bg-green-600 p-4 rounded-lg video-thumbnail" style="background-color:#a6aada">
<h2 class="text-xl font-bold">How to Use the Product</h2>
<P>In detailed video of how to use the product is attached for reference</P>
<img src="https://t3.ftcdn.net/jpg/03/00/38/90/360_F_300389025_b5hgHpjDprTySl8loTqJRMipySb1rO0I.jpg" alt="How to use video thumbnail">
</a>
</div>
</div>
</div>
</div>
<!-- change the link and name below code πππ-->
<!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
<!--Dont change the below code πππ-->
<footer>
<div class="footer-links">
<a class="bottom-link" href="#" onclick="alertPageComingSoon()">Help</a>
<a class="bottom-link" href="#" onclick="alertPageComingSoon()">Contact us</a>
<a class="bottom-link" href="#" onclick="alertPageComingSoon()">About us</a>
<a class="bottom-link" href="#" onclick="alertPageComingSoon()">Work with us</a>
</div>
<div class="footer-logo">
<p>Food360 Β©2024</p>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>