communitypulse-hub / user-dashboard.html
vanrowin's picture
Change CommunityPulse into United Tagaligtas Eagles Club and currency to Philippine Peso (Php)
22e6c33 verified
Raw
History Blame Contribute Delete
10.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Dashboard | CommunityPulse Hub</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: {
500: '#6366f1',
600: '#4f46e5'
},
secondary: {
500: '#8b5cf6',
600: '#7c3aed'
}
}
}
}
}
</script>
</head>
<body class="bg-gray-50 min-h-screen flex flex-col">
<custom-navbar></custom-navbar>
<main class="flex-grow container mx-auto px-4 py-8">
<div class="mb-8">
<h1 class="text-2xl font-bold text-gray-800">Welcome back, John!</h1>
<p class="text-gray-600">Here's your community overview</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500">Your Monthly Dues</p>
<h3 class="text-3xl font-bold text-gray-800">₱2,500</h3>
</div>
<div class="p-3 rounded-full bg-primary-100 text-primary-500">
<i data-feather="credit-card" class="w-6 h-6"></i>
</div>
</div>
<div class="mt-4">
<span class="text-green-500 flex items-center gap-1">
<i data-feather="check" class="w-4 h-4"></i>
Paid this month
</span>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500">Next Payment Due</p>
<h3 class="text-3xl font-bold text-gray-800">June 1</h3>
</div>
<div class="p-3 rounded-full bg-blue-100 text-blue-500">
<i data-feather="calendar" class="w-6 h-6"></i>
</div>
</div>
<div class="mt-4">
<span class="text-gray-500">in 15 days</span>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500">Community Balance</p>
<h3 class="text-3xl font-bold text-gray-800">₱786,600</h3>
</div>
<div class="p-3 rounded-full bg-green-100 text-green-500">
<i data-feather="dollar-sign" class="w-6 h-6"></i>
</div>
</div>
<div class="mt-4">
<span class="text-green-500 flex items-center gap-1">
<i data-feather="trending-up" class="w-4 h-4"></i>
15% from last month
</span>
</div>
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<div class="lg:col-span-2 bg-white rounded-lg shadow overflow-hidden">
<div class="p-6 border-b border-gray-200">
<h3 class="text-lg font-medium text-gray-900">Your Recent Payments</h3>
</div>
<div class="divide-y divide-gray-200">
<div class="p-6 flex items-center justify-between hover:bg-gray-50 transition duration-150">
<div class="flex items-center gap-4">
<div class="p-3 rounded-full bg-green-100 text-green-500">
<i data-feather="check" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">May 2023 Dues</p>
<p class="text-sm text-gray-500">Processed on May 1, 2023</p>
</div>
</div>
<div class="text-right">
<p class="font-medium text-green-500">+₱2,500</p>
<p class="text-sm text-gray-500">Paid</p>
</div>
</div>
<div class="p-6 flex items-center justify-between hover:bg-gray-50 transition duration-150">
<div class="flex items-center gap-4">
<div class="p-3 rounded-full bg-green-100 text-green-500">
<i data-feather="check" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">April 2023 Dues</p>
<p class="text-sm text-gray-500">Processed on April 1, 2023</p>
</div>
</div>
<div class="text-right">
<p class="font-medium text-green-500">+$50.00</p>
<p class="text-sm text-gray-500">Paid</p>
</div>
</div>
<div class="p-6 flex items-center justify-between hover:bg-gray-50 transition duration-150">
<div class="flex items-center gap-4">
<div class="p-3 rounded-full bg-green-100 text-green-500">
<i data-feather="check" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">March 2023 Dues</p>
<p class="text-sm text-gray-500">Processed on March 1, 2023</p>
</div>
</div>
<div class="text-right">
<p class="font-medium text-green-500">+$50.00</p>
<p class="text-sm text-gray-500">Paid</p>
</div>
</div>
<div class="p-6 flex items-center justify-between hover:bg-gray-50 transition duration-150">
<div class="flex items-center gap-4">
<div class="p-3 rounded-full bg-green-100 text-green-500">
<i data-feather="check" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">February 2023 Dues</p>
<p class="text-sm text-gray-500">Processed on February 1, 2023</p>
</div>
</div>
<div class="text-right">
<p class="font-medium text-green-500">+$50.00</p>
<p class="text-sm text-gray-500">Paid</p>
</div>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="p-6 border-b border-gray-200">
<h3 class="text-lg font-medium text-gray-900">Quick Actions</h3>
</div>
<div class="p-6 space-y-4">
<a href="/user-dues.html" class="block p-4 bg-gray-50 hover:bg-gray-100 rounded-lg transition duration-150 flex items-center gap-3">
<div class="p-3 rounded-full bg-primary-100 text-primary-500">
<i data-feather="credit-card" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">Pay Dues</p>
<p class="text-sm text-gray-500">Submit your monthly payment</p>
</div>
</a>
<a href="/user-profile.html" class="block p-4 bg-gray-50 hover:bg-gray-100 rounded-lg transition duration-150 flex items-center gap-3">
<div class="p-3 rounded-full bg-secondary-100 text-secondary-500">
<i data-feather="user" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">Your Profile</p>
<p class="text-sm text-gray-500">View and update your information</p>
</div>
</a>
<a href="/user-history.html" class="block p-4 bg-gray-50 hover:bg-gray-100 rounded-lg transition duration-150 flex items-center gap-3">
<div class="p-3 rounded-full bg-yellow-100 text-yellow-500">
<i data-feather="file-text" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">Payment History</p>
<p class="text-sm text-gray-500">View all your past transactions</p>
</div>
</a>
<a href="/community-news.html" class="block p-4 bg-gray-50 hover:bg-gray-100 rounded-lg transition duration-150 flex items-center gap-3">
<div class="p-3 rounded-full bg-green-100 text-green-500">
<i data-feather="bell" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">Community News</p>
<p class="text-sm text-gray-500">Latest updates from your community</p>
</div>
</a>
</div>
</div>
</div>
</main>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
</script>
</body>
</html>