dashboard-example / index.html
44xClub's picture
Add 3 files
14c2eb1 verified
Raw
History Blame Contribute Delete
15.3 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CLUB44 - Discipline. Growth. Fitness.</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
body {
font-family: 'Montserrat', sans-serif;
background-color: #0a0a0a;
color: #f5f5f5;
}
.nav-active {
color: #3b82f6;
}
.streak-glow {
box-shadow: 0 0 15px rgba(59, 130, 246, 0.7);
}
.progress-bar {
height: 6px;
border-radius: 3px;
}
.card-hover:hover {
transform: translateY(-2px);
transition: all 0.2s ease;
}
.habit-pill {
border-radius: 20px;
}
</style>
</head>
<body class="min-h-screen pb-20">
<!-- Header -->
<header class="pt-12 px-6">
<div class="flex justify-between items-center">
<div>
<h1 class="text-2xl font-bold">CLUB44</h1>
<p class="text-xs text-gray-400 mt-1">Discipline. Growth. Fitness.</p>
</div>
<div class="flex items-center space-x-4">
<button class="text-gray-400">
<i class="fas fa-bell text-xl"></i>
</button>
<div class="w-8 h-8 rounded-full bg-gray-700 flex items-center justify-center">
<i class="fas fa-user text-sm"></i>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="px-6 mt-8">
<!-- Greeting -->
<div class="mb-8">
<h2 class="text-xl font-bold">Welcome back,</h2>
<h1 class="text-3xl font-bold text-blue-500">Alex</h1>
</div>
<!-- Streak Widget -->
<div class="bg-gray-900 rounded-2xl p-6 mb-6 relative overflow-hidden card-hover">
<div class="absolute top-0 right-0 w-24 h-24 bg-blue-900 opacity-20 rounded-bl-full"></div>
<div class="relative z-10">
<div class="flex justify-between items-start">
<div>
<h3 class="text-gray-400 text-sm">Current Streak</h3>
<div class="flex items-center mt-2">
<div class="w-12 h-12 rounded-full bg-blue-900 flex items-center justify-center streak-glow">
<span class="text-xl font-bold">18</span>
</div>
<span class="ml-3 text-lg font-bold">days</span>
</div>
</div>
<div class="text-right">
<h3 class="text-gray-400 text-sm">Best Streak</h3>
<p class="text-lg font-bold mt-2">24 days</p>
</div>
</div>
<div class="mt-6">
<div class="flex justify-between text-xs text-gray-400 mb-1">
<span>Morning Routine</span>
<span>5/7 days</span>
</div>
<div class="w-full bg-gray-800 rounded-full h-2">
<div class="bg-blue-500 h-2 rounded-full" style="width: 71%"></div>
</div>
</div>
</div>
</div>
<!-- Goals Progress -->
<div class="bg-gray-900 rounded-2xl p-6 mb-6 card-hover">
<div class="flex justify-between items-center mb-4">
<h3 class="text-lg font-bold">Monthly Goals</h3>
<span class="text-xs text-gray-400">June 2023</span>
</div>
<div class="space-y-4">
<!-- Goal 1 -->
<div>
<div class="flex justify-between text-sm mb-1">
<span>Workouts</span>
<span>12/20</span>
</div>
<div class="w-full bg-gray-800 rounded-full h-2">
<div class="bg-blue-500 h-2 rounded-full" style="width: 60%"></div>
</div>
</div>
<!-- Goal 2 -->
<div>
<div class="flex justify-between text-sm mb-1">
<span>Read 30 min/day</span>
<span>15/30</span>
</div>
<div class="w-full bg-gray-800 rounded-full h-2">
<div class="bg-purple-500 h-2 rounded-full" style="width: 50%"></div>
</div>
</div>
<!-- Goal 3 -->
<div>
<div class="flex justify-between text-sm mb-1">
<span>Meditation</span>
<span>8/15</span>
</div>
<div class="w-full bg-gray-800 rounded-full h-2">
<div class="bg-green-500 h-2 rounded-full" style="width: 53%"></div>
</div>
</div>
</div>
<button class="w-full mt-6 py-3 bg-gray-800 rounded-xl text-blue-500 font-bold flex items-center justify-center">
<i class="fas fa-plus mr-2"></i> Add Goal
</button>
</div>
<!-- Recent Logs -->
<div class="bg-gray-900 rounded-2xl p-6 mb-6 card-hover">
<div class="flex justify-between items-center mb-4">
<h3 class="text-lg font-bold">Recent Logs</h3>
<button class="text-blue-500 text-sm">View All</button>
</div>
<div class="space-y-4">
<!-- Log 1 -->
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-blue-900 flex items-center justify-center">
<i class="fas fa-dumbbell"></i>
</div>
<div class="ml-3 flex-1">
<h4 class="font-bold">Morning Workout</h4>
<p class="text-xs text-gray-400">Today, 6:30 AM</p>
</div>
<div class="text-right">
<p class="font-bold">45 min</p>
<p class="text-xs text-green-500">Completed</p>
</div>
</div>
<!-- Log 2 -->
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-purple-900 flex items-center justify-center">
<i class="fas fa-book"></i>
</div>
<div class="ml-3 flex-1">
<h4 class="font-bold">Reading</h4>
<p class="text-xs text-gray-400">Yesterday, 9:15 PM</p>
</div>
<div class="text-right">
<p class="font-bold">32 min</p>
<p class="text-xs text-green-500">Completed</p>
</div>
</div>
<!-- Log 3 -->
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-gray-700 flex items-center justify-center">
<i class="fas fa-running"></i>
</div>
<div class="ml-3 flex-1">
<h4 class="font-bold">Evening Run</h4>
<p class="text-xs text-gray-400">Yesterday, 7:45 PM</p>
</div>
<div class="text-right">
<p class="font-bold text-gray-500">Skipped</p>
</div>
</div>
</div>
</div>
<!-- Quick Actions -->
<div class="grid grid-cols-2 gap-4 mb-6">
<button class="bg-gray-900 rounded-2xl p-4 flex flex-col items-center justify-center h-32 card-hover">
<div class="w-12 h-12 rounded-full bg-blue-900 flex items-center justify-center mb-2">
<i class="fas fa-plus text-xl"></i>
</div>
<span class="font-bold">Add Log</span>
</button>
<button class="bg-gray-900 rounded-2xl p-4 flex flex-col items-center justify-center h-32 card-hover">
<div class="w-12 h-12 rounded-full bg-purple-900 flex items-center justify-center mb-2">
<i class="fas fa-book-open text-xl"></i>
</div>
<span class="font-bold">View Journal</span>
</button>
<button class="bg-gray-900 rounded-2xl p-4 flex flex-col items-center justify-center h-32 card-hover">
<div class="w-12 h-12 rounded-full bg-green-900 flex items-center justify-center mb-2">
<i class="fas fa-chart-line text-xl"></i>
</div>
<span class="font-bold">Check Progress</span>
</button>
<button class="bg-gray-900 rounded-2xl p-4 flex flex-col items-center justify-center h-32 card-hover">
<div class="w-12 h-12 rounded-full bg-yellow-900 flex items-center justify-center mb-2">
<i class="fas fa-lock text-xl"></i>
</div>
<span class="font-bold">Vault</span>
</button>
</div>
<!-- Habits -->
<div class="bg-gray-900 rounded-2xl p-6 card-hover">
<div class="flex justify-between items-center mb-4">
<h3 class="text-lg font-bold">Today's Habits</h3>
<button class="text-blue-500 text-sm">Edit</button>
</div>
<div class="space-y-3">
<!-- Habit 1 -->
<div class="flex items-center justify-between p-3 bg-gray-800 rounded-full habit-pill">
<div class="flex items-center">
<div class="w-8 h-8 rounded-full bg-blue-900 flex items-center justify-center mr-3">
<i class="fas fa-sun text-sm"></i>
</div>
<span>Morning Routine</span>
</div>
<button class="w-8 h-8 rounded-full border-2 border-blue-500 flex items-center justify-center">
<i class="fas fa-check text-blue-500"></i>
</button>
</div>
<!-- Habit 2 -->
<div class="flex items-center justify-between p-3 bg-gray-800 rounded-full habit-pill">
<div class="flex items-center">
<div class="w-8 h-8 rounded-full bg-green-900 flex items-center justify-center mr-3">
<i class="fas fa-dumbbell text-sm"></i>
</div>
<span>Workout</span>
</div>
<button class="w-8 h-8 rounded-full border-2 border-gray-600 flex items-center justify-center">
<i class="fas fa-check text-transparent"></i>
</button>
</div>
<!-- Habit 3 -->
<div class="flex items-center justify-between p-3 bg-gray-800 rounded-full habit-pill">
<div class="flex items-center">
<div class="w-8 h-8 rounded-full bg-purple-900 flex items-center justify-center mr-3">
<i class="fas fa-book text-sm"></i>
</div>
<span>Read 30 min</span>
</div>
<button class="w-8 h-8 rounded-full border-2 border-gray-600 flex items-center justify-center">
<i class="fas fa-check text-transparent"></i>
</button>
</div>
</div>
</div>
</main>
<!-- Bottom Navigation -->
<nav class="fixed bottom-0 left-0 right-0 bg-gray-900 border-t border-gray-800 flex justify-around py-3 px-6">
<a href="#" class="flex flex-col items-center text-blue-500 nav-active">
<i class="fas fa-home text-xl"></i>
<span class="text-xs mt-1">Dashboard</span>
</a>
<a href="#" class="flex flex-col items-center text-gray-400">
<i class="fas fa-clipboard-list text-xl"></i>
<span class="text-xs mt-1">Logs</span>
</a>
<a href="#" class="flex flex-col items-center text-gray-400">
<i class="fas fa-lock text-xl"></i>
<span class="text-xs mt-1">Vault</span>
</a>
<a href="#" class="flex flex-col items-center text-gray-400">
<i class="fas fa-book text-xl"></i>
<span class="text-xs mt-1">Journal</span>
</a>
<a href="#" class="flex flex-col items-center text-gray-400">
<i class="fas fa-user text-xl"></i>
<span class="text-xs mt-1">Profile</span>
</a>
</nav>
<script>
// Simple interaction for habit completion
document.querySelectorAll('.habit-pill button').forEach(button => {
button.addEventListener('click', function() {
if (this.classList.contains('border-gray-600')) {
this.classList.remove('border-gray-600');
this.classList.add('border-blue-500');
this.innerHTML = '<i class="fas fa-check text-blue-500"></i>';
} else {
this.classList.remove('border-blue-500');
this.classList.add('border-gray-600');
this.innerHTML = '<i class="fas fa-check text-transparent"></i>';
}
});
});
// Card hover effect
document.querySelectorAll('.card-hover').forEach(card => {
card.addEventListener('mouseenter', function() {
this.classList.add('shadow-lg');
});
card.addEventListener('mouseleave', function() {
this.classList.remove('shadow-lg');
});
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=44xClub/dashboard-example" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>