|
|
<!DOCTYPE html> |
|
|
<html lang="en"> |
|
|
<head> |
|
|
<meta charset="UTF-8"> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
|
<title>Account - ParcelPath Pro Express</title> |
|
|
<link rel="stylesheet" href="style.css"> |
|
|
<script src="https://cdn.tailwindcss.com"></script> |
|
|
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> |
|
|
</head> |
|
|
<body class="bg-gray-100"> |
|
|
<custom-navbar></custom-navbar> |
|
|
|
|
|
<main class="container mx-auto px-4 py-12"> |
|
|
<div class="max-w-4xl mx-auto bg-white rounded-xl shadow-md overflow-hidden"> |
|
|
<div class="p-8"> |
|
|
<div class="flex flex-col md:flex-row gap-8"> |
|
|
<div class="md:w-1/3"> |
|
|
<div class="text-center mb-6"> |
|
|
<div class="w-24 h-24 rounded-full bg-purple-100 mx-auto mb-4 flex items-center justify-center"> |
|
|
<i data-feather="user" class="text-purple-600 w-10 h-10"></i> |
|
|
</div> |
|
|
<h2 class="text-xl font-bold">Welcome, User!</h2> |
|
|
<p class="text-gray-600">Premium Member</p> |
|
|
</div> |
|
|
|
|
|
<nav class="space-y-2"> |
|
|
<a href="#" class="block px-4 py-2 text-purple-600 bg-purple-50 rounded-lg font-medium">Dashboard</a> |
|
|
<a href="#" class="block px-4 py-2 text-gray-600 hover:bg-gray-50 rounded-lg">Shipping History</a> |
|
|
<a href="#" class="block px-4 py-2 text-gray-600 hover:bg-gray-50 rounded-lg">Payment Methods</a> |
|
|
<a href="#" class="block px-4 py-2 text-gray-600 hover:bg-gray-50 rounded-lg">Address Book</a> |
|
|
<a href="#" class="block px-4 py-2 text-gray-600 hover:bg-gray-50 rounded-lg">Settings</a> |
|
|
<a href="#" class="block px-4 py-2 text-red-600 hover:bg-red-50 rounded-lg">Logout</a> |
|
|
</nav> |
|
|
</div> |
|
|
|
|
|
<div class="md:w-2/3"> |
|
|
<h1 class="text-2xl font-bold text-gray-800 mb-6">Account Dashboard</h1> |
|
|
|
|
|
<div class="grid grid-cols-2 gap-4 mb-8"> |
|
|
<div class="bg-purple-50 p-4 rounded-lg"> |
|
|
<p class="text-sm text-purple-600 mb-1">Monthly Shipments</p> |
|
|
<p class="text-2xl font-bold">24</p> |
|
|
</div> |
|
|
<div class="bg-blue-50 p-4 rounded-lg"> |
|
|
<p class="text-sm text-blue-600 mb-1">Loyalty Points</p> |
|
|
<p class="text-2xl font-bold">1,250</p> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="mb-8"> |
|
|
<h2 class="text-xl font-semibold mb-4">Recent Shipments</h2> |
|
|
<div class="overflow-x-auto"> |
|
|
<table class="min-w-full bg-white"> |
|
|
<thead> |
|
|
<tr class="bg-gray-50"> |
|
|
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Tracking #</th> |
|
|
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> |
|
|
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Delivery</th> |
|
|
</tr> |
|
|
</thead> |
|
|
<tbody class="divide-y divide-gray-200"> |
|
|
<tr> |
|
|
<td class="px-4 py-3 whitespace-nowrap text-sm font-medium text-purple-600">PP1234567890</td> |
|
|
<td class="px-4 py-3 whitespace-nowrap text-sm text-green-600">Delivered</td> |
|
|
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-500">May 15, 2023</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td class="px-4 py-3 whitespace-nowrap text-sm font-medium text-purple-600">PP9876543210</td> |
|
|
<td class="px-4 py-3 whitespace-nowrap text-sm text-blue-600">In Transit</td> |
|
|
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-500">May 18, 2023</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td class="px-4 py-3 whitespace-nowrap text-sm font-medium text-purple-600">PP4567891230</td> |
|
|
<td class="px-4 py-3 whitespace-nowrap text-sm text-yellow-600">Processing</td> |
|
|
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-500">May 20, 2023</td> |
|
|
</tr> |
|
|
</tbody> |
|
|
</table> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div> |
|
|
<h2 class="text-xl font-semibold mb-4">Quick Actions</h2> |
|
|
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4"> |
|
|
<a href="#" class="bg-gray-50 p-4 rounded-lg hover:bg-gray-100 transition flex items-center"> |
|
|
<div class="bg-purple-100 text-purple-600 p-2 rounded-full mr-4"> |
|
|
<i data-feather="plus"></i> |
|
|
</div> |
|
|
<span>Create New Shipment</span> |
|
|
</a> |
|
|
<a href="#" class="bg-gray-50 p-4 rounded-lg hover:bg-gray-100 transition flex items-center"> |
|
|
<div class="bg-blue-100 text-blue-600 p-2 rounded-full mr-4"> |
|
|
<i data-feather="repeat"></i> |
|
|
</div> |
|
|
<span>Schedule Pickup</span> |
|
|
</a> |
|
|
<a href="#" class="bg-gray-50 p-4 rounded-lg hover:bg-gray-100 transition flex items-center"> |
|
|
<div class="bg-green-100 text-green-600 p-2 rounded-full mr-4"> |
|
|
<i data-feather="dollar-sign"></i> |
|
|
</div> |
|
|
<span>View Shipping Rates</span> |
|
|
</a> |
|
|
<a href="#" class="bg-gray-50 p-4 rounded-lg hover:bg-gray-100 transition flex items-center"> |
|
|
<div class="bg-yellow-100 text-yellow-600 p-2 rounded-full mr-4"> |
|
|
<i data-feather="map-pin"></i> |
|
|
</div> |
|
|
<span>Find Locations</span> |
|
|
</a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</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> |