Spaces:
Running
Running
Download index.html from ChasenOm/coursebuilder: direct link, hf CLI and curl.
- Browser
- Download file 20.1 kB
-
https://huggingface.co/spaces/ChasenOm/coursebuilder/resolve/main/index.html
- Command line
-
hf download hf://spaces/ChasenOm/coursebuilder/index.html
-
curl -L -o index.html https://huggingface.co/spaces/ChasenOm/coursebuilder/resolve/main/index.html
20.1 kB
| <html lang="en" class="scroll-smooth"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Course Builder - Transform Your Notes into Interactive Courses</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js" defer></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| } | |
| .glass-effect { | |
| backdrop-filter: blur(10px); | |
| background: rgba(255, 255, 255, 0.1); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| } | |
| .hover-scale { | |
| transition: transform 0.3s ease; | |
| } | |
| .hover-scale:hover { | |
| transform: scale(1.05); | |
| } | |
| .code-block { | |
| background: #1e1e1e; | |
| border-radius: 8px; | |
| padding: 1rem; | |
| overflow-x: auto; | |
| } | |
| .notebook-preview { | |
| background: linear-gradient(45deg, #f0f9ff, #e0f2fe); | |
| border-left: 4px solid #3b82f6; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-sans"> | |
| <!-- Navigation --> | |
| <nav class="fixed top-0 w-full z-50 glass-effect shadow-lg"> | |
| <div class="container mx-auto px-4 py-3"> | |
| <div class="flex justify-between items-center"> | |
| <div class="text-2xl font-bold text-gray-800"> | |
| <i class="fas fa-graduation-cap text-indigo-600"></i> CourseBuilder | |
| </div> | |
| <div class="hidden md:flex space-x-6"> | |
| <a href="#features" class="text-gray-700 hover:text-indigo-600 transition">Features</a> | |
| <a href="#templates" class="text-gray-700 hover:text-indigo-600 transition">Templates</a> | |
| <a href="#examples" class="text-gray-700 hover:text-indigo-600 transition">Examples</a> | |
| <a href="#build" class="text-gray-700 hover:text-indigo-600 transition">Build</a> | |
| </div> | |
| <button id="mobile-menu-btn" class="md:hidden"> | |
| <i class="fas fa-bars text-gray-700"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <section class="pt-20 pb-16 gradient-bg text-white"> | |
| <div class="container mx-auto px-4 text-center"> | |
| <h1 class="text-5xl md:text-6xl font-bold mb-6 animate-pulse"> | |
| Turn Your Notes into <span class="text-yellow-300">Interactive Courses</span> | |
| </h1> | |
| <p class="text-xl md:text-2xl mb-8 opacity-90"> | |
| Create stunning courses with labs, exercises, Jupyter notebooks, and interactive datasets | |
| </p> | |
| <button class="bg-white text-indigo-600 px-8 py-3 rounded-full font-bold text-lg hover-scale shadow-lg"> | |
| Start Building Now <i class="fas fa-arrow-right ml-2"></i> | |
| </button> | |
| </div> | |
| </section> | |
| <!-- Features Section --> | |
| <section id="features" class="py-16 bg-white"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-4xl font-bold text-center mb-12 text-gray-800">Powerful Features</h2> | |
| <div class="grid md:grid-cols-3 gap-8"> | |
| <div class="text-center p-6 hover-scale"> | |
| <div class="w-20 h-20 bg-indigo-100 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i class="fas fa-code text-3xl text-indigo-600"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Jupyter Integration</h3> | |
| <p class="text-gray-600">Embed live Jupyter notebooks with interactive code cells</p> | |
| </div> | |
| <div class="text-center p-6 hover-scale"> | |
| <div class="w-20 h-20 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i class="fas fa-database text-3xl text-green-600"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Dataset Support</h3> | |
| <p class="text-gray-600">Work with large datasets using pandas and visualization</p> | |
| </div> | |
| <div class="text-center p-6 hover-scale"> | |
| <div class="w-20 h-20 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i class="fas fa-play-circle text-3xl text-purple-600"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Interactive Videos</h3> | |
| <p class="text-gray-600">Embed videos with synchronized code execution</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Templates Section --> | |
| <section id="templates" class="py-16 bg-gray-50"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-4xl font-bold text-center mb-12 text-gray-800">Course Templates</h2> | |
| <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| <div class="bg-white rounded-lg shadow-lg p-6 hover-scale"> | |
| <div class="h-40 bg-gradient-to-r from-blue-400 to-purple-500 rounded-lg mb-4 flex items-center justify-center"> | |
| <i class="fas fa-robot text-6xl text-white"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Machine Learning</h3> | |
| <p class="text-gray-600 mb-4">Complete ML course with scikit-learn, TensorFlow, and real-world datasets</p> | |
| <button class="w-full bg-indigo-600 text-white py-2 rounded hover:bg-indigo-700 transition"> | |
| Use Template | |
| </button> | |
| </div> | |
| <div class="bg-white rounded-lg shadow-lg p-6 hover-scale"> | |
| <div class="h-40 bg-gradient-to-r from-green-400 to-blue-500 rounded-lg mb-4 flex items-center justify-center"> | |
| <i class="fas fa-chart-line text-6xl text-white"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Data Analysis</h3> | |
| <p class="text-gray-600 mb-4">Master pandas, matplotlib, and seaborn with hands-on projects</p> | |
| <button class="w-full bg-green-600 text-white py-2 rounded hover:bg-green-700 transition"> | |
| Use Template | |
| </button> | |
| </div> | |
| <div class="bg-white rounded-lg shadow-lg p-6 hover-scale"> | |
| <div class="h-40 bg-gradient-to-r from-red-400 to-pink-500 rounded-lg mb-4 flex items-center justify-center"> | |
| <i class="fas fa-brain text-6xl text-white"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Deep Learning</h3> | |
| <p class="text-gray-600 mb-4">Explore neural networks with PyTorch and GPU acceleration</p> | |
| <button class="w-full bg-red-600 text-white py-2 rounded hover:bg-red-700 transition"> | |
| Use Template | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Examples Section --> | |
| <section id="examples" class="py-16 bg-white"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-4xl font-bold text-center mb-12 text-gray-800">Live Examples</h2> | |
| <!-- Jupyter Notebook Preview --> | |
| <div class="max-w-4xl mx-auto mb-12"> | |
| <h3 class="text-2xl font-bold mb-4">Interactive Jupyter Notebook</h3> | |
| <div class="notebook-preview p-6 rounded-lg shadow-lg"> | |
| <div class="flex items-center mb-4"> | |
| <i class="fab fa-python text-3xl text-blue-500 mr-3"></i> | |
| <span class="text-lg font-semibold">pandas_data_analysis.ipynb</span> | |
| </div> | |
| <div class="code-block text-white text-sm"> | |
| <pre><code># Import libraries | |
| import pandas as pd | |
| import matplotlib.pyplot as plt | |
| import seaborn as sns | |
| # Load dataset | |
| df = pd.read_csv('data.csv') | |
| print(f"Dataset shape: {df.shape}") | |
| # Data exploration | |
| df.describe()</code></pre> | |
| </div> | |
| <button class="mt-4 bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600 transition"> | |
| <i class="fas fa-play mr-2"></i>Run in Colab | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Interactive Exercise --> | |
| <div class="max-w-4xl mx-auto"> | |
| <h3 class="text-2xl font-bold mb-4">Interactive Exercise</h3> | |
| <div class="bg-gray-100 p-6 rounded-lg"> | |
| <p class="mb-4"><strong>Exercise:</strong> Create a pandas DataFrame from the given data and calculate the mean.</p> | |
| <div class="bg-white p-4 rounded border"> | |
| <textarea class="w-full h-32 p-2 border rounded" placeholder="Enter your code here..."></textarea> | |
| </div> | |
| <button class="mt-4 bg-green-500 text-white px-4 py-2 rounded hover:bg-green-600 transition"> | |
| <i class="fas fa-check mr-2"></i>Submit Answer | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Build Section --> | |
| <section id="build" class="py-16 bg-gray-50"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-4xl font-bold text-center mb-12 text-gray-800">Build Your Course</h2> | |
| <div class="max-w-6xl mx-auto"> | |
| <div x-data="{ activeTab: 'content' }"> | |
| <!-- Tabs --> | |
| <div class="flex space-x-1 mb-6 bg-gray-200 p-1 rounded-lg"> | |
| <button @click="activeTab = 'content'" | |
| :class="{'bg-white shadow': activeTab === 'content'}" | |
| class="flex-1 py-2 px-4 rounded-md transition"> | |
| <i class="fas fa-edit mr-2"></i>Content | |
| </button> | |
| <button @click="activeTab = 'labs'" | |
| :class="{'bg-white shadow': activeTab === 'labs'}" | |
| class="flex-1 py-2 px-4 rounded-md transition"> | |
| <i class="fas fa-flask mr-2"></i>Labs | |
| </button> | |
| <button @click="activeTab = 'datasets'" | |
| :class="{'bg-white shadow: activeTab === 'datasets'}" | |
| class="flex-1 py-2 px-4 rounded-md transition"> | |
| <i class="fas fa-database mr-2"></i>Datasets | |
| </button> | |
| </div> | |
| <!-- Content Tab --> | |
| <div x-show="activeTab === 'content'" class="bg-white p-6 rounded-lg shadow-lg"> | |
| <h3 class="text-xl font-bold mb-4">Course Content Builder</h3> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium mb-2">Course Title</label> | |
| <input type="text" class="w-full p-2 border rounded" placeholder="e.g., Complete Python for Data Science"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium mb-2">Description</label> | |
| <textarea class="w-full p-2 border rounded h-24" placeholder="Describe your course..."></textarea> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium mb-2">Add Module</label> | |
| <div class="flex space-x-2"> | |
| <input type="text" class="flex-1 p-2 border rounded" placeholder="Module name"> | |
| <button class="bg-indigo-600 text-white px-4 py-2 rounded hover:bg-indigo-700"> | |
| <i class="fas fa-plus"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Labs Tab --> | |
| <div x-show="activeTab === 'labs'" class="bg-white p-6 rounded-lg shadow-lg"> | |
| <h3 class="text-xl font-bold mb-4">Lab Configuration</h3> | |
| <div class="grid md:grid-cols-2 gap-4"> | |
| <div> | |
| <label class="block text-sm font-medium mb-2">Environment</label> | |
| <select class="w-full p-2 border rounded"> | |
| <option>Jupyter Notebook</option> | |
| <option>Google Colab</option> | |
| <option>Kaggle Kernels</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium mb-2">Python Version</label> | |
| <select class="w-full p-2 border rounded"> | |
| <option>3.9</option> | |
| <option>3.8</option> | |
| <option>3.7</option> | |
| </select> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <label class="block text-sm font-medium mb-2">Required Libraries</label> | |
| <div class="space-y-2"> | |
| <label class="flex items-center"> | |
| <input type="checkbox" class="mr-2" checked> | |
| <span>pandas</span> | |
| </label> | |
| <label class="flex items-center"> | |
| <input type="checkbox" class="mr-2" checked> | |
| <span>numpy</span> | |
| </label> | |
| <label class="flex items-center"> | |
| <input type="checkbox" class="mr-2"> | |
| <span>matplotlib</span> | |
| </label> | |
| <label class="flex items-center"> | |
| <input type="checkbox" class="mr-2"> | |
| <span>scikit-learn</span> | |
| </label> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Datasets Tab --> | |
| <div x-show="activeTab === 'datasets'" class="bg-white p-6 rounded-lg shadow-lg"> | |
| <h3 class="text-xl font-bold mb-4">Dataset Manager</h3> | |
| <div class="border-2 border-dashed border-gray-300 rounded-lg p-8 text-center"> | |
| <i class="fas fa-cloud-upload-alt text-4xl text-gray-400 mb-4"></i> | |
| <p class="text-gray-600 mb-4">Drag and drop your datasets here or click to browse</p> | |
| <button class="bg-indigo-600 text-white px-6 py-2 rounded hover:bg-indigo-700"> | |
| Upload Dataset | |
| </button> | |
| </div> | |
| <div class="mt-4"> | |
| <h4 class="font-semibold mb-2">Popular Datasets</h4> | |
| <div class="grid md:grid-cols-3 gap-4"> | |
| <div class="border p-3 rounded"> | |
| <strong>Iris Dataset</strong> | |
| <p class="text-sm text-gray-600">150 samples, 4 features</p> | |
| <button class="text-indigo-600 text-sm mt-1">Add to course</button> | |
| </div> | |
| <div class="border p-3 rounded"> | |
| <strong>Titanic Dataset</strong> | |
| <p class="text-sm text-gray-600">891 samples, 12 features</p> | |
| <button class="text-indigo-600 text-sm mt-1">Add to course</button> | |
| </div> | |
| <div class="border p-3 rounded"> | |
| <strong>Wine Quality</strong> | |
| <p class="text-sm text-gray-600">1599 samples, 11 features</p> | |
| <button class="text-indigo-600 text-sm mt-1">Add to course</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-800 text-white py-12"> | |
| <div class="container mx-auto px-4 text-center"> | |
| <h3 class="text-2xl font-bold mb-4">Ready to create amazing courses?</h3> | |
| <p class="text-gray-300 mb-6">Join thousands of educators building the future of online learning</p> | |
| <button class="bg-indigo-600 text-white px-8 py-3 rounded-full font-bold hover:bg-indigo-700 transition"> | |
| Get Started Free | |
| </button> | |
| </div> | |
| </footer> | |
| <script> | |
| // Mobile menu toggle | |
| document.getElementById('mobile-menu-btn').addEventListener('click', function() { | |
| // Add mobile menu functionality here | |
| console.log('Mobile menu clicked'); | |
| }); | |
| // Smooth scrolling for navigation links | |
| document.querySelectorAll('a[href^="#"]').forEach(anchor => { | |
| anchor.addEventListener('click', function (e) { | |
| e.preventDefault(); | |
| document.querySelector(this.getAttribute('href')).scrollIntoView({ | |
| behavior: 'smooth' | |
| }); | |
| }); | |
| }); | |
| // File upload drag and drop | |
| const dropZone = document.querySelector('.border-dashed'); | |
| if (dropZone) { | |
| ['dragenter', 'dragover', 'dragleave', 'drop'].forEach(eventName => { | |
| dropZone.addEventListener(eventName, preventDefaults, false); | |
| }); | |
| function preventDefaults(e) { | |
| e.preventDefault(); | |
| e.stopPropagation(); | |
| } | |
| ['dragenter', 'dragover'].forEach(eventName => { | |
| dropZone.addEventListener(eventName, highlight, false); | |
| }); | |
| ['dragleave', 'drop'].forEach(eventName => { | |
| dropZone.addEventListener(eventName, unhighlight, false); | |
| }); | |
| function highlight() { | |
| dropZone.classList.add('border-indigo-500', 'bg-indigo-50'); | |
| } | |
| function unhighlight() { | |
| dropZone.classList.remove('border-indigo-500', 'bg-indigo-50'); | |
| } | |
| } | |
| </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=ChasenOm/coursebuilder" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |