-
Choose an amount
-
- {tiers.map((t) => (
-
${t.amount}
+
+
Choose Your Donation Amount
+
Every dollar directly supports students in need
+
+
+ {/* Suggested Amounts */}
+
+ {suggestedAmounts.map((tier) => (
+
{
+ setSelectedAmount(tier.amount)
+ setCustomAmount('')
+ }}
+ className={`relative p-4 rounded-xl border-2 transition-all focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 ${
+ selectedAmount === tier.amount && !customAmount
+ ? 'border-primary-500 bg-primary-50 dark:bg-primary-900/20'
+ : 'border-neutral-200 dark:border-neutral-700 hover:border-primary-300'
+ }`}
+ whileHover={{ scale: 1.02 }}
+ whileTap={{ scale: 0.98 }}
+ aria-label={`Donate $${tier.amount} - ${tier.impact}`}
+ >
+ {tier.popular && (
+
+
+ Most Popular
+
+
+ )}
+
+ ${tier.amount}
+
+
+ {tier.impact}
+
+
))}
-
-
-
+
+ {/* Sidebar */}
+
+ {/* Trust Indicators */}
+
+
+
+
+
501(c)(3) Verified
+
Tax-deductible donations
+
+
+
+
+ Program expenses:
+ 85%
+
+
+ Administrative:
+ 10%
+
+
+ Fundraising:
+ 5%
+
+
+
+
+ {/* Recent Impact */}
+
+
Recent Impact
+
+
+
+
+ 127 students received school supplies this month
+
+
+
+
+
+ 43 families got emergency clothing support
+
+
+
+
+
+ $12,450 raised this week by donors like you
+
+
+
+
+
+ {/* Contact Info */}
+
+
Questions about donating?
+
-
)
@@ -1128,6 +1505,867 @@ function Card({ title, icon: Icon, children }: CardProps) {
)
}
+// Assistance Request Page
+function AssistanceRequestPage() {
+ const [formData, setFormData] = useState({
+ requestType: '',
+ urgency: 'medium',
+ studentInfo: {
+ firstName: '',
+ lastName: '',
+ grade: '',
+ school: '',
+ studentId: ''
+ },
+ contactInfo: {
+ parentName: '',
+ phone: '',
+ email: '',
+ address: '',
+ relationship: ''
+ },
+ needs: {
+ schoolSupplies: false,
+ clothing: false,
+ shoes: false,
+ backpack: false,
+ emergency: false,
+ other: false,
+ otherDescription: ''
+ },
+ details: '',
+ verificationMethod: 'school'
+ })
+
+ const handleSubmit = (e: React.FormEvent) => {
+ e.preventDefault()
+ alert('Request submitted successfully! We will contact you within 24-48 hours.')
+ }
+
+ return (
+
+
+ {/* Emergency Notice */}
+
+
+
+
+
Emergency Assistance
+
+ For urgent needs (no food, no warm clothing in winter, etc.), please call us directly at
+ (818) 491-6884 for immediate assistance.
+
+
+ This form is for non-emergency assistance requests and will be processed within 24-48 hours.
+
+
+
+
+
+
+
+
+ )
+}
+
+// Portals Overview Page
+function PortalsPage() {
+ return (
+
+
+
+ {/* Admin Portal */}
+
+
+
+
+
+
Administration Portal
+
+ Full system access for administrators and directors
+
+
+
+
+
+
+ Manage all requests & approvals
+
+
+
+ System configuration & reports
+
+
+
+ User management & permissions
+
+
+
+
+ Access Admin Portal
+
+
+
+ {/* Volunteer Portal */}
+
+
+
+
+
+
Volunteer Portal
+
+ For employees, volunteers, and coordinators
+
+
+
+
+
+
+ View assigned tasks & deliveries
+
+
+
+ Schedule & availability management
+
+
+
+
Inventory & kit assembly
+
+
+
+
+ Access Volunteer Portal
+
+
+
+ {/* Resource Center Portal */}
+
+
+
+
+
+
Resource Center Portal
+
+ For schools, social workers, and partner organizations
+
+
+
+
+
+
+ Submit student assistance requests
+
+
+
+ Track request status & approvals
+
+
+
+ Coordinate delivery & pickup
+
+
+
+
+ Access Resource Portal
+
+
+
+
+ {/* Access Information */}
+
+
+
+
Access Requirements
+
+
+
+
+
New Users
+
+ - • Contact your supervisor for account setup
+ - • Provide official email address
+ - • Complete background check (if required)
+ - • Attend system orientation session
+
+
+
+
Login Issues
+
+ - • Use forgot password link on login page
+ - • Contact IT support: support@mim4u.org
+ - • Call main office: (818) 491-6884
+ - • Check email for account activation
+
+
+
+
+
+
+ )
+}
+
+// Admin Portal Dashboard
+function AdminPortalPage() {
+ const [stats] = useState({
+ pendingRequests: 23,
+ activeVolunteers: 47,
+ deliveriesToday: 8,
+ monthlyBudget: 15000,
+ monthlySpent: 8250
+ })
+
+ return (
+
+
+ {/* Quick Stats */}
+
+
+
+
+
Pending Requests
+
{stats.pendingRequests}
+
+
+
+
+
+
+
+
+
Active Volunteers
+
{stats.activeVolunteers}
+
+
+
+
+
+
+
+
+
Deliveries Today
+
{stats.deliveriesToday}
+
+
+
+
+
+
+
+
+
Budget Used
+
{Math.round((stats.monthlySpent / stats.monthlyBudget) * 100)}%
+
+
+
+
+
+
+
+ {/* Recent Requests */}
+
+
+
+
Recent Assistance Requests
+
+
+
+ {[
+ { student: 'Maria S.', school: 'Porter Elementary', need: 'School supplies', priority: 'High', time: '2 hours ago' },
+ { student: 'James R.', school: 'Valley Middle School', need: 'Winter clothing', priority: 'Medium', time: '4 hours ago' },
+ { student: 'Ana L.', school: 'Northridge High', need: 'Backpack & supplies', priority: 'Low', time: '1 day ago' }
+ ].map((request, i) => (
+
+
+
+ {request.student}
+
+ {request.priority}
+
+
+
{request.school}
+
{request.need}
+
+
+
{request.time}
+
+
+
+ ))}
+
+
+
+
+ {/* Quick Actions */}
+
+
+
Quick Actions
+
+
+
+
+
+
+
+
+
+
+
+ )
+}
+
+// Volunteer Portal Dashboard
+function VolunteerPortalPage() {
+ return (
+
+
+ {/* Today's Tasks */}
+
+
+
+
+
Today's Schedule
+
Tuesday, March 14, 2024
+
+
+
+
+ {[
+ { time: '9:00 AM', task: 'Kit Assembly - Elementary Supplies', location: 'Main Warehouse', students: 12 },
+ { time: '1:00 PM', task: 'Delivery Route - Porter Ranch Area', location: 'Various Schools', students: 5 },
+ { time: '3:30 PM', task: 'Inventory Count - Winter Clothing', location: 'Storage Room B', students: null }
+ ].map((task, i) => (
+
+
+
+
+
{task.task}
+
{task.location}
+ {task.students &&
{task.students} students served
}
+
+
+
+
+ ))}
+
+
+
+
+ {/* Assigned Deliveries */}
+
+
+
Pending Deliveries
+
+
+
+ {[
+ { student: 'Sofia M.', items: 'Backpack, Notebooks', school: 'Valley Elementary', deadline: 'Tomorrow' },
+ { student: 'Carlos R.', items: 'Winter jacket, Gloves', school: 'Oak Middle School', deadline: 'Friday' },
+ { student: 'Emma K.', items: 'Art supplies kit', school: 'Northridge High', deadline: 'Next week' }
+ ].map((delivery, i) => (
+
+
+ {delivery.student}
+ {delivery.deadline}
+
+
{delivery.items}
+
{delivery.school}
+
+ ))}
+
+
+
+ {/* Volunteer Stats */}
+
+
Your Impact This Month
+
+
+
+
+ Students Helped
+
+
47
+
+
+
+
+
+ Deliveries Made
+
+
15
+
+
+
+
+ Hours Volunteered
+
+
32
+
+
+
+
+
+
+ )
+}
+
+// Resource Center Portal Dashboard
+function ResourcePortalPage() {
+ return (
+
+
+ {/* Quick Submit */}
+
+
+
+
+
Quick Request Submission
+
Submit a new student assistance request
+
+
+
+
+
+
+
+ {/* Request Status */}
+
+
+
+
Your Recent Requests
+
+
+
+ {[
+ { id: 'REQ-2024-0342', student: 'Maria Santos', status: 'In Progress', need: 'School supplies', submitted: '2 days ago', eta: 'Tomorrow' },
+ { id: 'REQ-2024-0341', student: 'James Rodriguez', status: 'Approved', need: 'Winter clothing', submitted: '3 days ago', eta: 'Today' },
+ { id: 'REQ-2024-0340', student: 'Ana Lopez', status: 'Delivered', need: 'Backpack & supplies', submitted: '1 week ago', eta: 'Completed' }
+ ].map((request, i) => (
+
+
+
+ {request.id}
+
+ {request.status}
+
+
+
{request.submitted}
+
+
+
+
{request.student}
+
{request.need}
+
+
+
ETA: {request.eta}
+
+
+
+
+ ))}
+
+
+
+
+ {/* Stats & Resources */}
+
+
+
Monthly Summary
+
+
+ Requests Submitted
+ 12
+
+
+ Students Helped
+ 28
+
+
+ Avg. Response Time
+ 18 hrs
+
+
+
+
+
+
+
+
+
+ )
+}
+
function NotFoundPage() {
return (