-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
275 lines (240 loc) · 10.1 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
<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">
<title>HOME PAGE</title>
<link rel="stylesheet" href="homepage.css">
<style id="login_page"></style>
<style>
#back {
position: fixed;
height: 630px;
width: 100%;
display: none;
background-color: rgb(240, 240, 240);
background-color: rgba(0, 0, 0, 0.4)
/* background-color: rgba(rgb(116, 47, 47), #20b120, rgb(123, 123, 239), 1); */
;
}
</style>
</head>
<body>
<div id="back">
<div id="login_layout">
<div class="signin_topbar">
<div style=" position: relative;
left: -12%;">SIGN IN
</div>
<div id="back_btn">close -</div>
</div>
<br>
<form id="myForm">
<label>Email Adddress<strong>*</strong></label><br><br>
<input type="text" required id="email"><br><br>
<label>Password <strong>*</strong></label><br><br>
<input required type="password" id="password"><br>
<br>
<!-- <input type="submit" value="LOGINE"> -->
<button>LOGINE</button>
</form>
<br>
<div id="center_bar">
<div class="facebook_bar">
<div>Sign in with facebook </div>
<i class="fa fa-facebook oxi_icon oxi_icon_facebook"></i>
<br>
</div>
<div class="google_bar">
<div>Sign in with Google</div>
<i id="google_log" class="fa fa-google oxi_icon oxi_icon_google"></i>
</div>
<div class="profile_icon">
<img src="https://deejayfarm.com/wp-content/uploads/2019/10/Profile-pic.jpg" />
</div>
<h3>No account yet?</h3>
<p>Welcome to Kimaye! Help us with a few details to know you better as you take the journey of
enjoying
our
safe and tasty fruits.</p>
<a href="sign_up.html"><button id="creat_ac">Create An Account</button></a>
<br>
<br>
</div>
</div>
</div>
<div id="first_header">
<h3>Delivering in Mumbai, Delhi and Gurugram | Same day delivery!</h3>
</div>
<!-- Navbar -->
<div id="navbar">
</div>
<!-- Narbar end -->
<div id="banner">
<img src="https://cdn.shopify.com/s/files/1/0449/5225/6667/files/grow_by_kimaye.jpg?v=1609401696" alt="">
</div>
<!-- <div id="grow_with_kimaye">
<h1>GROW WITH KIMAYE</h1>
<P>Home / Archive by Category "Grow with Kimaye"</P>
<div id="specifications">
<h4> NUTRITION</h5>
<h4> LIFESTYLE MANAGMENT</h4>
<h4>CHILD'S NUTRITION</h4>
<h4> STORAGE & HANDLING</h4>
</div>
</div> -->
<div id="prod-cat">
<h1 style="font-size: 40px; font-family: monospace;">KIMAYE RECOMMENDS</h1>
<h2>A Handpicked and Curated Fruit offering</h2>
<div id="prods">
<div>
<img src="https://cdn.shopify.com/s/files/1/0449/5225/6667/collections/recommended-1-min_377x.png?v=1614338437"
alt="">
<h2>ALL FRUITS</h2>
<p>Pick and choose from a wide range of delicious fruits</p>
<button id="btn1">Shop Now</button>
</div>
<div>
<img src="https://cdn.shopify.com/s/files/1/0449/5225/6667/collections/category-inage_377x.jpg?v=1659083246"
alt="">
<h2>ALL VEGGIES</h2>
<p>A handpicked and curated offering.</p>
<button id="btn2">Shop Now</button>
</div>
<div>
<img src="https://cdn.shopify.com/s/files/1/0449/5225/6667/collections/recommended-3-min_377x.png?v=1614338730"
alt="">
<h2>FRESH CUTS</h2>
<p>We want to spoon-feed you...quite literally</p>
<button id="btn3">Shop Now</button>
</div>
<div>
<img src="https://cdn.shopify.com/s/files/1/0449/5225/6667/collections/recommended-2-min_377x.jpg?v=1614339080"
alt="">
<h2>FRUIT COMBOS</h2>
<p>Indulge in fruit combinations created by us</p>
<button>Shop Now</button>
</div>
<div>
<img src="https://cdn.shopify.com/s/files/1/0449/5225/6667/collections/Untitled_design_1-min_377x.png?v=1631516953"
alt="">
<h2>GIFTS BY KIMAYE</h2>
<p>Healthy & memorable gifts for your loves ones</p>
<button id="btn4">Shop Now</button>
</div>
</div>
</div>
<div id="kimahi">
<div id="fruit_img">
<img src="https://cdn.shopify.com/s/files/1/0449/5225/6667/files/kimahi_570x_2db87855-9260-47c2-a80e-3759af77dbea_570x.png?v=1622009438"
alt="">
</div>
<div id="text_content">
<h3>WE'D LIKE TO SAY <span style="color: red;">KIMA</span>HI</h3>
<p>Many of us share common safety concerns about the food we eat.</p>
<p id="para1"> When it comes to fruits and vegetables, these concerns are even more serious in tearms of the
way they are grown and handled throughout their farm-to-home journey. We make buying and eating fruits
and vegetables a worry-free and enjoyable experiance for you.</p>
<p id="para2"> Since 2009, we have set the benchmark for fruit safety and quality in countries. Kimaye is
now expanding its footprint in India, bringing you multiple varieties of fruit and vegetables that are
grown, packaged, and delivered in safest and most socially responsible manner.</p>
<div id="white-board">
<h3 style="font-size: 30px;">Kimaye is <span style="font-family: cursive">#all</span><span
style="color: red;font-family: cursive;">Safe</span><span style="font-family: cursive">#all
<span style="color: red;font-family: cursive;">Good</span></span></h3>
</div>
<button>KNOW MORE</button>
</div>
</div>
<div id="bt1">
<h1>THE SECRET'S OUT: WE'RE SUPER SAFE</h1>
<h3>Witness Our Journey</h3>
<div class="blocks">
<div class="block1">
<div>
<h4>Grown</h4>
<h4>Responsibly</h4>
<p>We foloow G.A.P (Good Agriculture Practices) to ensure food safety</p>
</div>
<div>
<img src="https://cdn.shopify.com/s/files/1/0449/5225/6667/files/secret-1_guetzli-min.jpg?v=1614755149"
alt="">
</div>
</div>
<div class="block1">
<div>
<h4>Handpicked</h4>
<h4>at farms</h4>
<p>Our trained Harvesting Supervisors ensure only the best fruits are picked</p>
</div>
<div>
<img src="https://cdn.shopify.com/s/files/1/0449/5225/6667/files/secret-2_guetzli-min.jpg?v=1622009925"
alt="">
</div>
</div>
<div class="block1">
<div>
<h4>Earning the</h4>
<h4>Kimaye Bedge</h4>
<p>Strigent quality checks at our automated packs house ensure only the best fruit go through.</p>
</div>
<div>
<img src="https://cdn.shopify.com/s/files/1/0449/5225/6667/files/secret-3_guetzli-min.jpg?v=1614755148"
alt="">
</div>
</div>
</div>
</div>
</div>
<div id="jazz">
<h1 id="jazz_tit">JAZZ IT UP WITH FRUITS</h1>
<div id="bx1">
<div id="p1">
<h1>Top Fruits Safety Tips You Should Be Swearing By Every Time You Consume Them.</h1>
<p>Fresh fruits bring with them a horde of health benifits, but it's the way we consume them that is...
</p>
</div>
<div id="p2">
<h1>Fruits Rich In Vitamin C That You Should Be Eating Everyday</h1>
<p>Remember the times when our mothers used to chase us every day with a bowl of fruits when we...</p>
</div>
</div>
</div>
<!-- Footer -->
<div id="footer">
</div>
</body>
</html>
<script src="homepage.js" type="module"></script>
<script type="module">
let myForm = document.getElementById("myForm");
myForm.addEventListener("submit", signin)
function signin(e) {
event.preventDefault();
let email = myForm.email.value;
let password = myForm.password.value;
let all_users = JSON.parse(localStorage.getItem("users"))
if (all_users === null) {
alert("invalid Email or Password")
} else {
if (email === all_users.email && password === all_users.password) {
alert("login successful!");
window.location.reload();
} else {
alert("invalid Email or Password")
}
}
}
let back = document.getElementById("back");
document.querySelector("#profile").addEventListener("click", function () {
back.style.display = "block"
})
import { login_css } from "./si.js"
document.querySelector("#login_page").innerHTML = login_css()
back.onclick = function (event) {
console.log(event.target.id)
if (event.target.id === "back_btn" || event.target.id === 'back') {
back.style.display = "none"
}
};
</script>