Spaces:
Running
Running
Download index.html from hapysingh/flexfusion-flare: direct link, hf CLI and curl.
- Browser
- Download file 11 kB
-
https://huggingface.co/spaces/hapysingh/flexfusion-flare/resolve/main/index.html
- Command line
-
hf download hf://spaces/hapysingh/flexfusion-flare/index.html
-
curl -L -o index.html https://huggingface.co/spaces/hapysingh/flexfusion-flare/resolve/main/index.html
11 kB
| <html lang="en" class=""> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>FitFusion Flexer</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> | |
| <script> | |
| tailwind.config = { | |
| darkMode: 'class', | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: { | |
| 50: '#f0f9ff', | |
| 100: '#e0f2fe', | |
| 200: '#bae6fd', | |
| 300: '#7dd3fc', | |
| 400: '#38bdf8', | |
| 500: '#0ea5e9', | |
| 600: '#0284c7', | |
| 700: '#0369a1', | |
| 800: '#075985', | |
| 900: '#0c4a6e', | |
| }, | |
| secondary: { | |
| 50: '#f5f3ff', | |
| 100: '#ede9fe', | |
| 200: '#ddd6fe', | |
| 300: '#c4b5fd', | |
| 400: '#a78bfa', | |
| 500: '#8b5cf6', | |
| 600: '#7c3aed', | |
| 700: '#6d28d9', | |
| 800: '#5b21b6', | |
| 900: '#4c1d95', | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </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">FitFusion</h1> | |
| </div> | |
| <button class="text-gray-600 dark:text-gray-300 hover:text-primary-500 dark:hover:text-primary-400"> | |
| <i data-feather="bell"></i> | |
| </button> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="flex-1 overflow-y-auto pb-20"> | |
| <!-- Home Feed --> | |
| <section class="container mx-auto px-4 py-6"> | |
| <h2 class="text-xl font-bold text-gray-800 dark:text-white mb-4">Community Feed</h2> | |
| <!-- Create Post --> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow-sm p-4 mb-6"> | |
| <div class="flex items-start space-x-3"> | |
| <img src="http://static.photos/people/200x200/1" alt="User" class="w-10 h-10 rounded-full"> | |
| <div class="flex-1"> | |
| <textarea placeholder="Share your fitness journey..." class="w-full bg-gray-50 dark:bg-gray-700 rounded-lg px-4 py-2 text-gray-800 dark:text-white placeholder-gray-400 dark:placeholder-gray-300 border border-gray-200 dark:border-gray-600 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent resize-none"></textarea> | |
| <div class="flex justify-between items-center mt-2"> | |
| <div class="flex space-x-2"> | |
| <button class="text-gray-500 hover:text-primary-500"> | |
| <i data-feather="image"></i> | |
| </button> | |
| <button class="text-gray-500 hover:text-primary-500"> | |
| <i data-feather="video"></i> | |
| </button> | |
| </div> | |
| <button class="bg-primary-500 hover:bg-primary-600 text-white px-4 py-1 rounded-lg text-sm font-medium">Post</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Sample Posts --> | |
| <div class="space-y-4"> | |
| <!-- Post 1 --> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow-sm overflow-hidden"> | |
| <div class="p-4"> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <img src="http://static.photos/people/200x200/2" alt="User" class="w-10 h-10 rounded-full"> | |
| <div> | |
| <h3 class="font-medium text-gray-800 dark:text-white">Alex Johnson</h3> | |
| <p class="text-xs text-gray-500 dark:text-gray-400">45 min ago</p> | |
| </div> | |
| </div> | |
| <button class="text-gray-400 hover:text-gray-600 dark:hover:text-gray-200"> | |
| <i data-feather="more-vertical"></i> | |
| </button> | |
| </div> | |
| <p class="mt-3 text-gray-700 dark:text-gray-300">Just completed my first 10K run! πββοΈ Feeling amazing and ready for the next challenge. #fitnessgoals #running</p> | |
| </div> | |
| <img src="http://static.photos/sport/640x360/1" alt="Post image" class="w-full h-48 object-cover"> | |
| <div class="px-4 py-3 border-t border-gray-100 dark:border-gray-700 flex justify-between"> | |
| <button class="flex items-center space-x-1 text-gray-500 hover:text-primary-500 dark:hover:text-primary-400"> | |
| <i data-feather="heart"></i> | |
| <span>24</span> | |
| </button> | |
| <button class="flex items-center space-x-1 text-gray-500 hover:text-primary-500 dark:hover:text-primary-400"> | |
| <i data-feather="message-square"></i> | |
| <span>5</span> | |
| </button> | |
| <button class="flex items-center space-x-1 text-gray-500 hover:text-primary-500 dark:hover:text-primary-400"> | |
| <i data-feather="share-2"></i> | |
| <span>Share</span> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Post 2 --> | |
| <div class="bg-white dark:bg-gray-800 rounded-lg shadow-sm overflow-hidden"> | |
| <div class="p-4"> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <img src="http://static.photos/people/200x200/3" alt="User" class="w-10 h-10 rounded-full"> | |
| <div> | |
| <h3 class="font-medium text-gray-800 dark:text-white">Maria Garcia</h3> | |
| <p class="text-xs text-gray-500 dark:text-gray-400">2 hours ago</p> | |
| </div> | |
| </div> | |
| <button class="text-gray-400 hover:text-gray-600 dark:hover:text-gray-200"> | |
| <i data-feather="more-vertical"></i> | |
| </button> | |
| </div> | |
| <p class="mt-3 text-gray-700 dark:text-gray-300">30-day yoga challenge completed! π§ββοΈ My flexibility and mental clarity have improved so much. Highly recommend trying this program.</p> | |
| </div> | |
| <div class="px-4 py-3 border-t border-gray-100 dark:border-gray-700 flex justify-between"> | |
| <button class="flex items-center space-x-1 text-gray-500 hover:text-primary-500 dark:hover:text-primary-400"> | |
| <i data-feather="heart"></i> | |
| <span>42</span> | |
| </button> | |
| <button class="flex items-center space-x-1 text-gray-500 hover:text-primary-500 dark:hover:text-primary-400"> | |
| <i data-feather="message-square"></i> | |
| <span>8</span> | |
| </button> | |
| <button class="flex items-center space-x-1 text-gray-500 hover:text-primary-500 dark:hover:text-primary-400"> | |
| <i data-feather="share-2"></i> | |
| <span>Share</span> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| </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-primary-500"> | |
| <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-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> | |