Spaces:
Running
Running
undefined - Initial Deployment
Browse files- README.md +7 -5
- index.html +376 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: coursebuilder
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: yellow
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,376 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en" class="scroll-smooth">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Course Builder - Transform Your Notes into Interactive Courses</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js" defer></script>
|
| 9 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 10 |
+
<style>
|
| 11 |
+
.gradient-bg {
|
| 12 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 13 |
+
}
|
| 14 |
+
.glass-effect {
|
| 15 |
+
backdrop-filter: blur(10px);
|
| 16 |
+
background: rgba(255, 255, 255, 0.1);
|
| 17 |
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
| 18 |
+
}
|
| 19 |
+
.hover-scale {
|
| 20 |
+
transition: transform 0.3s ease;
|
| 21 |
+
}
|
| 22 |
+
.hover-scale:hover {
|
| 23 |
+
transform: scale(1.05);
|
| 24 |
+
}
|
| 25 |
+
.code-block {
|
| 26 |
+
background: #1e1e1e;
|
| 27 |
+
border-radius: 8px;
|
| 28 |
+
padding: 1rem;
|
| 29 |
+
overflow-x: auto;
|
| 30 |
+
}
|
| 31 |
+
.notebook-preview {
|
| 32 |
+
background: linear-gradient(45deg, #f0f9ff, #e0f2fe);
|
| 33 |
+
border-left: 4px solid #3b82f6;
|
| 34 |
+
}
|
| 35 |
+
</style>
|
| 36 |
+
</head>
|
| 37 |
+
<body class="bg-gray-50 font-sans">
|
| 38 |
+
<!-- Navigation -->
|
| 39 |
+
<nav class="fixed top-0 w-full z-50 glass-effect shadow-lg">
|
| 40 |
+
<div class="container mx-auto px-4 py-3">
|
| 41 |
+
<div class="flex justify-between items-center">
|
| 42 |
+
<div class="text-2xl font-bold text-gray-800">
|
| 43 |
+
<i class="fas fa-graduation-cap text-indigo-600"></i> CourseBuilder
|
| 44 |
+
</div>
|
| 45 |
+
<div class="hidden md:flex space-x-6">
|
| 46 |
+
<a href="#features" class="text-gray-700 hover:text-indigo-600 transition">Features</a>
|
| 47 |
+
<a href="#templates" class="text-gray-700 hover:text-indigo-600 transition">Templates</a>
|
| 48 |
+
<a href="#examples" class="text-gray-700 hover:text-indigo-600 transition">Examples</a>
|
| 49 |
+
<a href="#build" class="text-gray-700 hover:text-indigo-600 transition">Build</a>
|
| 50 |
+
</div>
|
| 51 |
+
<button id="mobile-menu-btn" class="md:hidden">
|
| 52 |
+
<i class="fas fa-bars text-gray-700"></i>
|
| 53 |
+
</button>
|
| 54 |
+
</div>
|
| 55 |
+
</div>
|
| 56 |
+
</nav>
|
| 57 |
+
|
| 58 |
+
<!-- Hero Section -->
|
| 59 |
+
<section class="pt-20 pb-16 gradient-bg text-white">
|
| 60 |
+
<div class="container mx-auto px-4 text-center">
|
| 61 |
+
<h1 class="text-5xl md:text-6xl font-bold mb-6 animate-pulse">
|
| 62 |
+
Turn Your Notes into <span class="text-yellow-300">Interactive Courses</span>
|
| 63 |
+
</h1>
|
| 64 |
+
<p class="text-xl md:text-2xl mb-8 opacity-90">
|
| 65 |
+
Create stunning courses with labs, exercises, Jupyter notebooks, and interactive datasets
|
| 66 |
+
</p>
|
| 67 |
+
<button class="bg-white text-indigo-600 px-8 py-3 rounded-full font-bold text-lg hover-scale shadow-lg">
|
| 68 |
+
Start Building Now <i class="fas fa-arrow-right ml-2"></i>
|
| 69 |
+
</button>
|
| 70 |
+
</div>
|
| 71 |
+
</section>
|
| 72 |
+
|
| 73 |
+
<!-- Features Section -->
|
| 74 |
+
<section id="features" class="py-16 bg-white">
|
| 75 |
+
<div class="container mx-auto px-4">
|
| 76 |
+
<h2 class="text-4xl font-bold text-center mb-12 text-gray-800">Powerful Features</h2>
|
| 77 |
+
<div class="grid md:grid-cols-3 gap-8">
|
| 78 |
+
<div class="text-center p-6 hover-scale">
|
| 79 |
+
<div class="w-20 h-20 bg-indigo-100 rounded-full flex items-center justify-center mx-auto mb-4">
|
| 80 |
+
<i class="fas fa-code text-3xl text-indigo-600"></i>
|
| 81 |
+
</div>
|
| 82 |
+
<h3 class="text-xl font-bold mb-2">Jupyter Integration</h3>
|
| 83 |
+
<p class="text-gray-600">Embed live Jupyter notebooks with interactive code cells</p>
|
| 84 |
+
</div>
|
| 85 |
+
<div class="text-center p-6 hover-scale">
|
| 86 |
+
<div class="w-20 h-20 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4">
|
| 87 |
+
<i class="fas fa-database text-3xl text-green-600"></i>
|
| 88 |
+
</div>
|
| 89 |
+
<h3 class="text-xl font-bold mb-2">Dataset Support</h3>
|
| 90 |
+
<p class="text-gray-600">Work with large datasets using pandas and visualization</p>
|
| 91 |
+
</div>
|
| 92 |
+
<div class="text-center p-6 hover-scale">
|
| 93 |
+
<div class="w-20 h-20 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-4">
|
| 94 |
+
<i class="fas fa-play-circle text-3xl text-purple-600"></i>
|
| 95 |
+
</div>
|
| 96 |
+
<h3 class="text-xl font-bold mb-2">Interactive Videos</h3>
|
| 97 |
+
<p class="text-gray-600">Embed videos with synchronized code execution</p>
|
| 98 |
+
</div>
|
| 99 |
+
</div>
|
| 100 |
+
</div>
|
| 101 |
+
</section>
|
| 102 |
+
|
| 103 |
+
<!-- Templates Section -->
|
| 104 |
+
<section id="templates" class="py-16 bg-gray-50">
|
| 105 |
+
<div class="container mx-auto px-4">
|
| 106 |
+
<h2 class="text-4xl font-bold text-center mb-12 text-gray-800">Course Templates</h2>
|
| 107 |
+
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 108 |
+
<div class="bg-white rounded-lg shadow-lg p-6 hover-scale">
|
| 109 |
+
<div class="h-40 bg-gradient-to-r from-blue-400 to-purple-500 rounded-lg mb-4 flex items-center justify-center">
|
| 110 |
+
<i class="fas fa-robot text-6xl text-white"></i>
|
| 111 |
+
</div>
|
| 112 |
+
<h3 class="text-xl font-bold mb-2">Machine Learning</h3>
|
| 113 |
+
<p class="text-gray-600 mb-4">Complete ML course with scikit-learn, TensorFlow, and real-world datasets</p>
|
| 114 |
+
<button class="w-full bg-indigo-600 text-white py-2 rounded hover:bg-indigo-700 transition">
|
| 115 |
+
Use Template
|
| 116 |
+
</button>
|
| 117 |
+
</div>
|
| 118 |
+
<div class="bg-white rounded-lg shadow-lg p-6 hover-scale">
|
| 119 |
+
<div class="h-40 bg-gradient-to-r from-green-400 to-blue-500 rounded-lg mb-4 flex items-center justify-center">
|
| 120 |
+
<i class="fas fa-chart-line text-6xl text-white"></i>
|
| 121 |
+
</div>
|
| 122 |
+
<h3 class="text-xl font-bold mb-2">Data Analysis</h3>
|
| 123 |
+
<p class="text-gray-600 mb-4">Master pandas, matplotlib, and seaborn with hands-on projects</p>
|
| 124 |
+
<button class="w-full bg-green-600 text-white py-2 rounded hover:bg-green-700 transition">
|
| 125 |
+
Use Template
|
| 126 |
+
</button>
|
| 127 |
+
</div>
|
| 128 |
+
<div class="bg-white rounded-lg shadow-lg p-6 hover-scale">
|
| 129 |
+
<div class="h-40 bg-gradient-to-r from-red-400 to-pink-500 rounded-lg mb-4 flex items-center justify-center">
|
| 130 |
+
<i class="fas fa-brain text-6xl text-white"></i>
|
| 131 |
+
</div>
|
| 132 |
+
<h3 class="text-xl font-bold mb-2">Deep Learning</h3>
|
| 133 |
+
<p class="text-gray-600 mb-4">Explore neural networks with PyTorch and GPU acceleration</p>
|
| 134 |
+
<button class="w-full bg-red-600 text-white py-2 rounded hover:bg-red-700 transition">
|
| 135 |
+
Use Template
|
| 136 |
+
</button>
|
| 137 |
+
</div>
|
| 138 |
+
</div>
|
| 139 |
+
</div>
|
| 140 |
+
</section>
|
| 141 |
+
|
| 142 |
+
<!-- Examples Section -->
|
| 143 |
+
<section id="examples" class="py-16 bg-white">
|
| 144 |
+
<div class="container mx-auto px-4">
|
| 145 |
+
<h2 class="text-4xl font-bold text-center mb-12 text-gray-800">Live Examples</h2>
|
| 146 |
+
|
| 147 |
+
<!-- Jupyter Notebook Preview -->
|
| 148 |
+
<div class="max-w-4xl mx-auto mb-12">
|
| 149 |
+
<h3 class="text-2xl font-bold mb-4">Interactive Jupyter Notebook</h3>
|
| 150 |
+
<div class="notebook-preview p-6 rounded-lg shadow-lg">
|
| 151 |
+
<div class="flex items-center mb-4">
|
| 152 |
+
<i class="fab fa-python text-3xl text-blue-500 mr-3"></i>
|
| 153 |
+
<span class="text-lg font-semibold">pandas_data_analysis.ipynb</span>
|
| 154 |
+
</div>
|
| 155 |
+
<div class="code-block text-white text-sm">
|
| 156 |
+
<pre><code># Import libraries
|
| 157 |
+
import pandas as pd
|
| 158 |
+
import matplotlib.pyplot as plt
|
| 159 |
+
import seaborn as sns
|
| 160 |
+
|
| 161 |
+
# Load dataset
|
| 162 |
+
df = pd.read_csv('data.csv')
|
| 163 |
+
print(f"Dataset shape: {df.shape}")
|
| 164 |
+
|
| 165 |
+
# Data exploration
|
| 166 |
+
df.describe()</code></pre>
|
| 167 |
+
</div>
|
| 168 |
+
<button class="mt-4 bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600 transition">
|
| 169 |
+
<i class="fas fa-play mr-2"></i>Run in Colab
|
| 170 |
+
</button>
|
| 171 |
+
</div>
|
| 172 |
+
</div>
|
| 173 |
+
|
| 174 |
+
<!-- Interactive Exercise -->
|
| 175 |
+
<div class="max-w-4xl mx-auto">
|
| 176 |
+
<h3 class="text-2xl font-bold mb-4">Interactive Exercise</h3>
|
| 177 |
+
<div class="bg-gray-100 p-6 rounded-lg">
|
| 178 |
+
<p class="mb-4"><strong>Exercise:</strong> Create a pandas DataFrame from the given data and calculate the mean.</p>
|
| 179 |
+
<div class="bg-white p-4 rounded border">
|
| 180 |
+
<textarea class="w-full h-32 p-2 border rounded" placeholder="Enter your code here..."></textarea>
|
| 181 |
+
</div>
|
| 182 |
+
<button class="mt-4 bg-green-500 text-white px-4 py-2 rounded hover:bg-green-600 transition">
|
| 183 |
+
<i class="fas fa-check mr-2"></i>Submit Answer
|
| 184 |
+
</button>
|
| 185 |
+
</div>
|
| 186 |
+
</div>
|
| 187 |
+
</div>
|
| 188 |
+
</section>
|
| 189 |
+
|
| 190 |
+
<!-- Build Section -->
|
| 191 |
+
<section id="build" class="py-16 bg-gray-50">
|
| 192 |
+
<div class="container mx-auto px-4">
|
| 193 |
+
<h2 class="text-4xl font-bold text-center mb-12 text-gray-800">Build Your Course</h2>
|
| 194 |
+
|
| 195 |
+
<div class="max-w-6xl mx-auto">
|
| 196 |
+
<div x-data="{ activeTab: 'content' }">
|
| 197 |
+
<!-- Tabs -->
|
| 198 |
+
<div class="flex space-x-1 mb-6 bg-gray-200 p-1 rounded-lg">
|
| 199 |
+
<button @click="activeTab = 'content'"
|
| 200 |
+
:class="{'bg-white shadow': activeTab === 'content'}"
|
| 201 |
+
class="flex-1 py-2 px-4 rounded-md transition">
|
| 202 |
+
<i class="fas fa-edit mr-2"></i>Content
|
| 203 |
+
</button>
|
| 204 |
+
<button @click="activeTab = 'labs'"
|
| 205 |
+
:class="{'bg-white shadow': activeTab === 'labs'}"
|
| 206 |
+
class="flex-1 py-2 px-4 rounded-md transition">
|
| 207 |
+
<i class="fas fa-flask mr-2"></i>Labs
|
| 208 |
+
</button>
|
| 209 |
+
<button @click="activeTab = 'datasets'"
|
| 210 |
+
:class="{'bg-white shadow: activeTab === 'datasets'}"
|
| 211 |
+
class="flex-1 py-2 px-4 rounded-md transition">
|
| 212 |
+
<i class="fas fa-database mr-2"></i>Datasets
|
| 213 |
+
</button>
|
| 214 |
+
</div>
|
| 215 |
+
|
| 216 |
+
<!-- Content Tab -->
|
| 217 |
+
<div x-show="activeTab === 'content'" class="bg-white p-6 rounded-lg shadow-lg">
|
| 218 |
+
<h3 class="text-xl font-bold mb-4">Course Content Builder</h3>
|
| 219 |
+
<div class="mb-4">
|
| 220 |
+
<label class="block text-sm font-medium mb-2">Course Title</label>
|
| 221 |
+
<input type="text" class="w-full p-2 border rounded" placeholder="e.g., Complete Python for Data Science">
|
| 222 |
+
</div>
|
| 223 |
+
<div class="mb-4">
|
| 224 |
+
<label class="block text-sm font-medium mb-2">Description</label>
|
| 225 |
+
<textarea class="w-full p-2 border rounded h-24" placeholder="Describe your course..."></textarea>
|
| 226 |
+
</div>
|
| 227 |
+
<div class="mb-4">
|
| 228 |
+
<label class="block text-sm font-medium mb-2">Add Module</label>
|
| 229 |
+
<div class="flex space-x-2">
|
| 230 |
+
<input type="text" class="flex-1 p-2 border rounded" placeholder="Module name">
|
| 231 |
+
<button class="bg-indigo-600 text-white px-4 py-2 rounded hover:bg-indigo-700">
|
| 232 |
+
<i class="fas fa-plus"></i>
|
| 233 |
+
</button>
|
| 234 |
+
</div>
|
| 235 |
+
</div>
|
| 236 |
+
</div>
|
| 237 |
+
|
| 238 |
+
<!-- Labs Tab -->
|
| 239 |
+
<div x-show="activeTab === 'labs'" class="bg-white p-6 rounded-lg shadow-lg">
|
| 240 |
+
<h3 class="text-xl font-bold mb-4">Lab Configuration</h3>
|
| 241 |
+
<div class="grid md:grid-cols-2 gap-4">
|
| 242 |
+
<div>
|
| 243 |
+
<label class="block text-sm font-medium mb-2">Environment</label>
|
| 244 |
+
<select class="w-full p-2 border rounded">
|
| 245 |
+
<option>Jupyter Notebook</option>
|
| 246 |
+
<option>Google Colab</option>
|
| 247 |
+
<option>Kaggle Kernels</option>
|
| 248 |
+
</select>
|
| 249 |
+
</div>
|
| 250 |
+
<div>
|
| 251 |
+
<label class="block text-sm font-medium mb-2">Python Version</label>
|
| 252 |
+
<select class="w-full p-2 border rounded">
|
| 253 |
+
<option>3.9</option>
|
| 254 |
+
<option>3.8</option>
|
| 255 |
+
<option>3.7</option>
|
| 256 |
+
</select>
|
| 257 |
+
</div>
|
| 258 |
+
</div>
|
| 259 |
+
<div class="mt-4">
|
| 260 |
+
<label class="block text-sm font-medium mb-2">Required Libraries</label>
|
| 261 |
+
<div class="space-y-2">
|
| 262 |
+
<label class="flex items-center">
|
| 263 |
+
<input type="checkbox" class="mr-2" checked>
|
| 264 |
+
<span>pandas</span>
|
| 265 |
+
</label>
|
| 266 |
+
<label class="flex items-center">
|
| 267 |
+
<input type="checkbox" class="mr-2" checked>
|
| 268 |
+
<span>numpy</span>
|
| 269 |
+
</label>
|
| 270 |
+
<label class="flex items-center">
|
| 271 |
+
<input type="checkbox" class="mr-2">
|
| 272 |
+
<span>matplotlib</span>
|
| 273 |
+
</label>
|
| 274 |
+
<label class="flex items-center">
|
| 275 |
+
<input type="checkbox" class="mr-2">
|
| 276 |
+
<span>scikit-learn</span>
|
| 277 |
+
</label>
|
| 278 |
+
</div>
|
| 279 |
+
</div>
|
| 280 |
+
</div>
|
| 281 |
+
|
| 282 |
+
<!-- Datasets Tab -->
|
| 283 |
+
<div x-show="activeTab === 'datasets'" class="bg-white p-6 rounded-lg shadow-lg">
|
| 284 |
+
<h3 class="text-xl font-bold mb-4">Dataset Manager</h3>
|
| 285 |
+
<div class="border-2 border-dashed border-gray-300 rounded-lg p-8 text-center">
|
| 286 |
+
<i class="fas fa-cloud-upload-alt text-4xl text-gray-400 mb-4"></i>
|
| 287 |
+
<p class="text-gray-600 mb-4">Drag and drop your datasets here or click to browse</p>
|
| 288 |
+
<button class="bg-indigo-600 text-white px-6 py-2 rounded hover:bg-indigo-700">
|
| 289 |
+
Upload Dataset
|
| 290 |
+
</button>
|
| 291 |
+
</div>
|
| 292 |
+
<div class="mt-4">
|
| 293 |
+
<h4 class="font-semibold mb-2">Popular Datasets</h4>
|
| 294 |
+
<div class="grid md:grid-cols-3 gap-4">
|
| 295 |
+
<div class="border p-3 rounded">
|
| 296 |
+
<strong>Iris Dataset</strong>
|
| 297 |
+
<p class="text-sm text-gray-600">150 samples, 4 features</p>
|
| 298 |
+
<button class="text-indigo-600 text-sm mt-1">Add to course</button>
|
| 299 |
+
</div>
|
| 300 |
+
<div class="border p-3 rounded">
|
| 301 |
+
<strong>Titanic Dataset</strong>
|
| 302 |
+
<p class="text-sm text-gray-600">891 samples, 12 features</p>
|
| 303 |
+
<button class="text-indigo-600 text-sm mt-1">Add to course</button>
|
| 304 |
+
</div>
|
| 305 |
+
<div class="border p-3 rounded">
|
| 306 |
+
<strong>Wine Quality</strong>
|
| 307 |
+
<p class="text-sm text-gray-600">1599 samples, 11 features</p>
|
| 308 |
+
<button class="text-indigo-600 text-sm mt-1">Add to course</button>
|
| 309 |
+
</div>
|
| 310 |
+
</div>
|
| 311 |
+
</div>
|
| 312 |
+
</div>
|
| 313 |
+
</div>
|
| 314 |
+
</div>
|
| 315 |
+
</div>
|
| 316 |
+
</section>
|
| 317 |
+
|
| 318 |
+
<!-- Footer -->
|
| 319 |
+
<footer class="bg-gray-800 text-white py-12">
|
| 320 |
+
<div class="container mx-auto px-4 text-center">
|
| 321 |
+
<h3 class="text-2xl font-bold mb-4">Ready to create amazing courses?</h3>
|
| 322 |
+
<p class="text-gray-300 mb-6">Join thousands of educators building the future of online learning</p>
|
| 323 |
+
<button class="bg-indigo-600 text-white px-8 py-3 rounded-full font-bold hover:bg-indigo-700 transition">
|
| 324 |
+
Get Started Free
|
| 325 |
+
</button>
|
| 326 |
+
</div>
|
| 327 |
+
</footer>
|
| 328 |
+
|
| 329 |
+
<script>
|
| 330 |
+
// Mobile menu toggle
|
| 331 |
+
document.getElementById('mobile-menu-btn').addEventListener('click', function() {
|
| 332 |
+
// Add mobile menu functionality here
|
| 333 |
+
console.log('Mobile menu clicked');
|
| 334 |
+
});
|
| 335 |
+
|
| 336 |
+
// Smooth scrolling for navigation links
|
| 337 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 338 |
+
anchor.addEventListener('click', function (e) {
|
| 339 |
+
e.preventDefault();
|
| 340 |
+
document.querySelector(this.getAttribute('href')).scrollIntoView({
|
| 341 |
+
behavior: 'smooth'
|
| 342 |
+
});
|
| 343 |
+
});
|
| 344 |
+
});
|
| 345 |
+
|
| 346 |
+
// File upload drag and drop
|
| 347 |
+
const dropZone = document.querySelector('.border-dashed');
|
| 348 |
+
if (dropZone) {
|
| 349 |
+
['dragenter', 'dragover', 'dragleave', 'drop'].forEach(eventName => {
|
| 350 |
+
dropZone.addEventListener(eventName, preventDefaults, false);
|
| 351 |
+
});
|
| 352 |
+
|
| 353 |
+
function preventDefaults(e) {
|
| 354 |
+
e.preventDefault();
|
| 355 |
+
e.stopPropagation();
|
| 356 |
+
}
|
| 357 |
+
|
| 358 |
+
['dragenter', 'dragover'].forEach(eventName => {
|
| 359 |
+
dropZone.addEventListener(eventName, highlight, false);
|
| 360 |
+
});
|
| 361 |
+
|
| 362 |
+
['dragleave', 'drop'].forEach(eventName => {
|
| 363 |
+
dropZone.addEventListener(eventName, unhighlight, false);
|
| 364 |
+
});
|
| 365 |
+
|
| 366 |
+
function highlight() {
|
| 367 |
+
dropZone.classList.add('border-indigo-500', 'bg-indigo-50');
|
| 368 |
+
}
|
| 369 |
+
|
| 370 |
+
function unhighlight() {
|
| 371 |
+
dropZone.classList.remove('border-indigo-500', 'bg-indigo-50');
|
| 372 |
+
}
|
| 373 |
+
}
|
| 374 |
+
</script>
|
| 375 |
+
<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>
|
| 376 |
+
</html>
|