Spaces:
Running
Running
Add 3 files
Browse files- README.md +7 -5
- index.html +388 -19
- prompts.txt +1 -0
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: deep-learning
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: red
|
| 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,388 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.card-3d {
|
| 11 |
+
transform-style: preserve-3d;
|
| 12 |
+
transition: all 0.5s ease;
|
| 13 |
+
}
|
| 14 |
+
.card-3d:hover {
|
| 15 |
+
transform: rotateY(15deg) rotateX(10deg) translateY(-5px);
|
| 16 |
+
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
|
| 17 |
+
}
|
| 18 |
+
.concept-gallery {
|
| 19 |
+
perspective: 1000px;
|
| 20 |
+
}
|
| 21 |
+
.share-btn {
|
| 22 |
+
transition: all 0.3s ease;
|
| 23 |
+
transform: scale(1);
|
| 24 |
+
}
|
| 25 |
+
.share-btn:hover {
|
| 26 |
+
transform: scale(1.1);
|
| 27 |
+
}
|
| 28 |
+
.graph-container {
|
| 29 |
+
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
| 30 |
+
}
|
| 31 |
+
@media (max-width: 768px) {
|
| 32 |
+
.card-3d:hover {
|
| 33 |
+
transform: none;
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
</style>
|
| 37 |
+
</head>
|
| 38 |
+
<body class="bg-gray-50 font-sans">
|
| 39 |
+
<div class="container mx-auto px-4 py-8">
|
| 40 |
+
<!-- App Header -->
|
| 41 |
+
<header class="flex justify-between items-center mb-10">
|
| 42 |
+
<div class="flex items-center">
|
| 43 |
+
<i class="fas fa-atom text-3xl text-blue-500 mr-3"></i>
|
| 44 |
+
<h1 class="text-2xl md:text-3xl font-bold text-gray-800">SciVis3D</h1>
|
| 45 |
+
</div>
|
| 46 |
+
<nav class="hidden md:block">
|
| 47 |
+
<ul class="flex space-x-6">
|
| 48 |
+
<li><a href="#" class="text-blue-600 font-medium hover:text-blue-800">Home</a></li>
|
| 49 |
+
<li><a href="#" class="text-gray-600 hover:text-blue-600">Subjects</a></li>
|
| 50 |
+
<li><a href="#" class="text-gray-600 hover:text-blue-600">Library</a></li>
|
| 51 |
+
<li><a href="#" class="text-gray-600 hover:text-blue-600">About</a></li>
|
| 52 |
+
</ul>
|
| 53 |
+
</nav>
|
| 54 |
+
<button class="md:hidden text-gray-600">
|
| 55 |
+
<i class="fas fa-bars text-xl"></i>
|
| 56 |
+
</button>
|
| 57 |
+
</header>
|
| 58 |
+
|
| 59 |
+
<!-- Hero Section -->
|
| 60 |
+
<section class="mb-16 bg-gradient-to-r from-blue-50 to-indigo-50 rounded-2xl p-8 md:p-12 shadow-md">
|
| 61 |
+
<div class="flex flex-col md:flex-row items-center">
|
| 62 |
+
<div class="md:w-1/2 mb-8 md:mb-0">
|
| 63 |
+
<h2 class="text-3xl md:text-4xl font-bold text-gray-800 mb-4">Explore Science in 3D</h2>
|
| 64 |
+
<p class="text-gray-600 mb-6 text-lg">Visualize complex scientific concepts through interactive 3D models, dynamic graphs, and step-by-step explanations.</p>
|
| 65 |
+
<button class="bg-blue-600 hover:bg-blue-700 text-white font-medium py-3 px-6 rounded-full transition duration-300 transform hover:scale-105 shadow-lg">
|
| 66 |
+
Start Learning
|
| 67 |
+
</button>
|
| 68 |
+
</div>
|
| 69 |
+
<div class="md:w-1/2 flex justify-center">
|
| 70 |
+
<div class="w-full max-w-md h-64 bg-gradient-to-br from-blue-400 to-indigo-500 rounded-2xl shadow-2xl flex items-center justify-center">
|
| 71 |
+
<div class="relative w-48 h-48 bg-white bg-opacity-20 rounded-full overflow-hidden">
|
| 72 |
+
<div class="absolute w-full h-full flex flex-col justify-center items-center">
|
| 73 |
+
<div class="relative w-32 h-32">
|
| 74 |
+
<div class="absolute w-12 h-12 bg-yellow-300 rounded-full top-4 left-2 animate-pulse"></div>
|
| 75 |
+
<div class="absolute w-8 h-8 bg-blue-300 rounded-full top-16 left-16 animate-ping"></div>
|
| 76 |
+
<div class="absolute w-10 h-10 bg-red-300 rounded-full top-12 right-8 animate-pulse"></div>
|
| 77 |
+
<div class="absolute w-6 h-6 bg-green-300 rounded-full bottom-8 left-10 animate-ping"></div>
|
| 78 |
+
<div class="absolute w-16 h-16 bg-white bg-opacity-30 rounded-full bottom-2 right-6"></div>
|
| 79 |
+
</div>
|
| 80 |
+
<p class="text-white font-medium mt-4 text-center">Interactive 3D Atom Model</p>
|
| 81 |
+
</div>
|
| 82 |
+
</div>
|
| 83 |
+
</div>
|
| 84 |
+
</div>
|
| 85 |
+
</div>
|
| 86 |
+
</section>
|
| 87 |
+
|
| 88 |
+
<!-- Science Concepts Section -->
|
| 89 |
+
<section class="mb-16">
|
| 90 |
+
<div class="flex justify-between items-center mb-10">
|
| 91 |
+
<h2 class="text-2xl md:text-3xl font-bold text-gray-800">Core Science Concepts</h2>
|
| 92 |
+
<a href="#" class="text-blue-600 hover:text-blue-800 font-medium flex items-center">
|
| 93 |
+
View All <i class="fas fa-chevron-right ml-2 text-sm"></i>
|
| 94 |
+
</a>
|
| 95 |
+
</div>
|
| 96 |
+
|
| 97 |
+
<div class="concept-gallery grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 98 |
+
<!-- Physics Concept -->
|
| 99 |
+
<div class="card-3d bg-white rounded-xl overflow-hidden shadow-lg transition-all duration-300 hover:shadow-xl">
|
| 100 |
+
<div class="relative h-48 bg-gradient-to-br from-purple-500 to-indigo-600 flex items-center justify-center">
|
| 101 |
+
<div class="relative w-32 h-32">
|
| 102 |
+
<div class="absolute w-12 h-12 bg-yellow-300 rounded-full top-4 left-2"></div>
|
| 103 |
+
<div class="absolute w-8 h-8 bg-blue-300 rounded-full top-16 left-16 animate-bounce"></div>
|
| 104 |
+
<div class="absolute w-6 h-6 bg-white rounded-full bottom-8 left-10"></div>
|
| 105 |
+
</div>
|
| 106 |
+
<span class="absolute top-4 left-4 bg-white bg-opacity-20 text-white px-3 py-1 rounded-full text-xs font-medium">Physics</span>
|
| 107 |
+
</div>
|
| 108 |
+
<div class="p-6">
|
| 109 |
+
<h3 class="text-xl font-bold text-gray-800 mb-2">Laws of Motion</h3>
|
| 110 |
+
<p class="text-gray-600 mb-4">Explore Newton's three laws through interactive 3D simulations of forces and motion.</p>
|
| 111 |
+
<div class="flex justify-between items-center">
|
| 112 |
+
<div class="flex space-x-2">
|
| 113 |
+
<span class="bg-blue-100 text-blue-800 px-3 py-1 rounded-full text-xs">3D Model</span>
|
| 114 |
+
<span class="bg-green-100 text-green-800 px-3 py-1 rounded-full text-xs">Experiments</span>
|
| 115 |
+
</div>
|
| 116 |
+
<a href="#" class="text-blue-600 hover:text-blue-800">
|
| 117 |
+
<i class="fas fa-play-circle"></i>
|
| 118 |
+
</a>
|
| 119 |
+
</div>
|
| 120 |
+
</div>
|
| 121 |
+
</div>
|
| 122 |
+
|
| 123 |
+
<!-- Chemistry Concept -->
|
| 124 |
+
<div class="card-3d bg-white rounded-xl overflow-hidden shadow-lg transition-all duration-300 hover:shadow-xl">
|
| 125 |
+
<div class="relative h-48 bg-gradient-to-br from-green-500 to-teal-600 flex items-center justify-center">
|
| 126 |
+
<div class="relative w-40 h-40">
|
| 127 |
+
<div class="absolute w-full h-full border-2 border-white border-opacity-40 rounded-full animate-pulse"></div>
|
| 128 |
+
<div class="absolute w-3/4 h-3/4 border-2 border-white border-opacity-30 rounded-full left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"></div>
|
| 129 |
+
<div class="absolute w-1/2 h-1/2 border-2 border-white border-opacity-20 rounded-full left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"></div>
|
| 130 |
+
<div class="absolute w-1/4 h-1/4 bg-white rounded-full left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 animate-ping"></div>
|
| 131 |
+
</div>
|
| 132 |
+
<span class="absolute top-4 left-4 bg-white bg-opacity-20 text-white px-3 py-1 rounded-full text-xs font-medium">Chemistry</span>
|
| 133 |
+
</div>
|
| 134 |
+
<div class="p-6">
|
| 135 |
+
<h3 class="text-xl font-bold text-gray-800 mb-2">Atomic Structure</h3>
|
| 136 |
+
<p class="text-gray-600 mb-4">Manipulate 3D atom models to understand electron configuration and bonding patterns.</p>
|
| 137 |
+
<div class="flex justify-between items-center">
|
| 138 |
+
<div class="flex space-x-2">
|
| 139 |
+
<span class="bg-blue-100 text-blue-800 px-3 py-1 rounded-full text-xs">Bohr Model</span>
|
| 140 |
+
<span class="bg-purple-100 text-purple-800 px-3 py-1 rounded-full text-xs">Orbitals</span>
|
| 141 |
+
</div>
|
| 142 |
+
<a href="#" class="text-blue-600 hover:text-blue-800">
|
| 143 |
+
<i class="fas fa-play-circle"></i>
|
| 144 |
+
</a>
|
| 145 |
+
</div>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
|
| 149 |
+
<!-- Biology Concept -->
|
| 150 |
+
<div class="card-3d bg-white rounded-xl overflow-hidden shadow-lg transition-all duration-300 hover:shadow-xl">
|
| 151 |
+
<div class="relative h-48 bg-gradient-to-br from-red-500 to-orange-500 flex items-center justify-center">
|
| 152 |
+
<div class="relative w-40 h-40">
|
| 153 |
+
<div class="absolute w-32 h-32 bg-white bg-opacity-10 rounded-full border-4 border-white border-opacity-20"></div>
|
| 154 |
+
<div class="absolute w-20 h-20 bg-white bg-opacity-10 rounded-full left-12 top-12"></div>
|
| 155 |
+
<div class="absolute w-10 h-10 bg-white bg-opacity-20 rounded-full left-8 top-8"></div>
|
| 156 |
+
<div class="absolute w-6 h-6 bg-white rounded-full left-20 top-4 animate-ping"></div>
|
| 157 |
+
<div class="absolute w-6 h-6 bg-white rounded-full left-6 top-16 animate-ping delay-100"></div>
|
| 158 |
+
</div>
|
| 159 |
+
<span class="absolute top-4 left-4 bg-white bg-opacity-20 text-white px-3 py-1 rounded-full text-xs font-medium">Biology</span>
|
| 160 |
+
</div>
|
| 161 |
+
<div class="p-6">
|
| 162 |
+
<h3 class="text-xl font-bold text-gray-800 mb-2">Cell Structure</h3>
|
| 163 |
+
<p class="text-gray-600 mb-4">Explore organelles in 3D with detailed animations of cellular processes.</p>
|
| 164 |
+
<div class="flex justify-between items-center">
|
| 165 |
+
<div class="flex space-x-2">
|
| 166 |
+
<span class="bg-blue-100 text-blue-800 px-3 py-1 rounded-full text-xs">Plant Cell</span>
|
| 167 |
+
<span class="bg-red-100 text-red-800 px-3 py-1 rounded-full text-xs">Animal Cell</span>
|
| 168 |
+
</div>
|
| 169 |
+
<a href="#" class="text-blue-600 hover:text-blue-800">
|
| 170 |
+
<i class="fas fa-play-circle"></i>
|
| 171 |
+
</a>
|
| 172 |
+
</div>
|
| 173 |
+
</div>
|
| 174 |
+
</div>
|
| 175 |
+
</div>
|
| 176 |
+
</section>
|
| 177 |
+
|
| 178 |
+
<!-- Data Visualization Section -->
|
| 179 |
+
<section class="mb-16">
|
| 180 |
+
<h2 class="text-2xl md:text-3xl font-bold text-gray-800 mb-6">Scientific Data Visualization</h2>
|
| 181 |
+
|
| 182 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
|
| 183 |
+
<!-- Interactive Graph -->
|
| 184 |
+
<div class="bg-white rounded-xl p-6 shadow-lg">
|
| 185 |
+
<h3 class="text-xl font-bold text-gray-800 mb-4">Interactive Graph Analysis</h3>
|
| 186 |
+
<div class="graph-container rounded-lg h-64 mb-4 relative overflow-hidden">
|
| 187 |
+
<div class="absolute bottom-0 left-0 w-full flex items-end justify-evenly px-4" style="height: 90%;">
|
| 188 |
+
<div class="w-8 bg-blue-500 rounded-t-lg hover:bg-blue-600 transition-all" style="height: 40%;"></div>
|
| 189 |
+
<div class="w-8 bg-green-500 rounded-t-lg hover:bg-green-600 transition-all" style="height: 60%;"></div>
|
| 190 |
+
<div class="w-8 bg-yellow-500 rounded-t-lg hover:bg-yellow-600 transition-all" style="height: 75%;"></div>
|
| 191 |
+
<div class="w-8 bg-red-500 rounded-t-lg hover:bg-red-600 transition-all" style="height: 85%;"></div>
|
| 192 |
+
<div class="w-8 bg-purple-500 rounded-t-lg hover:bg-purple-600 transition-all" style="height: 65%;"></div>
|
| 193 |
+
<div class="w-8 bg-indigo-500 rounded-t-lg hover:bg-indigo-600 transition-all" style="height: 50%;"></div>
|
| 194 |
+
</div>
|
| 195 |
+
<div class="absolute bottom-0 w-full border-t border-gray-300"></div>
|
| 196 |
+
<div class="absolute left-0 h-full border-r border-gray-300"></div>
|
| 197 |
+
<div class="absolute bottom-4 left-4 text-sm text-gray-600">Control Group</div>
|
| 198 |
+
</div>
|
| 199 |
+
<div class="flex justify-between items-center">
|
| 200 |
+
<div class="flex space-x-2">
|
| 201 |
+
<span class="bg-green-100 text-green-800 px-3 py-1 rounded-full text-xs">Bar Chart</span>
|
| 202 |
+
<span class="bg-purple-100 text-purple-800 px-3 py-1 rounded-full text-xs">Line Graph</span>
|
| 203 |
+
<span class="bg-blue-100 text-blue-800 px-3 py-1 rounded-full text-xs">Scatter Plot</span>
|
| 204 |
+
</div>
|
| 205 |
+
<button class="text-blue-600 hover:text-blue-800">
|
| 206 |
+
<i class="fas fa-sliders-h"></i>
|
| 207 |
+
</button>
|
| 208 |
+
</div>
|
| 209 |
+
</div>
|
| 210 |
+
|
| 211 |
+
<!-- Patterns and Conclusions -->
|
| 212 |
+
<div class="bg-white rounded-xl p-6 shadow-lg">
|
| 213 |
+
<h3 class="text-xl font-bold text-gray-800 mb-4">Pattern Recognition & Conclusions</h3>
|
| 214 |
+
<div class="relative h-64 mb-4 bg-gradient-to-br from-gray-50 to-gray-100 rounded-lg flex items-center justify-center">
|
| 215 |
+
<div class="relative w-48 h-48">
|
| 216 |
+
<div class="absolute w-full h-full rounded-full border-2 border-gray-300 border-dashed animate-spin" style="animation-duration: 8s;"></div>
|
| 217 |
+
<div class="absolute w-3/4 h-3/4 rounded-full left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 border-2 border-gray-300 border-dashed animate-spin" style="animation-duration: 6s; animation-direction: reverse;"></div>
|
| 218 |
+
<div class="absolute w-1/2 h-1/2 rounded-full left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 border-2 border-gray-400 border-dashed animate-spin" style="animation-duration: 4s;"></div>
|
| 219 |
+
<div class="absolute w-1/4 h-1/4 rounded-full left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 bg-blue-500 animate-pulse"></div>
|
| 220 |
+
</div>
|
| 221 |
+
</div>
|
| 222 |
+
<div class="bg-blue-50 p-4 rounded-lg">
|
| 223 |
+
<h4 class="font-medium text-blue-800 mb-2">Key Observations</h4>
|
| 224 |
+
<p class="text-sm text-gray-700">The data shows a clear positive correlation between temperature and reaction rate. As temperature increases by 10°C, reaction rate approximately doubles, following the Arrhenius equation pattern.</p>
|
| 225 |
+
</div>
|
| 226 |
+
</div>
|
| 227 |
+
</div>
|
| 228 |
+
</section>
|
| 229 |
+
|
| 230 |
+
<!-- Sharing Section -->
|
| 231 |
+
<section class="bg-indigo-50 rounded-2xl p-8 mb-16">
|
| 232 |
+
<div class="flex flex-col md:flex-row items-center">
|
| 233 |
+
<div class="md:w-2/3 mb-6 md:mb-0 md:pr-8">
|
| 234 |
+
<h2 class="text-2xl md:text-3xl font-bold text-gray-800 mb-4">Share Your Discoveries</h2>
|
| 235 |
+
<p class="text-gray-600 mb-6">Found an interesting scientific insight or created a helpful visualization? Share it with your classmates, teachers, or study group directly through WhatsApp or other platforms.</p>
|
| 236 |
+
<div class="flex flex-wrap gap-3">
|
| 237 |
+
<button id="whatsapp-share" class="share-btn bg-green-500 hover:bg-green-600 text-white px-6 py-3 rounded-full flex items-center font-medium">
|
| 238 |
+
<i class="fab fa-whatsapp mr-2 text-xl"></i> Share on WhatsApp
|
| 239 |
+
</button>
|
| 240 |
+
<button class="share-btn bg-blue-500 hover:bg-blue-600 text-white px-6 py-3 rounded-full flex items-center font-medium">
|
| 241 |
+
<i class="fas fa-link mr-2"></i> Copy Link
|
| 242 |
+
</button>
|
| 243 |
+
<button class="share-btn bg-gray-200 hover:bg-gray-300 text-gray-800 px-6 py-3 rounded-full flex items-center font-medium">
|
| 244 |
+
<i class="fas fa-download mr-2"></i> Download Image
|
| 245 |
+
</button>
|
| 246 |
+
</div>
|
| 247 |
+
</div>
|
| 248 |
+
<div class="md:w-1/3 flex justify-center">
|
| 249 |
+
<div class="relative w-64 h-64">
|
| 250 |
+
<div class="absolute w-full h-full bg-white rounded-2xl shadow-lg"></div>
|
| 251 |
+
<div class="absolute w-11/12 h-11/12 bg-indigo-100 rounded-xl top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 flex flex-col p-4">
|
| 252 |
+
<div class="flex items-center mb-3">
|
| 253 |
+
<div class="w-16 h-16 bg-blue-100 rounded-lg flex items-center justify-center">
|
| 254 |
+
<i class="fas fa-atom text-blue-500 text-2xl"></i>
|
| 255 |
+
</div>
|
| 256 |
+
<div class="ml-3">
|
| 257 |
+
<h4 class="font-bold text-sm">Chemical Bonds</h4>
|
| 258 |
+
<p class="text-xs text-gray-600">Shared from SciVis3D</p>
|
| 259 |
+
</div>
|
| 260 |
+
</div>
|
| 261 |
+
<div class="bg-white rounded-lg flex-1 p-2 mb-2">
|
| 262 |
+
<div class="w-3/4 h-3 bg-blue-200 rounded mb-1"></div>
|
| 263 |
+
<div class="w-1/2 h-3 bg-blue-200 rounded mb-1"></div>
|
| 264 |
+
<div class="w-5/6 h-3 bg-blue-200 rounded"></div>
|
| 265 |
+
</div>
|
| 266 |
+
<div class="flex justify-between items-center text-xs">
|
| 267 |
+
<p class="text-gray-600">4 mins ago</p>
|
| 268 |
+
<span class="bg-green-100 text-green-800 px-2 py-1 rounded">New</span>
|
| 269 |
+
</div>
|
| 270 |
+
</div>
|
| 271 |
+
</div>
|
| 272 |
+
</div>
|
| 273 |
+
</div>
|
| 274 |
+
</section>
|
| 275 |
+
|
| 276 |
+
<!-- Footer -->
|
| 277 |
+
<footer class="py-8 border-t border-gray-200">
|
| 278 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 279 |
+
<div class="mb-4 md:mb-0">
|
| 280 |
+
<div class="flex items-center">
|
| 281 |
+
<i class="fas fa-atom text-2xl text-blue-500 mr-2"></i>
|
| 282 |
+
<span class="text-lg font-bold text-gray-800">SciVis3D</span>
|
| 283 |
+
</div>
|
| 284 |
+
<p class="text-gray-600 text-sm mt-2">Making science visual and interactive</p>
|
| 285 |
+
</div>
|
| 286 |
+
<div class="flex space-x-6">
|
| 287 |
+
<a href="#" class="text-gray-600 hover:text-blue-600"><i class="fab fa-twitter text-xl"></i></a>
|
| 288 |
+
<a href="#" class="text-gray-600 hover:text-blue-600"><i class="fab fa-instagram text-xl"></i></a>
|
| 289 |
+
<a href="#" class="text-gray-600 hover:text-blue-600"><i class="fab fa-youtube text-xl"></i></a>
|
| 290 |
+
<a href="#" class="text-gray-600 hover:text-blue-600"><i class="fab fa-linkedin text-xl"></i></a>
|
| 291 |
+
</div>
|
| 292 |
+
</div>
|
| 293 |
+
</footer>
|
| 294 |
+
</div>
|
| 295 |
+
|
| 296 |
+
<!-- WhatsApp Share Modal -->
|
| 297 |
+
<div id="share-modal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
|
| 298 |
+
<div class="bg-white rounded-xl p-6 max-w-md w-full">
|
| 299 |
+
<div class="flex justify-between items-center mb-4">
|
| 300 |
+
<h3 class="text-xl font-bold text-gray-800">Share on WhatsApp</h3>
|
| 301 |
+
<button id="close-modal" class="text-gray-500 hover:text-gray-700">
|
| 302 |
+
<i class="fas fa-times"></i>
|
| 303 |
+
</button>
|
| 304 |
+
</div>
|
| 305 |
+
<div class="mb-6">
|
| 306 |
+
<label class="block text-gray-700 mb-2">Enter phone number or select contact</label>
|
| 307 |
+
<div class="flex">
|
| 308 |
+
<div class="relative flex-grow">
|
| 309 |
+
<select class="appearance-none bg-gray-100 border border-gray-300 rounded-l-lg px-4 py-2 pr-8 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
|
| 310 |
+
<option>+1</option>
|
| 311 |
+
<option>+44</option>
|
| 312 |
+
<option>+91</option>
|
| 313 |
+
<option>+81</option>
|
| 314 |
+
</select>
|
| 315 |
+
<div class="pointer-events-none absolute inset-y-0 right-2 flex items-center px-2 text-gray-700">
|
| 316 |
+
<i class="fas fa-chevron-down text-xs"></i>
|
| 317 |
+
</div>
|
| 318 |
+
</div>
|
| 319 |
+
<input type="text" class="flex-grow border-t border-r border-b border-gray-300 rounded-r-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="Phone number">
|
| 320 |
+
</div>
|
| 321 |
+
</div>
|
| 322 |
+
<div class="mb-6">
|
| 323 |
+
<label class="block text-gray-700 mb-2">Message (optional)</label>
|
| 324 |
+
<textarea class="w-full border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500" rows="3">Check out this science visualization I found on SciVis3D!</textarea>
|
| 325 |
+
</div>
|
| 326 |
+
<div class="flex justify-end space-x-3">
|
| 327 |
+
<button id="cancel-share" class="px-6 py-2 rounded-lg border border-gray-300 text-gray-700 hover:bg-gray-100">Cancel</button>
|
| 328 |
+
<button id="confirm-share" class="px-6 py-2 rounded-lg bg-green-500 text-white hover:bg-green-600 flex items-center">
|
| 329 |
+
<i class="fab fa-whatsapp mr-2"></i> Share Now
|
| 330 |
+
</button>
|
| 331 |
+
</div>
|
| 332 |
+
</div>
|
| 333 |
+
</div>
|
| 334 |
+
|
| 335 |
+
<script>
|
| 336 |
+
// WhatsApp Share Functionality
|
| 337 |
+
const whatsappShareBtn = document.getElementById('whatsapp-share');
|
| 338 |
+
const shareModal = document.getElementById('share-modal');
|
| 339 |
+
const closeModal = document.getElementById('close-modal');
|
| 340 |
+
const cancelShare = document.getElementById('cancel-share');
|
| 341 |
+
const confirmShare = document.getElementById('confirm-share');
|
| 342 |
+
|
| 343 |
+
whatsappShareBtn.addEventListener('click', () => {
|
| 344 |
+
shareModal.classList.remove('hidden');
|
| 345 |
+
});
|
| 346 |
+
|
| 347 |
+
[closeModal, cancelShare].forEach(btn => {
|
| 348 |
+
btn.addEventListener('click', () => {
|
| 349 |
+
shareModal.classList.add('hidden');
|
| 350 |
+
});
|
| 351 |
+
});
|
| 352 |
+
|
| 353 |
+
confirmShare.addEventListener('click', () => {
|
| 354 |
+
// In a real app, this would actually share via WhatsApp API
|
| 355 |
+
alert('This would share the content via WhatsApp in a real implementation!');
|
| 356 |
+
shareModal.classList.add('hidden');
|
| 357 |
+
});
|
| 358 |
+
|
| 359 |
+
// Add some interactive elements for the graphs
|
| 360 |
+
const bars = document.querySelectorAll('.graph-container div[class^="absolute"] > div');
|
| 361 |
+
bars.forEach(bar => {
|
| 362 |
+
bar.addEventListener('mouseenter', function() {
|
| 363 |
+
const height = this.style.height;
|
| 364 |
+
this.classList.add('shadow-md');
|
| 365 |
+
|
| 366 |
+
// Show tooltip
|
| 367 |
+
const tooltip = document.createElement('div');
|
| 368 |
+
tooltip.className = 'absolute bottom-full mb-2 px-2 py-1 bg-gray-800 text-white text-xs rounded left-1/2 transform -translate-x-1/2';
|
| 369 |
+
tooltip.textContent = `Value: ${Math.round(parseInt(height) / 100 * 10)}/10`;
|
| 370 |
+
this.appendChild(tooltip);
|
| 371 |
+
|
| 372 |
+
this.addEventListener('mouseleave', () => {
|
| 373 |
+
this.classList.remove('shadow-md');
|
| 374 |
+
if (this.lastChild.className.includes('absolute')) {
|
| 375 |
+
this.removeChild(this.lastChild);
|
| 376 |
+
}
|
| 377 |
+
});
|
| 378 |
+
});
|
| 379 |
+
});
|
| 380 |
+
|
| 381 |
+
// Mobile menu toggle (would be expanded in a full implementation)
|
| 382 |
+
const mobileMenuBtn = document.querySelector('.md\\:hidden');
|
| 383 |
+
mobileMenuBtn.addEventListener('click', () => {
|
| 384 |
+
alert('Mobile menu would open here in a full implementation!');
|
| 385 |
+
});
|
| 386 |
+
</script>
|
| 387 |
+
<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=AARIFSHABIR/deep-learning" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 388 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Make 3D image apps showing basic and core concpts of science, graphs,conclusions, patterns in the form of an app and how to share it on whatsappapp
|