-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
98 lines (96 loc) · 4.29 KB
/
Copy pathindex.html
File metadata and controls
98 lines (96 loc) · 4.29 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WeGIVE - Surplus Redistribution</title>
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<header>
<h1>WeGIVE</h1>
<p>Connecting Corporate Surplus with Community Need</p>
</header>
<main>
<div class="container">
<!-- Corporate Donor Interface -->
<section id="corporate-donor">
<h2>For Corporate Donors</h2>
<div class="card">
<h3>Surplus Estimation Tool</h3>
<div class="form-group">
<label for="planned-pax">Planned Pax</label>
<input type="number" id="planned-pax" placeholder="e.g., 100">
</div>
<div class="form-group">
<label for="actual-attendance">Actual Attendance</label>
<input type="number" id="actual-attendance" placeholder="e.g., 80">
</div>
<button id="calculate-surplus">Estimate Surplus</button>
<p id="surplus-estimate">Estimated Surplus: <span>0</span> meals</p>
</div>
<div class="card">
<h3>List Surplus Goods</h3>
<form id="surplus-form">
<div class="form-group">
<label for="item-type">Item Type</label>
<input type="text" id="item-type" placeholder="e.g., Packaged Sandwiches" required>
</div>
<div class="form-group">
<label for="quantity">Quantity</label>
<input type="number" id="quantity" placeholder="e.g., 20" required>
</div>
<div class="form-group">
<label for="expiry-date">Expiry Date</label>
<input type="date" id="expiry-date" required>
</div>
<div class="form-group">
<label for="pickup-address">Pickup Address</label>
<input type="text" id="pickup-address" placeholder="e.g., 123 Main St, Anytown" required>
</div>
<button type="submit">List Item</button>
</form>
</div>
</section>
<!-- NGO/Recipient Interface -->
<section id="ngo-recipient">
<h2>For NGOs & Recipients</h2>
<div class="card">
<h3>Available Surplus Marketplace</h3>
<div id="marketplace-list">
<!-- Surplus items will be dynamically added here -->
</div>
</div>
</section>
<!-- MCP Integration Simulations -->
<section id="mcp-integrations">
<h2>Live Map & Scheduling</h2>
<div class="card">
<h3>Geo-Location Matching</h3>
<div id="map-placeholder">
<!-- Google Maps MCP integration would render a map here -->
<p>Map would be here.</p>
</div>
</div>
<div class="card">
<h3>Pickup Scheduling</h3>
<div id="calendar-placeholder">
<!-- Google Calendar MCP integration would render a calendar here -->
<p>Calendar would be here.</p>
</div>
</div>
<div class="card">
<h3>Impact Reporting</h3>
<button id="download-report">Download Impact Report (CSV)</button>
</div>
</section>
</div>
</main>
<footer>
<p>© 2024 WeGIVE. A Vibe Coding Workshop Project for SMU.</p>
</footer>
<script src="app.js"></script>
</body>
</html>