scholarmetrics-pro / dashboard.html
leucode1's picture
You are an expert full-stack web developer and UI/UX designer specializing in building data-driven, monetizable SaaS applications. You have a deep understanding of API integrations, user authentication, subscription management, and creating clean, professional user interfaces.
6d75597 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dashboard - ScholarMetrics Pro</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css">
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
</head>
<body class="bg-gray-50">
<nav class="bg-blue-800 text-white p-4 shadow-md">
<div class="container mx-auto flex justify-between items-center">
<a href="/" class="text-2xl font-bold">ScholarMetrics Pro 📊</a>
<div class="flex items-center space-x-4">
<span class="font-medium">Welcome, User</span>
<a href="#" class="hover:text-blue-200">
<i data-feather="user"></i>
</a>
<a href="#" class="hover:text-blue-200">
<i data-feather="log-out"></i>
</a>
</div>
</div>
</nav>
<div class="container mx-auto px-4 py-8">
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<!-- Plan Info Card -->
<div class="bg-white rounded-lg shadow-md p-6">
<div class="flex items-center justify-between mb-4">
<h2 class="text-xl font-bold text-blue-800">Your Plan</h2>
<span class="bg-green-100 text-green-800 px-3 py-1 rounded-full text-sm font-medium">Individual</span>
</div>
<div class="space-y-4">
<div>
<p class="text-gray-600">Reports this month</p>
<div class="flex items-center justify-between">
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-blue-600 h-2.5 rounded-full" style="width: 40%"></div>
</div>
<span class="ml-2 text-sm font-medium">2/5</span>
</div>
</div>
<div>
<p class="text-gray-600">Next billing date</p>
<p class="font-medium">June 15, 2023</p>
</div>
<button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-md transition">
Manage Subscription
</button>
</div>
</div>
<!-- Quick Actions -->
<div class="bg-white rounded-lg shadow-md p-6">
<h2 class="text-xl font-bold text-blue-800 mb-4">Quick Actions</h2>
<div class="space-y-3">
<a href="/new-report" class="flex items-center p-3 bg-green-50 hover:bg-green-100 rounded-md transition">
<i data-feather="plus-circle" class="text-green-600 mr-3"></i>
<span>Create New Report</span>
</a>
<a href="#" class="flex items-center p-3 bg-blue-50 hover:bg-blue-100 rounded-md transition">
<i data-feather="file-text" class="text-blue-600 mr-3"></i>
<span>View Previous Reports</span>
</a>
<a href="#" class="flex items-center p-3 bg-purple-50 hover:bg-purple-100 rounded-md transition">
<i data-feather="help-circle" class="text-purple-600 mr-3"></i>
<span>Help & Documentation</span>
</a>
</div>
</div>
<!-- Recent Activity -->
<div class="bg-white rounded-lg shadow-md p-6">
<h2 class="text-xl font-bold text-blue-800 mb-4">Recent Activity</h2>
<div class="space-y-4">
<div class="flex items-start">
<div class="bg-blue-100 p-2 rounded-full mr-3">
<i data-feather="file-text" class="text-blue-600" width="18"></i>
</div>
<div>
<p class="font-medium">Report generated</p>
<p class="text-sm text-gray-500">Smith et al. (2020-2023) • 2 minutes ago</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-green-100 p-2 rounded-full mr-3">
<i data-feather="check-circle" class="text-green-600" width="18"></i>
</div>
<div>
<p class="font-medium">Subscription updated</p>
<p class="text-sm text-gray-500">Upgraded to Individual plan • 3 days ago</p>
</div>
</div>
</div>
</div>
</div>
<!-- Recent Reports Table -->
<div class="mt-8 bg-white rounded-lg shadow-md overflow-hidden">
<div class="p-6 border-b border-gray-200">
<h2 class="text-xl font-bold text-blue-800">Recent Reports</h2>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Report Name</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Authors</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date Range</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="font-medium text-blue-600">Department Review 2023</div>
<div class="text-sm text-gray-500">Generated June 5, 2023</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm">3 authors</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm">2020 - 2023</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
<a href="#" class="text-blue-600 hover:text-blue-900 mr-3">View</a>
<a href="#" class="text-green-600 hover:text-green-900">Download</a>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="font-medium text-blue-600">Research Evaluation</div>
<div class="text-sm text-gray-500">Generated May 28, 2023</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm">2 authors</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm">2018 - 2023</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
<a href="#" class="text-blue-600 hover:text-blue-900 mr-3">View</a>
<a href="#" class="text-green-600 hover:text-green-900">Download</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<script>
feather.replace();
</script>
</body>
</html>