Spaces:
Running
Running
Download profile.html from hapysingh/flexfusion-flare: direct link, hf CLI and curl.
- Browser
- Download file 11.9 kB
-
https://huggingface.co/spaces/hapysingh/flexfusion-flare/resolve/main/profile.html
- Command line
-
hf download hf://spaces/hapysingh/flexfusion-flare/profile.html
-
curl -L -o profile.html https://huggingface.co/spaces/hapysingh/flexfusion-flare/resolve/main/profile.html
11.9 kB
| <html lang="en" class=""> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Profile | 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="user" class="text-white"></i> | |
| </div> | |
| <h1 class="text-xl font-bold text-gray-800 dark:text-white">Profile</h1> | |
| </div> | |
| <button class="text-gray-600 dark:text-gray-300 hover:text-primary-500 dark:hover:text-primary-400"> | |
| <i data-feather="settings"></i> | |
| </button> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="flex-1 overflow-y-auto pb-20"> | |
| <div class="container mx-auto px-4 py-6"> | |
| <!-- Profile Header --> | |
| <div class="flex items-center space-x-4"> | |
| <img src="http://static.photos/people/200x200/4" alt="Profile" class="w-20 h-20 rounded-full border-2 border-primary-500"> | |
| <div> | |
| <h2 class="text-xl font-bold text-gray-800 dark:text-white">Sarah Williams</h2> | |
| <p class="text-sm text-gray-600 dark:text-gray-300">Member since June 2023</p> | |
| <div class="flex items-center space-x-2 mt-1"> | |
| <span class="bg-primary-100 dark:bg-primary-900 text-primary-800 dark:text-primary-200 px-2 py-0.5 rounded-full text-xs font-medium">Premium</span> | |
| <span class="bg-gray-100 dark:bg-gray-700 text-gray-800 dark:text-gray-200 px-2 py-0.5 rounded-full text-xs font-medium">Intermediate</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Stats --> | |
| <div class="mt-6 grid grid-cols-3 gap-3"> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow-sm p-4 text-center"> | |
| <p class="text-2xl font-bold text-primary-500 dark:text-primary-400">24</p> | |
| <p class="text-xs text-gray-600 dark:text-gray-300 mt-1">Workouts</p> | |
| </div> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow-sm p-4 text-center"> | |
| <p class="text-2xl font-bold text-primary-500 dark:text-primary-400">12</p> | |
| <p class="text-xs text-gray-600 dark:text-gray-300 mt-1">Week Streak</p> | |
| </div> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow-sm p-4 text-center"> | |
| <p class="text-2xl font-bold text-primary-500 dark:text-primary-400">87%</p> | |
| <p class="text-xs text-gray-600 dark:text-gray-300 mt-1">Consistency</p> | |
| </div> | |
| </div> | |
| <!-- Progress Photos --> | |
| <div class="mt-8"> | |
| <div class="flex items-center justify-between mb-3"> | |
| <h2 class="text-lg font-bold text-gray-800 dark:text-white">Progress Photos</h2> | |
| <button class="text-primary-500 dark:text-primary-400 text-sm font-medium">See All</button> | |
| </div> | |
| <div class="grid grid-cols-3 gap-2"> | |
| <img src="http://static.photos/people/320x240/5" alt="Progress" class="w-full h-24 rounded-lg object-cover"> | |
| <img src="http://static.photos/people/320x240/6" alt="Progress" class="w-full h-24 rounded-lg object-cover"> | |
| <img src="http://static.photos/people/320x240/7" alt="Progress" class="w-full h-24 rounded-lg object-cover"> | |
| </div> | |
| </div> | |
| <!-- Personal Bests --> | |
| <div class="mt-8"> | |
| <h2 class="text-lg font-bold text-gray-800 dark:text-white mb-3">Personal Bests</h2> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow-sm p-4"> | |
| <div class="flex items-center justify-between py-2"> | |
| <div> | |
| <h3 class="font-medium text-gray-800 dark:text-white">Most Workouts in a Week</h3> | |
| <p class="text-sm text-gray-600 dark:text-gray-300">November 5 - 11, 2023</p> | |
| </div> | |
| <span class="text-primary-500 dark:text-primary-400 font-bold">6</span> | |
| </div> | |
| <div class="border-t border-gray-100 dark:border-gray-700 my-2"></div> | |
| <div class="flex items-center justify-between py-2"> | |
| <div> | |
| <h3 class="font-medium text-gray-800 dark:text-white">Longest Workout</h3> | |
| <p class="text-sm text-gray-600 dark:text-gray-300">October 28, 2023</p> | |
| </div> | |
| <span class="text-primary-500 dark:text-primary-400 font-bold">45 min</span> | |
| </div> | |
| <div class="border-t border-gray-100 dark:border-gray-700 my-2"></div> | |
| <div class="flex items-center justify-between py-2"> | |
| <div> | |
| <h3 class="font-medium text-gray-800 dark:text-white">Current Streak</h3> | |
| <p class="text-sm text-gray-600 dark:text-gray-300">Started November 1, 2023</p> | |
| </div> | |
| <span class="text-primary-500 dark:text-primary-400 font-bold">12 days</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Settings --> | |
| <div class="mt-8"> | |
| <h2 class="text-lg font-bold text-gray-800 dark:text-white mb-3">Settings</h2> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow-sm overflow-hidden"> | |
| <a href="#" class="block px-4 py-3 border-b border-gray-100 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-700"> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <i data-feather="user" class="text-gray-600 dark:text-gray-300"></i> | |
| <span class="text-gray-800 dark:text-white">Edit Profile</span> | |
| </div> | |
| <i data-feather="chevron-right" class="text-gray-400"></i> | |
| </div> | |
| </a> | |
| <a href="#" class="block px-4 py-3 border-b border-gray-100 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-700"> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <i data-feather="moon" class="text-gray-600 dark:text-gray-300"></i> | |
| <span class="text-gray-800 dark:text-white">Theme</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <span id="theme-status" class="text-xs text-gray-500 mr-2">Dark</span> | |
| <i data-feather="chevron-right" class="text-gray-400"></i> | |
| </div> | |
| </div> | |
| </a> | |
| <a href="#" class="block px-4 py-3 border-b border-gray-100 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-700"> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <i data-feather="bell" class="text-gray-600 dark:text-gray-300"></i> | |
| <span class="text-gray-800 dark:text-white">Notifications</span> | |
| </div> | |
| <i data-feather="chevron-right" class="text-gray-400"></i> | |
| </div> | |
| </a> | |
| <a href="#" class="block px-4 py-3 border-b border-gray-100 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-700"> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <i data-feather="lock" class="text-gray-600 dark:text-gray-300"></i> | |
| <span class="text-gray-800 dark:text-white">Privacy</span> | |
| </div> | |
| <i data-feather="chevron-right" class="text-gray-400"></i> | |
| </div> | |
| </a> | |
| <a href="#" class="block px-4 py-3 hover:bg-gray-50 dark:hover:bg-gray-700"> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <i data-feather="log-out" class="text-red-500"></i> | |
| <span class="text-red-500">Sign Out</span> | |
| </div> | |
| <i data-feather="chevron-right" class="text-gray-400"></i> | |
| </div> | |
| </a> | |
| </div> | |
| </div> | |
| </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-gray-500 hover:text-primary-500 dark:hover:text-primary-400"> | |
| <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-primary-500"> | |
| <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> | |