Spaces:
Running
Running
Download workout.html from hapysingh/flexfusion-flare: direct link, hf CLI and curl.
- Browser
- Download file 9.26 kB
-
https://huggingface.co/spaces/hapysingh/flexfusion-flare/resolve/main/workout.html
- Command line
-
hf download hf://spaces/hapysingh/flexfusion-flare/workout.html
-
curl -L -o workout.html https://huggingface.co/spaces/hapysingh/flexfusion-flare/resolve/main/workout.html
9.26 kB
| <html lang="en" class=""> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Workouts | FitFusion</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| </head> | |
| <body class="bg-gray-50 dark:bg-gray-900 min-h-screen flex flex-col"> | |
| <!-- Top Navigation --> | |
| <header class="bg-white dark:bg-gray-800 shadow-sm sticky top-0 z-10"> | |
| <div class="container mx-auto px-4 py-3 flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <div class="w-8 h-8 rounded-full bg-primary-500 flex items-center justify-center"> | |
| <i data-feather="activity" class="text-white"></i> | |
| </div> | |
| <h1 class="text-xl font-bold text-gray-800 dark:text-white">Workouts</h1> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button id="theme-toggle" class="text-gray-600 dark:text-gray-300 hover:text-primary-500 dark:hover:text-primary-400"> | |
| <i data-feather="moon" class="hidden dark:block"></i> | |
| <i data-feather="sun" class="dark:hidden"></i> | |
| </button> | |
| <button class="text-gray-600 dark:text-gray-300 hover:text-primary-500 dark:hover:text-primary-400"> | |
| <i data-feather="search"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="flex-1 overflow-y-auto pb-20"> | |
| <div class="container mx-auto px-4 py-6"> | |
| <!-- Categories --> | |
| <div class="flex overflow-x-auto space-x-3 pb-2 scrollbar-hide"> | |
| <button class="px-4 py-2 bg-primary-500 text-white rounded-full whitespace-nowrap font-medium text-sm">All Workouts</button> | |
| <button class="px-4 py-2 bg-gray-200 dark:bg-gray-700 text-gray-800 dark:text-white rounded-full whitespace-nowrap font-medium text-sm">Beginner</button> | |
| <button class="px-4 py-2 bg-gray-200 dark:bg-gray-700 text-gray-800 dark:text-white rounded-full whitespace-nowrap font-medium text-sm">Intermediate</button> | |
| <button class="px-4 py-2 bg-gray-200 dark:bg-gray-700 text-gray-800 dark:text-white rounded-full whitespace-nowrap font-medium text-sm">Advanced</button> | |
| <button class="px-4 py-2 bg-gray-200 dark:bg-gray-700 text-gray-800 dark:text-white rounded-full whitespace-nowrap font-medium text-sm">Cardio</button> | |
| <button class="px-4 py-2 bg-gray-200 dark:bg-gray-700 text-gray-800 dark:text-white rounded-full whitespace-nowrap font-medium text-sm">Strength</button> | |
| </div> | |
| <!-- Featured Workout --> | |
| <div class="mt-6"> | |
| <h2 class="text-lg font-bold text-gray-800 dark:text-white mb-3">Featured Workout</h2> | |
| <div class="bg-white dark:bg-gray-800 rounded-xl shadow-sm overflow-hidden relative"> | |
| <img src="http://static.photos/sport/640x360/2" alt="Workout" class="w-full h-48 object-cover"> | |
| <div class="absolute top-3 left-3 bg-primary-500 text-white px-2 py-1 rounded-md text-xs font-medium"> | |
| Beginner | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-gray-800 dark:text-white">Morning Stretch Routine</h3> | |
| <p class="text-sm text-gray-600 dark:text-gray-300 mt-1">15 min • Full Body</p> | |
| <div class="flex items-center justify-between mt-4"> | |
| <div class="flex items-center space-x-2 text-gray-600 dark:text-gray-300"> | |
| <i data-feather="clock" class="w-4 h-4"></i> | |
| <span class="text-xs">Daily</span> | |
| </div> | |
| <button class="bg-primary-500 hover:bg-primary-600 text-white px-4 py-1 rounded-lg text-sm font-medium"> | |
| Start | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Workout Categories --> | |
| <div class="mt-8"> | |
| <h2 class="text-lg font-bold text-gray-800 dark:text-white mb-3">Beginner Workouts</h2> | |
| <div class="grid grid-cols-2 gap-4"> | |
| <!-- Workout 1 --> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow-sm overflow-hidden"> | |
| <img src="http://static.photos/sport/320x240/1" alt="Workout" class="w-full h-32 object-cover"> | |
| <div class="p-3"> | |
| <h3 class="font-medium text-gray-800 dark:text-white text-sm">5-Minute Warm Up</h3> | |
| <p class="text-xs text-gray-600 dark:text-gray-300 mt-1">5 min • Warm Up</p> | |
| </div> | |
| </div> | |
| <!-- Workout 2 --> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow-sm overflow-hidden"> | |
| <img src="http://static.photos/sport/320x240/2" alt="Workout" class="w-full h-32 object-cover"> | |
| <div class="p-3"> | |
| <h3 class="font-medium text-gray-800 dark:text-white text-sm">Basic Abs Workout</h3> | |
| <p class="text-xs text-gray-600 dark:text-gray-300 mt-1">10 min • Core</p> | |
| </div> | |
| </div> | |
| <!-- Workout 3 --> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow-sm overflow-hidden"> | |
| <img src="http://static.photos/sport/320x240/3" alt="Workout" class="w-full h-32 object-cover"> | |
| <div class="p-3"> | |
| <h3 class="font-medium text-gray-800 dark:text-white text-sm">Lower Body Stretch</h3> | |
| <p class="text-xs text-gray-600 dark:text-gray-300 mt-1">8 min • Flexibility</p> | |
| </div> | |
| </div> | |
| <!-- Workout 4 --> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow-sm overflow-hidden"> | |
| <img src="http://static.photos/sport/320x240/4" alt="Workout" class="w-full h-32 object-cover"> | |
| <div class="p-3"> | |
| <h3 class="font-medium text-gray-800 dark:text-white text-sm">Beginner Yoga Flow</h3> | |
| <p class="text-xs text-gray-600 dark:text-gray-300 mt-1">15 min • Yoga</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- More categories would be here --> | |
| </div> | |
| </main> | |
| <!-- Bottom Navigation --> | |
| <nav class="bg-white dark:bg-gray-800 fixed bottom-0 left-0 right-0 shadow-lg border-t border-gray-200 dark:border-gray-700"> | |
| <div class="container mx-auto px-4"> | |
| <div class="flex justify-around"> | |
| <a href="index.html" class="flex flex-col items-center py-3 px-4 text-gray-500 hover:text-primary-500 dark:hover:text-primary-400"> | |
| <i data-feather="home"></i> | |
| <span class="text-xs mt-1">Home</span> | |
| </a> | |
| <a href="workout.html" class="flex flex-col items-center py-3 px-4 text-primary-500"> | |
| <i data-feather="activity"></i> | |
| <span class="text-xs mt-1">Workout</span> | |
| </a> | |
| <a href="premium.html" class="flex flex-col items-center py-3 px-4 text-gray-500 hover:text-primary-500 dark:hover:text-primary-400"> | |
| <i data-feather="award"></i> | |
| <span class="text-xs mt-1">Premium</span> | |
| </a> | |
| <a href="profile.html" class="flex flex-col items-center py-3 px-4 text-gray-500 hover:text-primary-500 dark:hover:text-primary-400"> | |
| <i data-feather="user"></i> | |
| <span class="text-xs mt-1">Profile</span> | |
| </a> | |
| </div> | |
| </div> | |
| </nav> | |
| <script> | |
| // Theme toggle | |
| const themeToggle = document.getElementById('theme-toggle'); | |
| const html = document.documentElement; | |
| if (localStorage.getItem('theme') === 'dark' || (!localStorage.getItem('theme') && window.matchMedia('(prefers-color-scheme: dark)').matches)) { | |
| html.classList.add('dark'); | |
| } else { | |
| html.classList.remove('dark'); | |
| } | |
| themeToggle.addEventListener('click', () => { | |
| html.classList.toggle('dark'); | |
| localStorage.setItem('theme', html.classList.contains('dark') ? 'dark' : 'light'); | |
| }); | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |