Spaces:
Running

medisync-pulse / index.html
Couca's picture
Utilises ces couleurs et spécification :
69eac06 verified
Raw History Blame Contribute Delete
9.01 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MediSync Pulse | Digital Health Dashboard</title>
<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>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body class="bg-gray-50 font-sans text-gray-800">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-8">
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<!-- Health Stats Card -->
<div class="bg-white rounded-xl shadow-md p-6 col-span-1">
<div class="flex items-center mb-4">
<div class="p-3 rounded-full bg-indigo-100 mr-4">
<i data-feather="heart" class="text-indigo-600"></i>
</div>
<h2 class="text-xl font-semibold">Health Summary</h2>
</div>
<div class="space-y-4">
<div class="flex justify-between items-center">
<span class="text-gray-600">Heart Rate</span>
<span class="font-medium">78 <span class="text-sm text-gray-500">bpm</span></span>
</div>
<div class="flex justify-between items-center">
<span class="text-gray-600">Blood Pressure</span>
<span class="font-medium">120/80 <span class="text-sm text-gray-500">mmHg</span></span>
</div>
<div class="flex justify-between items-center">
<span class="text-gray-600">Oxygen Level</span>
<span class="font-medium">98%</span>
</div>
</div>
</div>
<!-- Appointments Card -->
<div class="bg-white rounded-xl shadow-md p-6 col-span-2">
<div class="flex items-center mb-4">
<div class="p-3 rounded-full bg-blue-100 mr-4">
<i data-feather="calendar" class="text-blue-600"></i>
</div>
<h2 class="text-xl font-semibold">Upcoming Appointments</h2>
</div>
<div class="space-y-4">
<div class="flex items-center p-3 hover:bg-gray-50 rounded-lg transition">
<div class="flex-shrink-0 w-12 h-12 rounded-full bg-blue-50 flex items-center justify-center mr-4">
<i data-feather="user" class="text-blue-600"></i>
</div>
<div class="flex-grow">
<h3 class="font-medium">Dr. Sarah Johnson</h3>
<p class="text-sm text-gray-600">Cardiology Consultation</p>
</div>
<div class="text-right">
<p class="font-medium">Tomorrow</p>
<p class="text-sm text-gray-600">10:30 AM</p>
</div>
</div>
<div class="flex items-center p-3 hover:bg-gray-50 rounded-lg transition">
<div class="flex-shrink-0 w-12 h-12 rounded-full bg-green-50 flex items-center justify-center mr-4">
<i data-feather="activity" class="text-green-600"></i>
</div>
<div class="flex-grow">
<h3 class="font-medium">Lab Test</h3>
<p class="text-sm text-gray-600">Blood Work & Analysis</p>
</div>
<div class="text-right">
<p class="font-medium">Jun 15</p>
<p class="text-sm text-gray-600">1:00 PM</p>
</div>
</div>
</div>
<button class="mt-6 w-full py-2 bg-primary hover:bg-primary-dark text-white rounded-lg transition flex items-center justify-center">
<i data-feather="plus" class="mr-2"></i> Book New Appointment
</button>
</div>
<!-- Health Trends -->
<div class="bg-white rounded-xl shadow-md p-6 col-span-3">
<div class="flex items-center mb-6">
<div class="p-3 rounded-full bg-purple-100 mr-4">
<i data-feather="trending-up" class="text-purple-600"></i>
</div>
<h2 class="text-xl font-semibold">Health Trends</h2>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="bg-gradient-to-r from-indigo-100 to-purple-100 rounded-lg p-4">
<h3 class="font-medium text-indigo-800 mb-2">Weekly Activity</h3>
<p class="text-2xl font-bold text-indigo-900">85%</p>
<p class="text-sm text-indigo-700">of daily goals met</p>
</div>
<div class="bg-gradient-to-r from-green-100 to-teal-100 rounded-lg p-4">
<h3 class="font-medium text-green-800 mb-2">Sleep Quality</h3>
<p class="text-2xl font-bold text-green-900">7.2h</p>
<p class="text-sm text-green-700">average per night</p>
</div>
<div class="bg-gradient-to-r from-blue-100 to-cyan-100 rounded-lg p-4">
<h3 class="font-medium text-blue-800 mb-2">Medication</h3>
<p class="text-2xl font-bold text-blue-900">100%</p>
<p class="text-sm text-blue-700">adherence rate</p>
</div>
</div>
</div>
<!-- Recent Records -->
<div class="bg-white rounded-xl shadow-md p-6 col-span-3">
<div class="flex items-center justify-between mb-6">
<div class="flex items-center">
<div class="p-3 rounded-full bg-red-100 mr-4">
<i data-feather="file-text" class="text-red-600"></i>
</div>
<h2 class="text-xl font-semibold">Recent Medical Records</h2>
</div>
<button class="text-sm text-indigo-600 hover:text-indigo-800 flex items-center">
View All <i data-feather="chevron-right" class="ml-1"></i>
</button>
</div>
<div class="overflow-x-auto">
<table class="w-full">
<thead>
<tr class="text-left text-gray-500 border-b">
<th class="pb-3">Date</th>
<th class="pb-3">Provider</th>
<th class="pb-3">Type</th>
<th class="pb-3">Status</th>
<th class="pb-3"></th>
</tr>
</thead>
<tbody>
<tr class="border-b hover:bg-gray-50">
<td class="py-4">Jun 5, 2023</td>
<td>Dr. Michael Chen</td>
<td>Annual Checkup</td>
<td><span class="px-2 py-1 bg-green-100 text-green-800 rounded-full text-xs">Completed</span></td>
<td class="text-right"><button class="text-indigo-600 hover:text-indigo-800"><i data-feather="eye"></i></button></td>
</tr>
<tr class="border-b hover:bg-gray-50">
<td class="py-4">May 28, 2023</td>
<td>City Medical Lab</td>
<td>Blood Test</td>
<td><span class="px-2 py-1 bg-blue-100 text-blue-800 rounded-full text-xs">Results Ready</span></td>
<td class="text-right"><button class="text-indigo-600 hover:text-indigo-800"><i data-feather="eye"></i></button></td>
</tr>
</tbody>
</table>
</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>
<script src="https://deepsite.hf.co/deepsite-badge.js"></script>
</body>
</html>