Spaces:
Running
Running
Download index.html from NatarM/flexforce-trainer-hub: direct link, hf CLI and curl.
- Browser
- Download file 17.9 kB
-
https://huggingface.co/spaces/NatarM/flexforce-trainer-hub/resolve/main/index.html
- Command line
-
hf download hf://spaces/NatarM/flexforce-trainer-hub/index.html
-
curl -L -o index.html https://huggingface.co/spaces/NatarM/flexforce-trainer-hub/resolve/main/index.html
17.9 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>FlexForce Trainer Hub - Personal Training & Online Classes</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: '#3B82F6', | |
| secondary: '#10B981' | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/fullcalendar@6.1.10/index.global.min.js"></script> | |
| <link href="https://cdn.jsdelivr.net/npm/fullcalendar@6.1.10/main.min.css" rel="stylesheet"> | |
| <style> | |
| .hero-gradient { | |
| background: linear-gradient(135deg, #3B82F6 0%, #10B981 100%); | |
| } | |
| .class-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| .calendar-container { | |
| height: 600px; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <!-- Navigation --> | |
| <nav class="bg-white shadow-lg fixed w-full z-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between h-16"> | |
| <div class="flex items-center"> | |
| <span class="text-primary font-bold text-xl">FlexForce</span> | |
| <span class="ml-1 text-secondary font-bold text-xl">Hub</span> | |
| </div> | |
| <div class="hidden md:flex items-center space-x-8"> | |
| <a href="#home" class="text-gray-700 hover:text-primary transition">Home</a> | |
| <a href="#classes" class="text-gray-700 hover:text-primary transition">Classes</a> | |
| <a href="#booking" class="text-gray-700 hover:text-primary transition">Booking</a> | |
| <a href="#calendar" class="text-gray-700 hover:text-primary transition">Calendar</a> | |
| <a href="#contact" class="text-gray-700 hover:text-primary transition">Contact</a> | |
| </div> | |
| <div class="flex items-center"> | |
| <button class="bg-primary text-white px-4 py-2 rounded-lg hover:bg-blue-600 transition">Login</button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <section id="home" class="pt-20 hero-gradient text-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20"> | |
| <div class="grid md:grid-cols-2 gap-12 items-center"> | |
| <div> | |
| <h1 class="text-4xl md:text-6xl font-bold mb-6">Transform Your Body, Transform Your Life</h1> | |
| <p class="text-xl mb-8">Professional personal training with online classes and flexible booking. Achieve your fitness goals with expert guidance.</p> | |
| <div class="flex flex-wrap gap-4"> | |
| <button class="bg-white text-primary px-8 py-3 rounded-lg font-semibold hover:bg-gray-100 transition">Book Session</button> | |
| <button class="border-2 border-white text-white px-8 py-3 rounded-lg font-semibold hover:bg-white hover:text-primary transition">View Classes</button> | |
| </div> | |
| </div> | |
| <div class="relative"> | |
| <img src="http://static.photos/fitness/1200x630/1" alt="Personal Trainer" class="rounded-2xl shadow-2xl"> | |
| <div class="absolute -bottom-4 -right-4 bg-white text-primary p-4 rounded-lg shadow-lg"> | |
| <div class="text-2xl font-bold">500+</div> | |
| <div class="text-sm">Happy Clients</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Online Classes Section --> | |
| <section id="classes" class="py-20 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4">Online Fitness Classes</h2> | |
| <p class="text-xl text-gray-600">Join live sessions or access recorded workouts anytime, anywhere</p> | |
| </div> | |
| <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <!-- Class Card 1 --> | |
| <div class="class-card bg-gray-50 rounded-2xl p-6 transition-all duration-300"> | |
| <div class="relative mb-6"> | |
| <img src="http://static.photos/sport/640x360/2" alt="HIIT Class" class="rounded-xl w-full h-48 object-cover"> | |
| <div class="absolute top-4 left-4 bg-primary text-white px-3 py-1 rounded-full text-sm">Live</div> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">HIIT Blast</h3> | |
| <p class="text-gray-600 mb-4">High-intensity interval training for maximum fat burn</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-primary font-semibold">$25/session</span> | |
| <button class="bg-primary text-white px-4 py-2 rounded-lg hover:bg-blue-600 transition">Join Now</button> | |
| </div> | |
| </div> | |
| <!-- Class Card 2 --> | |
| <div class="class-card bg-gray-50 rounded-2xl p-6 transition-all duration-300"> | |
| <div class="relative mb-6"> | |
| <img src="http://static.photos/yoga/640x360/3" alt="Yoga Class" class="rounded-xl w-full h-48 object-cover"> | |
| <div class="absolute top-4 left-4 bg-secondary text-white px-3 py-1 rounded-full text-sm">Recorded</div> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Yoga Flow</h3> | |
| <p class="text-gray-600 mb-4">Gentle yoga for flexibility and mental clarity</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-primary font-semibold">$20/session</span> | |
| <button class="bg-primary text-white px-4 py-2 rounded-lg hover:bg-blue-600 transition">Join Now</button> | |
| </div> | |
| </div> | |
| <!-- Class Card 3 --> | |
| <div class="class-card bg-gray-50 rounded-2xl p-6 transition-all duration-300"> | |
| <div class="relative mb-6"> | |
| <img src="http://static.photos/strength/640x360/4" alt="Strength Class" class="rounded-xl w-full h-48 object-cover"> | |
| <div class="absolute top-4 left-4 bg-primary text-white px-3 py-1 rounded-full text-sm">Live</div> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Strength Training</h3> | |
| <p class="text-gray-600 mb-4">Build muscle and increase strength with proper form</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-primary font-semibold">$30/session</span> | |
| <button class="bg-primary text-white px-4 py-2 rounded-lg hover:bg-blue-600 transition">Join Now</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Booking Section --> | |
| <section id="booking" class="py-20 bg-gray-100"> | |
| <div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="bg-white rounded-2xl shadow-xl p-8"> | |
| <h2 class="text-3xl font-bold text-center mb-8">Book Your Session</h2> | |
| <form class="space-y-6"> | |
| <div class="grid md:grid-cols-2 gap-6"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-2">First Name</label> | |
| <input type="text" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent"> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-2">Last Name</label> | |
| <input type="text" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent"> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-2">Email</label> | |
| <input type="email" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent"> | |
| </div> | |
| <div class="grid md:grid-cols-2 gap-6"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-2">Session Type</label> | |
| <select class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent"> | |
| <option>Personal Training</option> | |
| <option>Group Class</option> | |
| <option>Online Coaching</option> | |
| <option>Nutrition Consultation</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-2">Preferred Date</label> | |
| <input type="date" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent"> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-2">Message (Optional)</label> | |
| <textarea rows="4" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent"></textarea> | |
| </div> | |
| <button type="submit" class="w-full bg-primary text-white py-4 rounded-lg font-semibold hover:bg-blue-600 transition">Book Now</button> | |
| </form> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Calendar Section --> | |
| <section id="calendar" class="py-20 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4">Availability Calendar</h2> | |
| <p class="text-xl text-gray-600">Check real-time availability and book your preferred slot</p> | |
| </div> | |
| <div class="bg-white rounded-2xl shadow-xl p-6 calendar-container"> | |
| <div id="calendar"></div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Contact Section --> | |
| <section id="contact" class="py-20 bg-gray-100"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="grid md:grid-cols-2 gap-12"> | |
| <div> | |
| <h2 class="text-3xl font-bold mb-6">Get In Touch</h2> | |
| <div class="space-y-4"> | |
| <div class="flex items-center"> | |
| <i data-feather="mail" class="text-primary mr-4"></i> | |
| <span>trainer@flexforcehub.com</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <i data-feather="phone" class="text-primary mr-4"></i> | |
| <span>+1 (555) 123-4567</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <i data-feather="map-pin" class="text-primary mr-4"></i> | |
| <span>123 Fitness Street, Health City</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-2xl p-6 shadow-lg"> | |
| <h3 class="text-xl font-semibold mb-4">Send a Message</h3> | |
| <form class="space-y-4"> | |
| <input type="text" placeholder="Your Name" class="w-full px-4 py-3 border border-gray-300 rounded-lg"> | |
| <input type="email" placeholder="Your Email" class="w-full px-4 py-3 border border-gray-300 rounded-lg"> | |
| <textarea placeholder="Your Message" rows="4" class="w-full px-4 py-3 border border-gray-300 rounded-lg"></textarea> | |
| <button type="submit" class="bg-primary text-white px-6 py-3 rounded-lg hover:bg-blue-600 transition">Send Message</button> | |
| </form> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-white py-12"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="grid md:grid-cols-4 gap-8"> | |
| <div> | |
| <div class="text-2xl font-bold mb-4">FlexForce Hub</div> | |
| <p class="text-gray-400">Transforming lives through personalized fitness training and online classes.</p> | |
| </div> | |
| <div> | |
| <div class="font-semibold mb-4">Quick Links</div> | |
| <div class="space-y-2"> | |
| <a href="#home" class="block text-gray-400 hover:text-white transition">Home</a> | |
| <a href="#classes" class="block text-gray-400 hover:text-white transition">Classes</a> | |
| <a href="#booking" class="block text-gray-400 hover:text-white transition">Booking</a> | |
| <a href="#calendar" class="block text-gray-400 hover:text-white transition">Calendar</a> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="font-semibold mb-4">Services</div> | |
| <div class="space-y-2"> | |
| <a href="#" class="block text-gray-400 hover:text-white transition">Personal Training</a> | |
| <a href="#" class="block text-gray-400 hover:text-white transition">Online Classes</a> | |
| <a href="#" class="block text-gray-400 hover:text-white transition">Nutrition Planning</a> | |
| <a href="#" class="block text-gray-400 hover:text-white transition">Progress Tracking</a> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="font-semibold mb-4">Follow Us</div> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="facebook"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="instagram"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="twitter"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="youtube"></i></a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400"> | |
| <p>© 2024 FlexForce Trainer Hub. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Initialize calendar | |
| document.addEventListener('DOMContentLoaded', function() { | |
| const calendarEl = document.getElementById('calendar'); | |
| const calendar = new FullCalendar.Calendar(calendarEl, { | |
| initialView: 'dayGridMonth', | |
| headerToolbar: { | |
| left: 'prev,next today', | |
| center: 'title', | |
| right: 'dayGridMonth,timeGridWeek,timeGridDay' | |
| }, | |
| events: [ | |
| { | |
| title: 'Available', | |
| start: '2024-01-15T10:00:00', | |
| end: '2024-01-15T11:00:00', | |
| color: '#10B981' | |
| }, | |
| { | |
| title: 'Booked', | |
| start: '2024-01-16T14:00:00', | |
| end: '2024-01-16T15:00:00', | |
| color: '#EF4444' | |
| }, | |
| { | |
| title: 'Available', | |
| start: '2024-01-17T09:00:00', | |
| end: '2024-01-17T10:00:00', | |
| color: '#10B981' | |
| } | |
| ] | |
| }); | |
| calendar.render(); | |
| }); | |
| // Smooth scrolling for navigation links | |
| document.querySelectorAll('a[href^="#"]').forEach(anchor => { | |
| anchor.addEventListener('click', function (e) { | |
| e.preventDefault(); | |
| const target = document.querySelector(this.getAttribute('href')); | |
| if (target) { | |
| target.scrollIntoView({ | |
| behavior: 'smooth', | |
| block: 'start' | |
| }); | |
| } | |
| }); | |
| }); | |
| // Initialize feather icons | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |