-
Notifications
You must be signed in to change notification settings - Fork 31
/
index.html
377 lines (348 loc) · 14.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
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
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<!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" />
<title>Donaate</title>
<link rel="icon" type="image/x-icon" href="/Donaate-UI/Favicon.png">
<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=Kaushan+Script&family=Passion+One:wght@700&family=Poppins:wght@400;600;700&display=swap"
rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="mainContainer">
<div class="navContainer">
<div class="logoContainer">
<img src="Donaate-UI/Slider 3.png" class="imgStyle">
</div>
<div class="menuContainer">
<ul>
<li><a href="#about">About</a></li>
<li><a href="#donate">Donation</a></li>
<li><a href="#faq">FAQs</a></li>
</ul>
</div>
</div>
<div class="contentContainer">
<div class="quoteContainer">
<div class="tagLineContainer">
<h1 class="tagLineContainer--invcomma">
<img src="./Donaate-UI/Vector.png">
<img src="./Donaate-UI/Vector.png">
</h1>
<p class="tagLineContainer--desc">
Giving is not just about making a<br>
donation.It is about making a difference.
</p>
</div>
<div class="btnAndNameMain">
<div class="btn-container">
<button class="button" onclick="window.location.href = '#donate';">
Donate Now
</button>
</div>
<div class="poetName">
<p><i>- Kathy Calvin</i></p>
</div>
</div>
</div>
<div class="pictureContainer">
<img src="Donaate-UI/hero.png" class="pictureStyle" alt="" />
</div>
</div>
</div>
<!-- about section starts -->
<section id="about">
<div class="secondmaincontainer">
<div id="about" class="fullaboutcontainer">
<div class="aboutheadcontainer">
<div class="headstyle">
<h1>About Our Platform</h1>
</div>
</div>
<div class="aboutcontentcontainer">
<div class="contentstyle">
<h5>
There are children in need of people who can donate clothes and
money. These children are living in poverty, their parents
cannot afford to buy them new clothes or pay for their school
supplies and many do not have parents too. By donating clothes
and money you can help these children get the supplies they need
to succeed in school and have a better future.
</h5>
</div>
</div>
</div>
<div class="imagecontainer">
<div class="imagebox">
<div class="firstlinestyle">
<h1>You are someone who can bring smile on their faces.</h1>
</div>
<br>
<hr style="width: 20%; text-align: center; margin-left: 40%" />
<br>
<div class="secondlinestyle">
Your small action of goodness can make someone's life better
through<br>
this platform you can donate money and clothes for the children
in<br>
slums and shelter homes.
</div>
</div>
</div>
<div class="aboutlastcontainer">
<div class="firstinnercontainer">
<div class="innerstyle">
<h1>Donations are used to help children in following ways:</h1>
</div>
</div>
<div class="secondinnercontainer">
<ul class="sidestyle">
<div class="circle">
<img class="ellipse" src="Donaate-UI/Ellipse 1.png" alt="/" />
<li style="line-height: 95%; color: #07360f">
To provide them basic necessities like
<strong>food, clothes</strong> and
<strong>shelter.</strong>
</li>
</div>
<div class="circle">
<img class="ellipse" src="Donaate-UI/Ellipse 1.png" alt="/" />
<li style="line-height: 95%; color: #07360f">
To help them to get access to
<strong>education</strong> and
<strong>health care.</strong>
</li>
</div>
<div class="circle">
<img class="ellipse" src="Donaate-UI/Ellipse 1.png" alt="/" />
<li style="line-height: 95%; color: #07360f">
To provide them with
<strong>livelihood opportunities</strong> so that they can
earn a dignified living.
</li>
</div>
</ul>
</div>
</div>
</div>
</section>
<!-- about section ends here -->
<!-- starts -->
<div class="donate-container" id="donate">
<div class="text-container">
<div class="img-container">
<img src="Donaate-UI/Elements/Star.svg" />
</div>
<h1>Donate Here</h1>
<div class="brief">
<div>You can help us by donating money or clothes</div>
<div>or else with your support and good wishes.</div>
</div>
</div>
<img class="arrowstyle1" src="Donaate-UI/Elements/Arrow 1.svg" />
<div class="content">
<div class="left-content">
<h2>Donate money online here</h2>
<a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">https://www.youtube.com/watch?v=dQw4w9WgXcQ</a>
<div>
<h4>
<i>
*We assure that your information is safe. We use latest Security
Measures to protect your data and keep your transactions secure.
</i>
</h4>
</div>
</div>
<div class="left-content">
<h2>Donate books and other stationery here</h2>
<a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">https://www.youtube.com/watch?v=dQw4w9WgXcQ</a>
<div>
<h4>
<i>
*We assure that your information is safe. We use latest Security
Measures to protect your data and keep your transactions secure.
</i>
</h4>
</div>
</div>
<div class="right-content">
<h2>For clothes fill this form</h2>
<a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">https://www.youtube.com/watch?v=dQw4w9WgXcQ</a>
<div>
<h4>
<i>
*After you filled the form our voulnteer will reach you out and
collect your donations and provide them.
</i>
</h4>
</div>
</div>
<div class="right-content">
<h2>For grocery items fill this form</h2>
<a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">https://www.youtube.com/watch?v=dQw4w9WgXcQ</a>
<div>
<h4>
<i>
*After you filled the form our voulnteer will reach you out and
collect your donations and provide them.
</i>
</h4>
</div>
</div>
</div>
<img class="arrowstyle2" src="Donaate-UI/Elements/Arrow 2.svg">
</div>
<!-- FAQ starts here -->
<div class="faq" id="faq">
<div class="FAQ">
<h1>Frequently asked questions</h1>
</div>
<div class="question">
<hr>
<div class="question-2">
<h2>Can you volunteer in this program</h2>
<button id="button" class="btn-1">+</button>
</div>
<div id="paragraph" class="paragraph">
<p>
Thankyou for your intrest in volunteering with our organisation. At this time we do not have any
volunteering oppurtunities available. please check back at a later date a later date
</p>
</div>
<hr>
<div class=" question-2 ">
<h2>How do i create an account</h2>
<button id="btn-2" class="btn-2">+</button>
</div>
<div id="paragraph-2" class="paragraph">
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Veniam quae recusandae quidem fugit earum
eum nam ea ex natus. Quia laboriosam voluptas adipisci ducimus sapiente quos hic sunt expedita
cupiditate, animi sed aliquid
</p>
</div>
<hr>
<div class="question-2">
<h2>How do i create an account</h2>
<button id="btn-3" class="btn-2">+</button>
</div>
<div id="paragraph-3" class="paragraph">
<p>
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Nobis facere temporibus adipisci iste
deserunt ut consequatur odit impedit libero
</p>
</div>
<hr>
</div>
</div>
<!-- contact starts here -->
<div class="contactcontainer">
<div class="greenbox">
<div class="container1">
<b>Contact Us</b>
</div>
<div class="container2">
<div class="subcontainer1">
<b>Contact Numbers</b>
<hr class="hrs">
<ul class="numberstyle">
<li>+91 123 456 789</li>
<li>+91 123 456 789</li>
<li>+91 123 456 789</li>
</ul>
</div>
<div class="subcontainer2">
<b>Email us</b>
<hr class="hrs2" />
<div class="emailstyle">random@gmail.com</div>
</div>
<div class="subcontainer3">
<b>Social Media</b>
<hr class="hrs3" />
<ul class="socialstyle">
<li>Instagram</li>
<li>Facebook</li>
<li>Facebook</li>
</ul>
</div>
</div>
</div>
</div>
<footer>
<div class="container-fluid1">
<div class="logocontainer">
<img src="Donaate-UI\Logo.png" class="imgStyle" />
</div>
<div class="footer-buttons">
<a href="#about" class="about">About</a>
<a href="#donate">Donation</a>
<a href="#faq">FAQs</a>
</div>
</div>
<div class="container-fluid2">
<p>©Donaate 2022</p>
</div>
</footer>
<!-- code for scroll to top feature button -->
<a href="#" id="btn-back-to-top" style="display: none"><span></span></a>
<script type="text/javascript">
document.getElementById("button").onclick = (event) => {
let k = document.getElementById("paragraph");
if (window.getComputedStyle(k).display === "none") {
k.style.display = "block";
document.getElementById("button").innerHTML = "-";
} else {
k.style.display = "none";
document.getElementById("button").innerHTML = "+";
}
};
document.getElementById("btn-2").onclick = (event) => {
let k = document.getElementById("paragraph-2");
if (window.getComputedStyle(k).display === "none") {
k.style.display = "block";
document.getElementById("btn-2").innerHTML = "-";
} else {
k.style.display = "none";
document.getElementById("btn-2").innerHTML = "+";
}
};
document.getElementById("btn-3").onclick = (event) => {
let k = document.getElementById("paragraph-3");
if (window.getComputedStyle(k).display === "none") {
k.style.display = "block";
document.getElementById("btn-3").innerHTML = "-";
} else {
k.style.display = "none";
document.getElementById("btn-3").innerHTML = "+";
}
};
//Get the button
let mybutton = document.getElementById("btn-back-to-top");
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function () {
scrollFunction();
};
function scrollFunction() {
if (
document.body.scrollTop > 0 ||
document.documentElement.scrollTop > 0
) {
mybutton.style.display = "block";
} else {
mybutton.style.display = "none";
}
}
// When the user clicks on the button, scroll to the top of the document
mybutton.addEventListener("click", backToTop);
function backToTop() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
</body>
</html>