Download index.html from MackArud/fittrack: direct link, hf CLI and curl.
- Browser
- Download file 78.3 kB
-
https://huggingface.co/spaces/MackArud/fittrack/resolve/main/index.html
- Command line
-
hf download hf://spaces/MackArud/fittrack/index.html
-
curl -L -o index.html https://huggingface.co/spaces/MackArud/fittrack/resolve/main/index.html
78.3 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FitTrack Pro - Your Ultimate Fitness Companion</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
scroll-behavior: smooth;
}
.gradient-bg {
background: linear-gradient(135deg, #000000 0%, #1a2e1a 100%);
}
.exercise-card:hover .exercise-overlay {
opacity: 1;
transform: translateY(0);
}
.exercise-overlay {
transition: all 0.3s ease;
opacity: 0;
transform: translateY(20px);
}
.community-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 128, 0, 0.2);
}
.calendar-day.active {
background-color: #1a2e1a;
color: white;
}
.nutrition-card:hover {
transform: scale(1.02);
}
#feedbackModal {
transition: opacity 0.3s ease;
}
.mobile-preview {
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
border-radius: 30px;
}
.mobile-screen {
transition: all 0.5s ease;
}
</style>
</head>
<body class="bg-gray-100">
<!-- Navigation -->
<nav class="gradient-bg text-white shadow-lg">
<div class="container mx-auto px-4 py-3">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fas fa-dumbbell text-green-500 text-2xl"></i>
<span class="font-bold text-xl">FitTrack Pro</span>
</div>
<div class="hidden md:flex space-x-8">
<a href="#home" class="hover:text-green-400 transition">Home</a>
<a href="#features" class="hover:text-green-400 transition">Features</a>
<a href="#community" class="hover:text-green-400 transition">Community</a>
<a href="#exercises" class="hover:text-green-400 transition">Exercises</a>
<a href="#nutrition" class="hover:text-green-400 transition">Nutrition</a>
<a href="#shop" class="hover:text-green-400 transition">Shop</a>
</div>
<div class="flex items-center space-x-4">
<button class="md:hidden" id="mobileMenuButton">
<i class="fas fa-bars text-xl"></i>
</button>
</div>
<div class="absolute right-4 top-3">
<button class="bg-green-600 hover:bg-green-700 px-4 py-2 rounded-full font-medium transition">
Sign In
</button>
</div>
</div>
<!-- Mobile Menu -->
<div class="md:hidden hidden mt-4 pb-2" id="mobileMenu">
<div class="flex flex-col space-y-3">
<a href="#home" class="hover:text-green-400 transition">Home</a>
<a href="#features" class="hover:text-green-400 transition">Features</a>
<a href="#community" class="hover:text-green-400 transition">Community</a>
<a href="#exercises" class="hover:text-green-400 transition">Exercises</a>
<a href="#nutrition" class="hover:text-green-400 transition">Nutrition</a>
<a href="#shop" class="hover:text-green-400 transition">Shop</a>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section id="home" class="gradient-bg text-white py-20">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-10 md:mb-0">
<h1 class="text-4xl md:text-5xl font-bold mb-6">Transform Your Body, <span class="text-green-400">Elevate Your Life</span></h1>
<p class="text-lg mb-8 text-gray-300">Your all-in-one fitness companion with personalized training plans, meal tracking, and a supportive community to help you achieve your goals.</p>
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<button class="bg-green-600 hover:bg-green-700 px-6 py-3 rounded-full font-medium transition">
Start Free Trial
</button>
<button class="border border-green-500 text-green-500 hover:bg-green-900 hover:bg-opacity-30 px-6 py-3 rounded-full font-medium transition">
Explore Features
</button>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<div class="relative mobile-preview">
<div class="w-64 h-auto bg-black rounded-3xl overflow-hidden border-8 border-gray-800">
<div class="h-10 bg-gray-800 flex items-center justify-center">
<div class="w-16 h-1 bg-gray-600 rounded-full"></div>
</div>
<div class="mobile-screen h-96 bg-gradient-to-b from-gray-900 to-gray-800 p-4">
<div class="flex justify-between items-center mb-6">
<span class="text-white font-bold">FitTrack</span>
<span class="text-green-400 text-xs">Today</span>
</div>
<div class="bg-gray-800 rounded-lg p-3 mb-3">
<div class="flex items-center space-x-2 mb-2">
<div class="w-8 h-8 rounded-full bg-green-500 flex items-center justify-center">
<i class="fas fa-fire text-white text-xs"></i>
</div>
<span class="text-white text-sm">Workout Completed</span>
</div>
<p class="text-green-400 text-xs">You've burned 420 kcal today!</p>
</div>
<div class="grid grid-cols-3 gap-2 mb-4">
<div class="bg-gray-800 rounded-lg p-2 text-center">
<p class="text-white text-xs">Steps</p>
<p class="text-green-400 font-bold">8,542</p>
</div>
<div class="bg-gray-800 rounded-lg p-2 text-center">
<p class="text-white text-xs">Workouts</p>
<p class="text-green-400 font-bold">3</p>
</div>
<div class="bg-gray-800 rounded-lg p-2 text-center">
<p class="text-white text-xs">Water</p>
<p class="text-green-400 font-bold">1.8L</p>
</div>
</div>
<div class="bg-gray-800 rounded-lg p-3">
<div class="flex justify-between items-center mb-1">
<span class="text-white text-sm">Today's Meals</span>
<span class="text-green-400 text-xs">1,850 kcal</span>
</div>
<div class="flex space-x-2">
<div class="w-1/4 h-12 bg-green-900 rounded"></div>
<div class="w-1/4 h-12 bg-green-800 rounded"></div>
<div class="w-1/4 h-12 bg-green-700 rounded"></div>
<div class="w-1/4 h-12 bg-green-600 rounded"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section id="features" class="py-16 bg-white">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold mb-4">Your Complete <span class="text-green-600">Fitness Solution</span></h2>
<p class="text-gray-600 max-w-2xl mx-auto">All the tools you need to track, improve, and celebrate your fitness journey in one place.</p>
</div>
<div class="grid md:grid-cols-3 gap-8">
<div class="bg-gray-50 p-6 rounded-xl hover:shadow-lg transition">
<div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mb-4">
<i class="fas fa-calendar-alt text-green-600 text-xl"></i>
</div>
<h3 class="font-bold text-xl mb-2">Smart Workout Planner</h3>
<p class="text-gray-600">Plan your workouts with our intelligent calendar that suggests optimal training days based on your goals and recovery.</p>
</div>
<div class="bg-gray-50 p-6 rounded-xl hover:shadow-lg transition">
<div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mb-4">
<i class="fas fa-utensils text-green-600 text-xl"></i>
</div>
<h3 class="font-bold text-xl mb-2">Meal Tracking & Planning</h3>
<p class="text-gray-600">Log your meals, track macros, and get personalized meal suggestions tailored to your dietary preferences.</p>
</div>
<div class="bg-gray-50 p-6 rounded-xl hover:shadow-lg transition">
<div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mb-4">
<i class="fas fa-chart-line text-green-600 text-xl"></i>
</div>
<h3 class="font-bold text-xl mb-2">Progress Analytics</h3>
<p class="text-gray-600">Detailed analytics and visualizations to track your progress over time and adjust your plan accordingly.</p>
</div>
<div class="bg-gray-50 p-6 rounded-xl hover:shadow-lg transition">
<div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mb-4">
<i class="fas fa-users text-green-600 text-xl"></i>
</div>
<h3 class="font-bold text-xl mb-2">Community Challenges</h3>
<p class="text-gray-600">Join challenges with other members, compare progress, and stay motivated together.</p>
</div>
<div class="bg-gray-50 p-6 rounded-xl hover:shadow-lg transition">
<div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mb-4">
<i class="fas fa-video text-green-600 text-xl"></i>
</div>
<h3 class="font-bold text-xl mb-2">Exercise Library</h3>
<p class="text-gray-600">Access hundreds of exercises with video demonstrations and detailed instructions.</p>
</div>
<div class="bg-gray-50 p-6 rounded-xl hover:shadow-lg transition">
<div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mb-4">
<i class="fas fa-shopping-bag text-green-600 text-xl"></i>
</div>
<h3 class="font-bold text-xl mb-2">Smart Shopping</h3>
<p class="text-gray-600">Discover recommended fitness products and supplements based on your workout routine.</p>
</div>
</div>
</div>
</section>
<!-- Community Section -->
<section id="community" class="py-16 bg-gray-50">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold mb-4">Join Our <span class="text-green-600">Thriving Community</span></h2>
<p class="text-gray-600 max-w-2xl mx-auto">Connect with like-minded individuals, share your progress, and get inspired by others' journeys.</p>
</div>
<div class="grid md:grid-cols-3 gap-8 mb-12">
<div class="community-card bg-white p-6 rounded-xl shadow-md hover:shadow-xl transition duration-300">
<div class="flex items-center mb-4">
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center mr-3">
<i class="fas fa-trophy text-green-600"></i>
</div>
<h3 class="font-bold text-lg">Challenges & Competitions</h3>
</div>
<p class="text-gray-600 mb-4">Join monthly fitness challenges to push your limits and compete with community members.</p>
<div class="flex items-center text-sm text-gray-500">
<i class="fas fa-users mr-2"></i>
<span>1,245 active participants</span>
</div>
</div>
<div class="community-card bg-white p-6 rounded-xl shadow-md hover:shadow-xl transition duration-300">
<div class="flex items-center mb-4">
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center mr-3">
<i class="fas fa-comments text-green-600"></i>
</div>
<h3 class="font-bold text-lg">Discussion Forums</h3>
</div>
<p class="text-gray-600 mb-4">Ask questions, share tips, and get advice from fitness experts and fellow members.</p>
<div class="flex items-center text-sm text-gray-500">
<i class="fas fa-comment-dots mr-2"></i>
<span>3,452 discussions today</span>
</div>
</div>
<div class="community-card bg-white p-6 rounded-xl shadow-md hover:shadow-xl transition duration-300">
<div class="flex items-center mb-4">
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center mr-3">
<i class="fas fa-heart text-green-600"></i>
</div>
<h3 class="font-bold text-lg">Success Stories</h3>
</div>
<p class="text-gray-600 mb-4">Get inspired by real transformation stories from our community members.</p>
<div class="flex items-center text-sm text-gray-500">
<i class="fas fa-star mr-2"></i>
<span>892 transformations shared</span>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="md:flex">
<div class="md:w-1/2 p-8">
<h3 class="text-2xl font-bold mb-4">Community Progress Comparison</h3>
<p class="text-gray-600 mb-6">See how your fitness journey compares with others who have similar goals and starting points. Our anonymized comparison tool helps you stay motivated and on track.</p>
<div class="mb-6">
<div class="flex justify-between mb-2">
<span class="font-medium">Your Progress</span>
<span class="text-green-600">75%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-green-600 h-2.5 rounded-full" style="width: 75%"></div>
</div>
</div>
<div class="mb-6">
<div class="flex justify-between mb-2">
<span class="font-medium">Community Average</span>
<span class="text-gray-600">62%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-gray-600 h-2.5 rounded-full" style="width: 62%"></div>
</div>
</div>
<div class="mb-6">
<div class="flex justify-between mb-2">
<span class="font-medium">Top Performers</span>
<span class="text-green-800">89%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-green-800 h-2.5 rounded-full" style="width: 89%"></div>
</div>
</div>
<button class="bg-green-600 hover:bg-green-700 text-white px-6 py-2 rounded-full font-medium transition">
Join Community
</button>
</div>
<div class="md:w-1/2 bg-gray-100 p-8 flex items-center justify-center">
<div class="relative w-full max-w-md">
<div class="absolute -top-6 -left-6 w-24 h-24 bg-green-200 rounded-full opacity-50"></div>
<div class="absolute -bottom-6 -right-6 w-24 h-24 bg-green-200 rounded-full opacity-50"></div>
<div class="relative bg-white p-6 rounded-lg shadow-lg">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center mr-3">
<i class="fas fa-user text-green-600"></i>
</div>
<div>
<h4 class="font-bold">Community Member</h4>
<p class="text-sm text-gray-500">Similar to your profile</p>
</div>
</div>
<div class="grid grid-cols-2 gap-4 mb-4">
<div>
<p class="text-xs text-gray-500">Workouts</p>
<p class="font-bold">4/week</p>
</div>
<div>
<p class="text-xs text-gray-500">Progress</p>
<p class="font-bold text-green-600">+12%</p>
</div>
<div>
<p class="text-xs text-gray-500">Duration</p>
<p class="font-bold">3 months</p>
</div>
<div>
<p class="text-xs text-gray-500">Goal</p>
<p class="font-bold">Muscle Gain</p>
</div>
</div>
<div class="text-center">
<button class="text-green-600 text-sm font-medium hover:text-green-800 transition">
View More Comparisons
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Exercise Library Section -->
<section id="exercises" class="py-16 bg-white">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold mb-4">Comprehensive <span class="text-green-600">Exercise Library</span></h2>
<p class="text-gray-600 max-w-2xl mx-auto">Browse our extensive collection of exercises with video demonstrations and detailed instructions.</p>
</div>
<div class="mb-8">
<div class="flex flex-wrap justify-center gap-4 mb-6">
<button class="exercise-filter-btn px-4 py-2 rounded-full bg-green-600 text-white" data-filter="all">All</button>
<button class="exercise-filter-btn px-4 py-2 rounded-full bg-gray-200 hover:bg-gray-300" data-filter="strength">Strength</button>
<button class="exercise-filter-btn px-4 py-2 rounded-full bg-gray-200 hover:bg-gray-300" data-filter="cardio">Cardio</button>
<button class="exercise-filter-btn px-4 py-2 rounded-full bg-gray-200 hover:bg-gray-300" data-filter="flexibility">Flexibility</button>
<button class="exercise-filter-btn px-4 py-2 rounded-full bg-gray-200 hover:bg-gray-300" data-filter="hiit">HIIT</button>
</div>
<div class="relative">
<input type="text" placeholder="Search exercises..." class="w-full max-w-md mx-auto block px-6 py-3 rounded-full border border-gray-300 focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-transparent">
<i class="fas fa-search absolute right-8 top-3.5 text-gray-400"></i>
</div>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8" id="exerciseContainer">
<!-- Exercise cards will be dynamically loaded here -->
</div>
<div class="text-center mt-12">
<button class="bg-green-600 hover:bg-green-700 text-white px-6 py-3 rounded-full font-medium transition">
Load More Exercises
</button>
</div>
</div>
</section>
<!-- Workout Planner Section -->
<section class="py-16 bg-gray-50">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold mb-4">Personalized <span class="text-green-600">Workout Planner</span></h2>
<p class="text-gray-600 max-w-2xl mx-auto">Create and manage your workout schedule with our intuitive planner.</p>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="md:flex">
<div class="md:w-1/3 p-6 border-r border-gray-200">
<h3 class="text-xl font-bold mb-4">Create New Workout</h3>
<div class="mb-4">
<label class="block text-gray-700 mb-2">Workout Name</label>
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500">
</div>
<div class="mb-4">
<label class="block text-gray-700 mb-2">Workout Type</label>
<select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500">
<option>Strength Training</option>
<option>Cardio</option>
<option>HIIT</option>
<option>Yoga</option>
<option>Custom</option>
</select>
</div>
<div class="mb-4">
<label class="block text-gray-700 mb-2">Duration (minutes)</label>
<input type="number" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500" value="45">
</div>
<div class="mb-4">
<label class="block text-gray-700 mb-2">Difficulty</label>
<div class="flex flex-col space-y-2">
<button class="px-3 py-1 bg-gray-200 rounded-full text-sm text-left">Beginner</button>
<button class="px-3 py-1 bg-green-600 text-white rounded-full text-sm text-left">Intermediate</button>
<button class="px-3 py-1 bg-gray-200 rounded-full text-sm text-left">Advanced</button>
</div>
</div>
<button class="w-full bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded-lg font-medium transition mt-4">
Create Workout
</button>
</div>
<div class="md:w-2/3 p-6">
<div class="flex justify-between items-center mb-6">
<h3 class="text-xl font-bold">Your Workout Calendar</h3>
<div class="flex space-x-2">
<button class="px-3 py-1 bg-gray-200 rounded-full text-sm">
<i class="fas fa-chevron-left"></i>
</button>
<span class="px-4 py-1 font-medium">June 2023</span>
<button class="px-3 py-1 bg-gray-200 rounded-full text-sm">
<i class="fas fa-chevron-right"></i>
</button>
</div>
</div>
<div class="grid grid-cols-7 gap-2 mb-4">
<div class="text-center font-medium text-gray-500 text-sm">Sun</div>
<div class="text-center font-medium text-gray-500 text-sm">Mon</div>
<div class="text-center font-medium text-gray-500 text-sm">Tue</div>
<div class="text-center font-medium text-gray-500 text-sm">Wed</div>
<div class="text-center font-medium text-gray-500 text-sm">Thu</div>
<div class="text-center font-medium text-gray-500 text-sm">Fri</div>
<div class="text-center font-medium text-gray-500 text-sm">Sat</div>
</div>
<div class="grid grid-cols-7 gap-2">
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg calendar-day active">
<div class="text-xs p-1">1</div>
<div class="text-xs rounded px-1 mx-1 flex justify-center"><i class="fas fa-times-circle text-red-500"></i></div>
</div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg calendar-day active">
<div class="text-xs p-1">5</div>
<div class="text-xs rounded px-1 mx-1 flex justify-center"><i class="fas fa-running text-blue-500"></i></div>
</div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg calendar-day active">
<div class="text-xs p-1">7</div>
<div class="text-xs rounded px-1 mx-1 flex justify-center"><i class="fas fa-hand-paper text-purple-500"></i></div>
</div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg calendar-day active">
<div class="text-xs p-1">10</div>
<div class="text-xs bg-green-100 text-green-800 rounded px-1 mx-1">Leg Day</div>
</div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg calendar-day active">
<div class="text-xs p-1">12</div>
<div class="text-xs rounded px-1 mx-1 flex justify-center"><i class="fas fa-bolt text-yellow-500"></i></div>
</div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg calendar-day active">
<div class="text-xs p-1">14</div>
<div class="text-xs bg-purple-100 text-purple-800 rounded px-1 mx-1">Upper Body</div>
</div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg calendar-day active">
<div class="text-xs p-1">17</div>
<div class="text-xs bg-green-100 text-green-800 rounded px-1 mx-1">Leg Day</div>
</div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg calendar-day active">
<div class="text-xs p-1">19</div>
<div class="text-xs rounded px-1 mx-1 flex justify-center"><i class="fas fa-heart text-blue-500"></i></div>
</div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg calendar-day active">
<div class="text-xs p-1">21</div>
<div class="text-xs bg-purple-100 text-purple-800 rounded px-1 mx-1">Upper Body</div>
</div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg calendar-day active">
<div class="text-xs p-1">24</div>
<div class="text-xs bg-yellow-100 text-yellow-800 rounded px-1 mx-1">HIIT</div>
</div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg calendar-day active">
<div class="text-xs p-1">26</div>
<div class="text-xs bg-green-100 text-green-800 rounded px-1 mx-1">Leg Day</div>
</div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
<div class="h-16 border border-gray-200 rounded-lg"></div>
</div>
</div>
<div class="mt-8">
<h4 class="font-bold mb-4">Workout Types Legend</h4>
<div class="flex flex-wrap gap-6">
<div class="flex items-center text-sm">
<i class="fas fa-times-circle text-red-500 mr-2"></i>
<span>Strength Training</span>
</div>
<div class="flex items-center text-sm">
<i class="fas fa-running text-blue-500 mr-2"></i>
<span>Cardio</span>
</div>
<div class="flex items-center text-sm">
<i class="fas fa-hand-paper text-purple-500 mr-2"></i>
<span>Yoga</span>
</div>
<div class="flex items-center text-sm">
<i class="fas fa-bolt text-yellow-500 mr-2"></i>
<span>HIIT</span>
</div>
</div>
<div class="mt-6 flex flex-wrap justify-center gap-4">
<div class="flex items-center text-sm">
<i class="fas fa-times-circle text-red-500 mr-2"></i>
<span>Workout</span>
</div>
<div class="flex items-center text-sm">
<i class="fas fa-running text-blue-500 mr-2"></i>
<span>Cardio</span>
</div>
<div class="flex items-center text-sm">
<i class="fas fa-hand-paper text-purple-500 mr-2"></i>
<span>Yoga</span>
</div>
<div class="flex items-center text-sm">
<i class="fas fa-bolt text-yellow-500 mr-2"></i>
<span>HIIT</span>
</div>
</div>
<div class="mt-6 flex flex-wrap justify-center gap-4">
<div class="flex items-center text-sm">
<i class="fas fa-times-circle text-red-500 mr-2"></i>
<span>Workout</span>
</div>
<div class="flex items-center text-sm">
<i class="fas fa-running text-blue-500 mr-2"></i>
<span>Cardio</span>
</div>
<div class="flex items-center text-sm">
<i class="fas fa-hand-paper text-purple-500 mr-2"></i>
<span>Yoga</span>
</div>
<div class="flex items-center text-sm">
<i class="fas fa-bolt text-yellow-500 mr-2"></i>
<span>HIIT</span>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Nutrition Section -->
<section id="nutrition" class="py-16 bg-white">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold mb-4">Smart <span class="text-green-600">Nutrition Tracking</span></h2>
<p class="text-gray-600 max-w-2xl mx-auto">Track your meals, monitor macros, and get personalized nutrition recommendations.</p>
</div>
<div class="grid md:grid-cols-3 gap-8 mb-12">
<div class="nutrition-card bg-gray-50 p-6 rounded-xl hover:shadow-lg transition">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center mr-4">
<i class="fas fa-utensils text-green-600 text-xl"></i>
</div>
<h3 class="font-bold text-lg">Meal Logger</h3>
</div>
<p class="text-gray-600 mb-4">Easily log your meals with our extensive food database or by scanning barcodes.</p>
<div class="flex justify-between text-sm text-gray-500">
<span>1,200+ foods</span>
<span>Barcode scanning</span>
</div>
</div>
<div class="nutrition-card bg-gray-50 p-6 rounded-xl hover:shadow-lg transition">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center mr-4">
<i class="fas fa-chart-pie text-green-600 text-xl"></i>
</div>
<h3 class="font-bold text-lg">Macro Tracker</h3>
</div>
<p class="text-gray-600 mb-4">Monitor your protein, carbs, and fat intake with detailed breakdowns and visualizations.</p>
<div class="flex justify-between text-sm text-gray-500">
<span>Custom goals</span>
<span>Real-time tracking</span>
</div>
</div>
<div class="nutrition-card bg-gray-50 p-6 rounded-xl hover:shadow-lg transition">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center mr-4">
<i class="fas fa-lightbulb text-green-600 text-xl"></i>
</div>
<h3 class="font-bold text-lg">Meal Suggestions</h3>
</div>
<p class="text-gray-600 mb-4">Get personalized meal recommendations based on your dietary preferences and goals.</p>
<div class="flex justify-between text-sm text-gray-500">
<span>500+ recipes</span>
<span>Diet-specific</span>
</div>
</div>
</div>
<div class="bg-gray-50 rounded-xl p-6">
<div class="md:flex items-center">
<div class="md:w-1/2 mb-6 md:mb-0">
<h3 class="text-xl font-bold mb-4">Today's Nutrition</h3>
<div class="mb-4">
<div class="flex justify-between mb-2">
<span class="font-medium">Calories</span>
<span>1,450 / 2,000</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-green-600 h-2.5 rounded-full" style="width: 72.5%"></div>
</div>
</div>
<div class="grid grid-cols-3 gap-4 mb-6">
<div>
<div class="text-sm text-gray-500 mb-1">Protein</div>
<div class="font-bold">112g</div>
<div class="w-full bg-gray-200 rounded-full h-1 mt-1">
<div class="bg-blue-500 h-1 rounded-full" style="width: 75%"></div>
</div>
</div>
<div>
<div class="text-sm text-gray-500 mb-1">Carbs</div>
<div class="font-bold">145g</div>
<div class="w-full bg-gray-200 rounded-full h-1 mt-1">
<div class="bg-yellow-500 h-1 rounded-full" style="width: 65%"></div>
</div>
</div>
<div>
<div class="text-sm text-gray-500 mb-1">Fat</div>
<div class="font-bold">48g</div>
<div class="w-full bg-gray-200 rounded-full h-1 mt-1">
<div class="bg-red-500 h-1 rounded-full" style="width: 55%"></div>
</div>
</div>
</div>
<button class="bg-green-600 hover:bg-green-700 text-white px-6 py-2 rounded-full font-medium transition">
Log Another Meal
</button>
</div>
<div class="md:w-1/2">
<div class="bg-white rounded-lg p-4 shadow-sm">
<div class="flex justify-between items-center mb-4">
<h4 class="font-bold">Today's Meals</h4>
<span class="text-sm text-gray-500">June 1, 2023</span>
</div>
<div class="space-y-4">
<div class="flex items-start">
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center mr-3 mt-1">
<i class="fas fa-egg text-green-600"></i>
</div>
<div class="flex-1">
<div class="flex justify-between">
<span class="font-medium">Breakfast</span>
<span class="text-sm text-gray-500">450 kcal</span>
</div>
<p class="text-sm text-gray-600">Scrambled eggs with avocado toast and berries</p>
</div>
</div>
<div class="flex items-start">
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-3 mt-1">
<i class="fas fa-drumstick-bite text-blue-600"></i>
</div>
<div class="flex-1">
<div class="flex justify-between">
<span class="font-medium">Lunch</span>
<span class="text-sm text-gray-500">650 kcal</span>
</div>
<p class="text-sm text-gray-600">Grilled chicken salad with quinoa and vegetables</p>
</div>
</div>
<div class="flex items-start">
<div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center mr-3 mt-1">
<i class="fas fa-fish text-yellow-600"></i>
</div>
<div class="flex-1">
<div class="flex justify-between">
<span class="font-medium">Dinner</span>
<span class="text-sm text-gray-500">350 kcal</span>
</div>
<p class="text-sm text-gray-600">Baked salmon with roasted vegetables</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Shopping Section -->
<section id="shop" class="py-16 bg-gray-50">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold mb-4">Fitness <span class="text-green-600">Shopping Hub</span></h2>
<p class="text-gray-600 max-w-2xl mx-auto">Discover recommended fitness products based on your workout routine and goals.</p>
</div>
<div class="mb-8">
<div class="relative max-w-2xl mx-auto">
<input type="text" placeholder="Search for fitness products..." class="w-full px-6 py-3 rounded-full border border-gray-300 focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-transparent">
<i class="fas fa-search absolute right-6 top-3.5 text-gray-400"></i>
</div>
</div>
<div class="grid md:grid-cols-4 gap-6 mb-8">
<div class="bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
<div class="h-40 bg-gray-200 flex items-center justify-center">
<i class="fas fa-dumbbell text-4xl text-gray-400"></i>
</div>
<div class="p-4">
<h3 class="font-bold mb-1">Adjustable Dumbbells</h3>
<p class="text-sm text-gray-600 mb-2">5-50 lbs adjustable set</p>
<div class="flex justify-between items-center">
<span class="font-bold text-green-600">$199.99</span>
<span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded">Recommended</span>
</div>
</div>
</div>
<div class="bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
<div class="h-40 bg-gray-200 flex items-center justify-center">
<i class="fas fa-blender-bottle text-4xl text-gray-400"></i>
</div>
<div class="p-4">
<h3 class="font-bold mb-1">Protein Powder</h3>
<p class="text-sm text-gray-600 mb-2">Whey isolate, 5 lbs</p>
<div class="flex justify-between items-center">
<span class="font-bold text-green-600">$49.99</span>
<span class="text-xs bg-blue-100 text-blue-800 px-2 py-1 rounded">Popular</span>
</div>
</div>
</div>
<div class="bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
<div class="h-40 bg-gray-200 flex items-center justify-center">
<i class="fas fa-running text-4xl text-gray-400"></i>
</div>
<div class="p-4">
<h3 class="font-bold mb-1">Running Shoes</h3>
<p class="text-sm text-gray-600 mb-2">Lightweight, size 10</p>
<div class="flex justify-between items-center">
<span class="font-bold text-green-600">$89.99</span>
<span class="text-xs bg-yellow-100 text-yellow-800 px-2 py-1 rounded">New</span>
</div>
</div>
</div>
<div class="bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
<div class="h-40 bg-gray-200 flex items-center justify-center">
<i class="fas fa-heartbeat text-4xl text-gray-400"></i>
</div>
<div class="p-4">
<h3 class="font-bold mb-1">Fitness Tracker</h3>
<p class="text-sm text-gray-600 mb-2">Heart rate monitor</p>
<div class="flex justify-between items-center">
<span class="font-bold text-green-600">$79.99</span>
<span class="text-xs bg-purple-100 text-purple-800 px-2 py-1 rounded">Best Seller</span>
</div>
</div>
</div>
</div>
<div class="text-center">
<button class="bg-green-600 hover:bg-green-700 text-white px-6 py-3 rounded-full font-medium transition">
View More Products
</button>
</div>
</div>
</section>
<!-- Feedback Section -->
<section class="py-16 bg-white">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold mb-4">Your <span class="text-green-600">Feedback Matters</span></h2>
<p class="text-gray-600 max-w-2xl mx-auto">Help us improve FitTrack Pro by sharing your thoughts and suggestions.</p>
</div>
<div class="max-w-4xl mx-auto">
<div class="grid md:grid-cols-2 gap-8 mb-12">
<div class="bg-gray-50 p-6 rounded-xl">
<h3 class="font-bold text-xl mb-4">Customer Voice</h3>
<p class="text-gray-600 mb-4">What features would you like to see in future updates?</p>
<div class="space-y-4">
<div class="flex items-center">
<input type="radio" id="feature1" name="feature" class="mr-3">
<label for="feature1" class="text-gray-700">More workout customization options</label>
</div>
<div class="flex items-center">
<input type="radio" id="feature2" name="feature" class="mr-3">
<label for="feature2" class="text-gray-700">Additional nutrition tracking metrics</label>
</div>
<div class="flex items-center">
<input type="radio" id="feature3" name="feature" class="mr-3">
<label for="feature3" class="text-gray-700">Enhanced community features</label>
</div>
<div class="flex items-center">
<input type="radio" id="feature4" name="feature" class="mr-3">
<label for="feature4" class="text-gray-700">More integration options</label>
</div>
</div>
<button class="mt-6 bg-green-600 hover:bg-green-700 text-white px-6 py-2 rounded-full font-medium transition">
Submit Vote
</button>
</div>
<div class="bg-gray-50 p-6 rounded-xl">
<h3 class="font-bold text-xl mb-4">Feature Requests</h3>
<div class="mb-4">
<div class="flex justify-between mb-2">
<span class="font-medium">Workout Video Analysis</span>
<span class="text-green-600">+1,245 votes</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-green-600 h-2.5 rounded-full" style="width: 72%"></div>
</div>
</div>
<div class="mb-4">
<div class="flex justify-between mb-2">
<span class="font-medium">Meal Prep Planner</span>
<span class="text-green-600">+892 votes</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-green-600 h-2.5 rounded-full" style="width: 52%"></div>
</div>
</div>
<div class="mb-4">
<div class="flex justify-between mb-2">
<span class="font-medium">Personal Coach Connect</span>
<span class="text-green-600">+756 votes</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-green-600 h-2.5 rounded-full" style="width: 45%"></div>
</div>
</div>
<div>
<div class="flex justify-between mb-2">
<span class="font-medium">Sleep Tracking</span>
<span class="text-green-600">+621 votes</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-green-600 h-2.5 rounded-full" style="width: 38%"></div>
</div>
</div>
</div>
</div>
<div class="bg-gray-50 rounded-xl p-8">
<h3 class="font-bold text-xl mb-6 text-center">Send Us Your Feedback</h3>
<form>
<div class="grid md:grid-cols-2 gap-6 mb-6">
<div>
<label class="block text-gray-700 mb-2">Name</label>
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500">
</div>
<div>
<label class="block text-gray-700 mb-2">Email</label>
<input type="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500">
</div>
</div>
<div class="mb-6">
<label class="block text-gray-700 mb-2">Feedback Type</label>
<select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500">
<option>General Feedback</option>
<option>Feature Request</option>
<option>Bug Report</option>
<option>Account Help</option>
</select>
</div>
<div class="mb-6">
<label class="block text-gray-700 mb-2">Your Feedback</label>
<textarea rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500"></textarea>
</div>
<div class="text-center">
<button class="bg-green-600 hover:bg-green-700 text-white px-8 py-3 rounded-full font-medium transition">
Submit Feedback
</button>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- Mobile App Section -->
<section class="py-16 gradient-bg text-white">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-10 md:mb-0">
<h2 class="text-3xl font-bold mb-6">Get The <span class="text-green-400">Mobile App</span></h2>
<p class="text-lg mb-8 text-gray-300">Take FitTrack Pro with you wherever you go. Available for both iOS and Android devices.</p>
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<button class="bg-black hover:bg-gray-900 px-6 py-3 rounded-lg font-medium transition flex items-center justify-center">
<i class="fab fa-apple text-2xl mr-3"></i>
<div class="text-left">
<div class="text-xs">Download on the</div>
<div class="text-lg">App Store</div>
</div>
</button>
<button class="bg-black hover:bg-gray-900 px-6 py-3 rounded-lg font-medium transition flex items-center justify-center">
<i class="fab fa-google-play text-2xl mr-3"></i>
<div class="text-left">
<div class="text-xs">Get it on</div>
<div class="text-lg">Google Play</div>
</div>
</button>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<div class="relative">
<div class="w-64 h-auto bg-black rounded-3xl overflow-hidden border-8 border-gray-800">
<div class="h-10 bg-gray-800 flex items-center justify-center">
<div class="w-16 h-1 bg-gray-600 rounded-full"></div>
</div>
<div class="mobile-screen h-96 bg-gradient-to-b from-gray-900 to-gray-800 p-4">
<div class="flex justify-between items-center mb-4">
<span class="text-white font-bold">FitTrack</span>
<span class="text-green-400 text-xs">Now</span>
</div>
<div class="text-center mb-6">
<div class="w-16 h-16 bg-green-600 rounded-full flex items-center justify-center mx-auto mb-3">
<i class="fas fa-dumbbell text-white text-2xl"></i>
</div>
<h3 class="text-xl font-bold mb-1">Today's Workout</h3>
<p class="text-green-400 text-sm">Upper Body Strength</p>
</div>
<div class="grid grid-cols-2 gap-3 mb-4">
<div class="bg-gray-800 rounded-lg p-3 text-center">
<p class="text-white text-xs">Exercises</p>
<p class="text-green-400 font-bold">6</p>
</div>
<div class="bg-gray-800 rounded-lg p-3 text-center">
<p class="text-white text-xs">Duration</p>
<p class="text-green-400 font-bold">45 min</p>
</div>
</div>
<button class="w-full bg-green-600 hover:bg-green-700 text-white py-3 rounded-lg font-medium transition mb-4">
Start Workout
</button>
<div class="text-center text-xs text-gray-400">
<p>Last completed: 2 days ago</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-black text-white py-12">
<div class="container mx-auto px-4">
<div class="grid md:grid-cols-4 gap-8 mb-8">
<div>
<div class="flex items-center space-x-2 mb-4">
<i class="fas fa-dumbbell text-green-500 text-2xl"></i>
<span class="font-bold text-xl">FitTrack Pro</span>
</div>
<p class="text-gray-400 mb-4">Your ultimate fitness companion for workout tracking, meal planning, and community support.</p>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-green-500 transition"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="text-gray-400 hover:text-green-500 transition"><i class="fab fa-twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-green-500 transition"><i class="fab fa-instagram"></i></a>
<a href="#" class="text-gray-400 hover:text-green-500 transition"><i class="fab fa-youtube"></i></a>
</div>
</div>
<div>
<h3 class="font-bold text-lg mb-4">Quick Links</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-green-500 transition">Home</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-500 transition">Features</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-500 transition">Pricing</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-500 transition">Community</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-500 transition">Blog</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-lg mb-4">Resources</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-green-500 transition">Exercise Library</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-500 transition">Meal Plans</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-500 transition">Fitness Calculators</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-500 transition">Workout Plans</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-500 transition">Help Center</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-lg mb-4">Newsletter</h3>
<p class="text-gray-400 mb-4">Subscribe to our newsletter for fitness tips and exclusive offers.</p>
<div class="flex">
<input type="email" placeholder="Your email" class="px-4 py-2 bg-gray-800 text-white rounded-l-lg focus:outline-none focus:ring-2 focus:ring-green-500 w-full">
<button class="bg-green-600 hover:bg-green-700 px-4 py-2 rounded-r-lg transition">
<i class="fas fa-paper-plane"></i>
</button>
</div>
</div>
</div>
<div class="pt-8 border-t border-gray-800">
<div class="md:flex justify-between items-center">
<p class="text-gray-400 mb-4 md:mb-0">© 2023 FitTrack Pro. All rights reserved.</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-green-500 transition">Privacy Policy</a>
<a href="#" class="text-gray-400 hover:text-green-500 transition">Terms of Service</a>
<a href="#" class="text-gray-400 hover:text-green-500 transition">Cookies</a>
</div>
</div>
</div>
</div>
</footer>
<!-- Feedback Modal -->
<div id="feedbackModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
<div class="bg-white rounded-xl p-8 max-w-md w-full mx-4">
<div class="flex justify-between items-center mb-6">
<h3 class="font-bold text-xl">Share Your Feedback</h3>
<button id="closeFeedbackModal" class="text-gray-500 hover:text-gray-700">
<i class="fas fa-times"></i>
</button>
</div>
<form>
<div class="mb-4">
<label class="block text-gray-700 mb-2">How would you rate your experience?</label>
<div class="flex space-x-2">
<button type="button" class="w-10 h-10 rounded-full bg-gray-200 hover:bg-green-100 flex items-center justify-center">
<i class="fas fa-star text-gray-500"></i>
</button>
<button type="button" class="w-10 h-10 rounded-full bg-gray-200 hover:bg-green-100 flex items-center justify-center">
<i class="fas fa-star text-gray-500"></i>
</button>
<button type="button" class="w-10 h-10 rounded-full bg-gray-200 hover:bg-green-100 flex items-center justify-center">
<i class="fas fa-star text-gray-500"></i>
</button>
<button type="button" class="w-10 h-10 rounded-full bg-gray-200 hover:bg-green-100 flex items-center justify-center">
<i class="fas fa-star text-gray-500"></i>
</button>
<button type="button" class="w-10 h-10 rounded-full bg-gray-200 hover:bg-green-100 flex items-center justify-center">
<i class="fas fa-star text-gray-500"></i>
</button>
</div>
</div>
<div class="mb-6">
<label class="block text-gray-700 mb-2">What can we improve?</label>
<textarea rows="3" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500"></textarea>
</div>
<div class="flex justify-end space-x-3">
<button type="button" id="cancelFeedback" class="px-4 py-2 border border-gray-300 rounded-lg hover:bg-gray-100 transition">
Cancel
</button>
<button type="submit" class="bg-green-600 hover:bg-green-700 text-white px-6 py-2 rounded-lg font-medium transition">
Submit
</button>
</div>
</form>
</div>
</div>
<script>
// Mobile menu toggle
document.getElementById('mobileMenuButton').addEventListener('click', function() {
const menu = document.getElementById('mobileMenu');
menu.classList.toggle('hidden');
});
// Feedback modal
const feedbackModal = document.getElementById('feedbackModal');
const closeFeedbackModal = document.getElementById('closeFeedbackModal');
const cancelFeedback = document.getElementById('cancelFeedback');
// Show feedback modal after 30 seconds
setTimeout(() => {
feedbackModal.classList.remove('hidden');
}, 30000);
closeFeedbackModal.addEventListener('click', function() {
feedbackModal.classList.add('hidden');
});
cancelFeedback.addEventListener('click', function() {
feedbackModal.classList.add('hidden');
});
// Close modal when clicking outside
feedbackModal.addEventListener('click', function(e) {
if (e.target === feedbackModal) {
feedbackModal.classList.add('hidden');
}
});
// Exercise filter
const filterButtons = document.querySelectorAll('.exercise-filter-btn');
const exerciseContainer = document.getElementById('exerciseContainer');
// Sample exercise data
const exercises = [
{
name: "Barbell Squat",
type: "strength",
muscle: "Legs",
difficulty: "Intermediate",
video: "https://www.youtube.com/embed/bEv6CCg2BC8",
description: "Compound exercise that targets the quadriceps, hamstrings, and glutes."
},
{
name: "Bench Press",
type: "strength",
muscle: "Chest",
difficulty: "Beginner",
video: "https://www.youtube.com/embed/rT7DgCr-3D4",
description: "Classic chest exercise that also works the shoulders and triceps."
},
{
name: "Running",
type: "cardio",
muscle: "Full Body",
difficulty: "Beginner",
video: "https://www.youtube.com/embed/5umbf5HURX4",
description: "Great cardiovascular exercise that improves endurance and burns calories."
},
{
name: "Burpees",
type: "hiit",
muscle: "Full Body",
difficulty: "Advanced",
video: "https://www.youtube.com/embed/dZgVxmf6jkA",
description: "Full-body exercise that combines strength training and aerobic elements."
},
{
name: "Yoga Flow",
type: "flexibility",
muscle: "Full Body",
difficulty: "Beginner",
video: "https://www.youtube.com/embed/XGQjk3qSgW8",
description: "Sequence of poses that improve flexibility, balance, and mental focus."
},
{
name: "Deadlift",
type: "strength",
muscle: "Back",
difficulty: "Advanced",
video: "https://www.youtube.com/embed/1ZXobu7JvvE",
description: "Powerful compound exercise that targets the posterior chain muscles."
}
];
// Display exercises
function displayExercises(filter = 'all') {
exerciseContainer.innerHTML = '';
const filteredExercises = filter === 'all'
? exercises
: exercises.filter(ex => ex.type === filter);
filteredExercises.forEach(exercise => {
const exerciseCard = document.createElement('div');
exerciseCard.className = 'exercise-card bg-white rounded-xl overflow-hidden shadow-md hover:shadow-lg transition';
exerciseCard.innerHTML = `
<div class="relative">
<div class="h-48 bg-gray-200 flex items-center justify-center">
<iframe width="100%" height="100%" src="${exercise.video}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<div class="exercise-overlay absolute inset-0 bg-black bg-opacity-70 flex items-center justify-center opacity-0">
<button class="bg-green-600 hover:bg-green-700 text-white px-6 py-2 rounded-full font-medium transition">
Add to Workout
</button>
</div>
</div>
<div class="p-4">
<div class="flex justify-between items-start mb-2">
<h3 class="font-bold text-lg">${exercise.name}</h3>
<span class="text-xs px-2 py-1 bg-gray-200 rounded-full">${exercise.difficulty}</span>
</div>
<p class="text-gray-600 text-sm mb-3">${exercise.description}</p>
<div class="flex justify-between text-xs text-gray-500">
<span>${exercise.muscle}</span>
<span>${exercise.type.charAt(0).toUpperCase() + exercise.type.slice(1)}</span>
</div>
</div>
`;
exerciseContainer.appendChild(exerciseCard);
});
}
// Initial display
displayExercises();
// Filter exercises
filterButtons.forEach(button => {
button.addEventListener('click', function() {
// Update active button
filterButtons.forEach(btn => {
btn.classList.remove('bg-green-600', 'text-white');
btn.classList.add('bg-gray-200', 'hover:bg-gray-300');
});
this.classList.remove('bg-gray-200', 'hover:bg-gray-300');
this.classList.add('bg-green-600', 'text-white');
// Filter exercises
const filter = this.getAttribute('data-filter');
displayExercises(filter);
});
});
// Smooth scrolling for navigation
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
const targetId = this.getAttribute('href');
const targetElement = document.querySelector(targetId);
if (targetElement) {
window.scrollTo({
top: targetElement.offsetTop - 80,
behavior: 'smooth'
});
// Close mobile menu if open
const mobileMenu = document.getElementById('mobileMenu');
if (!mobileMenu.classList.contains('hidden')) {
mobileMenu.classList.add('hidden');
}
}
});
});
</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=MackArud/fittrack" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FitTrack Pro - Your Ultimate Fitness Companion</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
scroll-behavior: smooth;
}
.gradient-bg {
background: linear-gradient(135deg, #000000 0%, #1a2e1a 100%);
}
.exercise-card:hover .exercise-overlay {
opacity: 1;
transform: translateY(0);
}
.exercise-overlay {
transition: all 0.3s ease;
opacity: 0;
transform: translateY(20px);
}
.community-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 128, 0, 0.2);
}
.calendar-day.active {
background-color: #1a2e1a;
color: white;
}
.nutrition-card:hover {
transform: scale(1.02);
}
#feedbackModal {
transition: opacity 0.3s ease;
}
.mobile-preview {
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
border-radius: 30px;
}
.mobile-screen {
transition: all 0.5s ease;
}
</style>
</head>
<body class="bg-gray-100">
<!-- Navigation -->
<nav class="gradient-bg text-white shadow-lg">
<div class="container mx-auto px-4 py-3">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fas fa-dumbbell text-green-500 text-2xl"></i>
<span class="font-bold text-xl">FitTrack Pro</span>
</div>
<div class="hidden md:flex space-x-8">
<a href="#home" class="hover:text-green-400 transition">Home</a>
<a href="#features" class="hover:text-green-400 transition">Features</a>
<a href="#community" class="hover:text-green-400 transition">Community</a>
<a href="#exercises" class="hover:text-green-400 transition">Exercises</a>
<a href="#nutrition" class="hover:text-green-400 transition">Nutrition</a>
<a href="#shop" class="hover:text-green-400 transition">Shop</a>
</div>
<div class="flex items-center space-x-4">
<button class="md:hidden" id="mobileMenuButton">
<i class="fas fa-bars text-xl"></i>
</button>
</div>
<div class="absolute right-4 top-3">
<button class="bg-green-600 hover:bg-green-700 px-4 py-2 rounded-full font-medium transition">
Sign In
</button>
</div>
</div>
<!-- Mobile Menu -->
<div class="md:hidden hidden mt-4 pb-2" id="mobileMenu">
<div class="flex flex-col space-y-3">
<a href="#home" class="hover:text-green-400 transition">Home</a>
<a href="#features" class="hover:text-green-400 transition">Features</a>
<a href="#community" class="hover:text-green-400 transition">Community</a>
<a href="#exercises" class="hover:text-green-400 transition">Exercises</a>
<a href="#nutrition" class="hover:text-green-400 transition">Nutrition</a>
<a href="#shop" class="hover:text-green-400 transition">Shop</a>
</div>
</div>
</div>