-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathguideline.html
420 lines (376 loc) · 13.2 KB
/
guideline.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
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Donation Guidelines - KindNests</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
nav {
background: white;
padding: 1rem;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
position: sticky;
top: 0;
z-index: 1000;
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
display: flex;
align-items: center;
gap: 10px;
color: rgb(69, 123, 157);
font-size: 1.5rem;
font-weight: bold;
text-decoration: none;
}
.nav-links {
display: flex;
gap: 20px;
}
.btn {
padding: 10px 20px;
border-radius: 5px;
border: none;
cursor: pointer;
font-weight: 500;
transition: all 0.3s ease;
}
.btn-primary {
background: rgb(69, 123, 157);
color: white;
}
.btn-outline {
background: transparent;
border: 1px solid rgb(69, 123, 157);
color: rgb(69, 123, 157);
}
.hero {
background: linear-gradient(135deg, rgb(69, 123, 157) 0%, rgba(69, 123, 157, 0.8) 100%);
color: white;
padding: 6rem 1rem;
text-align: center;
}
.hero h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.hero p {
font-size: 1.1rem;
max-width: 700px;
margin: 0 auto;
opacity: 0.9;
}
.content-container {
max-width: 1200px;
margin: 0 auto;
padding: 4rem 1rem;
}
.guidelines-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-bottom: 4rem;
}
.guideline-card {
background: white;
padding: 2rem;
border-radius: 15px;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
}
.guideline-card:hover {
transform: translateY(-5px);
}
.card-icon {
width: 60px;
height: 60px;
background: rgba(69, 123, 157, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
font-size: 1.5rem;
}
.guideline-card h3 {
color: #333;
margin-bottom: 1rem;
}
.guideline-card p {
color: #666;
line-height: 1.6;
margin-bottom: 1.5rem;
}
.accordion {
margin-bottom: 4rem;
}
.accordion-item {
background: white;
border-radius: 10px;
margin-bottom: 1rem;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.accordion-header {
padding: 1.5rem;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
color: #333;
font-weight: 500;
}
.accordion-content {
padding: 0 1.5rem;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
.accordion-content.active {
padding: 0 1.5rem 1.5rem;
max-height: 500px;
}
.accepted-items {
background: #f8f9fa;
padding: 4rem 0;
margin: 4rem 0;
}
.items-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.item-category {
background: white;
padding: 2rem;
border-radius: 15px;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.item-category h3 {
color: #333;
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 10px;
}
.item-list {
list-style: none;
}
.item-list li {
color: #666;
margin-bottom: 0.5rem;
display: flex;
align-items: center;
gap: 10px;
}
.item-list li::before {
content: "✓";
color: rgb(69, 123, 157);
}
.section-title {
text-align: center;
margin-bottom: 3rem;
}
.section-title h2 {
color: #333;
font-size: 2rem;
margin-bottom: 1rem;
}
.section-title p {
color: #666;
max-width: 600px;
margin: 0 auto;
}
@media (max-width: 768px) {
.nav-links {
display: none;
}
.hero {
padding: 4rem 1rem;
}
.content-container {
padding: 2rem 1rem;
}
}
</style>
</head>
<body>
<nav>
<div class="nav-container">
<a href="index.html" class="logo">
<span>♥</span>
<span>KindNests</span>
</a>
<div class="nav-links">
<a href="hiw.html" class="btn btn-outline" style="text-decoration: none;">How It Works</a>
<a href="browse.html" class="btn btn-outline" style="text-decoration: none;">Browse</a>
<!-- <a href="signin.html" class="btn btn-outline" style="text-decoration: none;">Sign In</a> -->
<a href="donation.html" class="btn btn-primary donation" style="text-decoration: none;">Get Started</a>
</div>
</div>
</nav>
<section class="hero">
<h1>Donation Guidelines</h1>
<p>Learn about our donation standards and requirements to ensure your contributions make the maximum impact.</p>
</section>
<div class="content-container">
<div class="guidelines-grid">
<div class="guideline-card">
<div class="card-icon">✨</div>
<h3>Quality Standards</h3>
<p>All donated items must be clean, functional, and in good condition. Items should have at least 6 months of usable life remaining.</p>
<button class="btn btn-outline">Learn More</button>
</div>
<div class="guideline-card">
<div class="card-icon">📦</div>
<h3>Packaging Requirements</h3>
<p>Items should be properly packaged to prevent damage during transport. Use appropriate boxes and padding materials.</p>
<button class="btn btn-outline">View Details</button>
</div>
<div class="guideline-card">
<div class="card-icon">📅</div>
<h3>Scheduling</h3>
<p>Schedule your donation drop-off at least 24 hours in advance. This helps us prepare adequate space and staff.</p>
<button class="btn btn-outline">Schedule Now</button>
</div>
</div>
<div class="accordion">
<div class="section-title">
<h2>Common Questions</h2>
<p>Find answers to frequently asked questions about our donation process.</p>
</div>
<div class="accordion-item">
<div class="accordion-header">
What items are not accepted?
<span>+</span>
</div>
<div class="accordion-content">
<p>We cannot accept:<br>
- Broken or damaged items<br>
- Items with missing parts<br>
- Expired products<br>
- Hazardous materials<br>
- Used personal care items</p>
</div>
</div>
<div class="accordion-item">
<div class="accordion-header">
How do I prepare items for donation?
<span>+</span>
</div>
<div class="accordion-content">
<p>To prepare your items:<br>
1. Clean all items thoroughly<br>
2. Check for completeness<br>
3. Package fragile items carefully<br>
4. Label boxes with contents<br>
5. Keep related items together</p>
</div>
</div>
<div class="accordion-item">
<div class="accordion-header">
What documentation do I need?
<span>+</span>
</div>
<div class="accordion-content">
<p>Please bring:<br>
- Valid ID<br>
- List of donated items<br>
- Any warranty cards or manuals (if applicable)<br>
- Original packaging (when possible)</p>
</div>
</div>
</div>
</div>
<section class="accepted-items">
<div class="content-container">
<div class="section-title">
<h2>Accepted Items</h2>
<p>Below is a list of items we currently accept for donation.</p>
</div>
<div class="items-grid">
<div class="item-category">
<h3>📚 Educational</h3>
<ul class="item-list">
<li>Textbooks (less than 5 years old)</li>
<li>School supplies</li>
<li>Educational toys</li>
<li>Learning materials</li>
</ul>
</div>
<div class="item-category">
<h3>👕 Clothing</h3>
<ul class="item-list">
<li>Clean, gently used clothing</li>
<li>New undergarments</li>
<li>Shoes in good condition</li>
<li>Accessories</li>
</ul>
</div>
<div class="item-category">
<h3>🏠 Household</h3>
<ul class="item-list">
<li>Furniture in good condition</li>
<li>Working appliances</li>
<li>Kitchen items</li>
<li>Bedding and linens</li>
</ul>
</div>
<div class="item-category">
<h3>🖥️ Electronics</h3>
<ul class="item-list">
<li>Working computers</li>
<li>Tablets and phones</li>
<li>Printers and accessories</li>
<li>Charging cables</li>
</ul>
</div>
</div>
</div>
</section>
<script>
document.querySelectorAll('#hiw').forEach(button => {
button.addEventListener('click', function(e) {
e.preventDefault();
window.location.href = 'hiw.html';
});
});
document.querySelectorAll('.donation').forEach(button => {
button.addEventListener('click', function(e) {
e.preventDefault();
window.location.href = 'donation.html';
});
});
// Accordion functionality
document.querySelectorAll('.accordion-header').forEach(header => {
header.addEventListener('click', function() {
const content = this.nextElementSibling;
const isActive = content.classList.contains('active');
// Close all accordion items
document.querySelectorAll('.accordion-content').forEach(item => {
item.classList.remove('active');
});
document.querySelectorAll('.accordion-header span').forEach(span => {
span.textContent = '+';
});
// Open clicked item if it wasn't active
if (!isActive) {
content.classList.add('active');
this.querySelector('span').textContent = '-';
}
});
});
</script>
</body>
</html>