gsstec commited on
Commit
1a109ab
·
verified ·
1 Parent(s): 9caae42

Upload templates\index.html with huggingface_hub

Browse files
Files changed (1) hide show
  1. templates//index.html +317 -0
templates//index.html ADDED
@@ -0,0 +1,317 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Bio Human Atlas Viewer | Gaston Software Solutions Tec</title>
7
+ <meta name="description" content="Interactive 3D human anatomy atlas with virus visualization and drug development insights">
8
+ <meta name="keywords" content="anatomy, 3D visualization, medical, virus, drug development, atlas">
9
+ <meta name="author" content="Gaston Software Solutions Tec, Uganda">
10
+
11
+ <!-- Open Graph / Facebook -->
12
+ <meta property="og:type" content="website">
13
+ <meta property="og:url" content="https://huggingface.co/spaces/gsstec/bio_human">
14
+ <meta property="og:title" content="Bio Human Atlas Viewer">
15
+ <meta property="og:description" content="Interactive 3D human anatomy atlas with virus visualization">
16
+ <meta property="og:image" content="/static/preview.png">
17
+
18
+ <!-- Twitter -->
19
+ <meta property="twitter:card" content="summary_large_image">
20
+ <meta property="twitter:url" content="https://huggingface.co/spaces/gsstec/bio_human">
21
+ <meta property="twitter:title" content="Bio Human Atlas Viewer">
22
+ <meta property="twitter:description" content="Interactive 3D human anatomy atlas with virus visualization">
23
+ <meta property="twitter:image" content="/static/preview.png">
24
+
25
+ <style>
26
+ * {
27
+ margin: 0;
28
+ padding: 0;
29
+ box-sizing: border-box;
30
+ }
31
+
32
+ body {
33
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
34
+ background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
35
+ color: white;
36
+ min-height: 100vh;
37
+ display: flex;
38
+ flex-direction: column;
39
+ }
40
+
41
+ .header {
42
+ background: rgba(0, 0, 0, 0.3);
43
+ padding: 1rem 2rem;
44
+ backdrop-filter: blur(10px);
45
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
46
+ }
47
+
48
+ .header h1 {
49
+ font-size: 2.5rem;
50
+ margin-bottom: 0.5rem;
51
+ background: linear-gradient(45deg, #4CAF50, #2196F3);
52
+ -webkit-background-clip: text;
53
+ -webkit-text-fill-color: transparent;
54
+ background-clip: text;
55
+ }
56
+
57
+ .header .subtitle {
58
+ font-size: 1.1rem;
59
+ opacity: 0.9;
60
+ margin-bottom: 0.5rem;
61
+ }
62
+
63
+ .header .organization {
64
+ font-size: 0.9rem;
65
+ opacity: 0.7;
66
+ font-style: italic;
67
+ }
68
+
69
+ .main-content {
70
+ flex: 1;
71
+ display: flex;
72
+ flex-direction: column;
73
+ align-items: center;
74
+ justify-content: center;
75
+ padding: 2rem;
76
+ text-align: center;
77
+ }
78
+
79
+ .hero-section {
80
+ max-width: 800px;
81
+ margin-bottom: 3rem;
82
+ }
83
+
84
+ .hero-section h2 {
85
+ font-size: 2rem;
86
+ margin-bottom: 1rem;
87
+ color: #E3F2FD;
88
+ }
89
+
90
+ .hero-section p {
91
+ font-size: 1.2rem;
92
+ line-height: 1.6;
93
+ opacity: 0.9;
94
+ margin-bottom: 2rem;
95
+ }
96
+
97
+ .features {
98
+ display: grid;
99
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
100
+ gap: 2rem;
101
+ margin-bottom: 3rem;
102
+ max-width: 1000px;
103
+ }
104
+
105
+ .feature-card {
106
+ background: rgba(255, 255, 255, 0.1);
107
+ padding: 2rem;
108
+ border-radius: 15px;
109
+ backdrop-filter: blur(10px);
110
+ border: 1px solid rgba(255, 255, 255, 0.2);
111
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
112
+ }
113
+
114
+ .feature-card:hover {
115
+ transform: translateY(-5px);
116
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
117
+ }
118
+
119
+ .feature-card h3 {
120
+ font-size: 1.3rem;
121
+ margin-bottom: 1rem;
122
+ color: #4CAF50;
123
+ }
124
+
125
+ .feature-card p {
126
+ opacity: 0.9;
127
+ line-height: 1.5;
128
+ }
129
+
130
+ .cta-section {
131
+ margin-top: 2rem;
132
+ }
133
+
134
+ .btn {
135
+ display: inline-block;
136
+ padding: 1rem 2rem;
137
+ margin: 0.5rem;
138
+ background: linear-gradient(45deg, #4CAF50, #2196F3);
139
+ color: white;
140
+ text-decoration: none;
141
+ border-radius: 50px;
142
+ font-weight: bold;
143
+ font-size: 1.1rem;
144
+ transition: all 0.3s ease;
145
+ border: none;
146
+ cursor: pointer;
147
+ }
148
+
149
+ .btn:hover {
150
+ transform: translateY(-2px);
151
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
152
+ }
153
+
154
+ .btn-secondary {
155
+ background: rgba(255, 255, 255, 0.2);
156
+ border: 2px solid rgba(255, 255, 255, 0.3);
157
+ }
158
+
159
+ .api-section {
160
+ background: rgba(0, 0, 0, 0.2);
161
+ padding: 2rem;
162
+ border-radius: 15px;
163
+ margin-top: 2rem;
164
+ max-width: 800px;
165
+ }
166
+
167
+ .api-section h3 {
168
+ color: #4CAF50;
169
+ margin-bottom: 1rem;
170
+ }
171
+
172
+ .api-endpoints {
173
+ text-align: left;
174
+ font-family: 'Courier New', monospace;
175
+ font-size: 0.9rem;
176
+ opacity: 0.8;
177
+ }
178
+
179
+ .api-endpoints div {
180
+ margin: 0.5rem 0;
181
+ padding: 0.5rem;
182
+ background: rgba(0, 0, 0, 0.3);
183
+ border-radius: 5px;
184
+ }
185
+
186
+ .footer {
187
+ background: rgba(0, 0, 0, 0.3);
188
+ padding: 1rem 2rem;
189
+ text-align: center;
190
+ border-top: 1px solid rgba(255, 255, 255, 0.1);
191
+ }
192
+
193
+ .footer p {
194
+ opacity: 0.7;
195
+ font-size: 0.9rem;
196
+ }
197
+
198
+ @media (max-width: 768px) {
199
+ .header h1 {
200
+ font-size: 2rem;
201
+ }
202
+
203
+ .hero-section h2 {
204
+ font-size: 1.5rem;
205
+ }
206
+
207
+ .hero-section p {
208
+ font-size: 1rem;
209
+ }
210
+
211
+ .features {
212
+ grid-template-columns: 1fr;
213
+ }
214
+ }
215
+ </style>
216
+ </head>
217
+ <body>
218
+ <header class="header">
219
+ <h1>Bio Human Atlas Viewer</h1>
220
+ <div class="subtitle">Interactive 3D Human Anatomy Visualization</div>
221
+ <div class="organization">Gaston Software Solutions Tec, Uganda</div>
222
+ </header>
223
+
224
+ <main class="main-content">
225
+ <section class="hero-section">
226
+ <h2>Explore Human Anatomy in 3D</h2>
227
+ <p>
228
+ Advanced interactive 3D anatomy atlas featuring virus visualization,
229
+ drug development insights, and comprehensive biological analysis.
230
+ Built with cutting-edge web technologies for medical education and research.
231
+ </p>
232
+ </section>
233
+
234
+ <section class="features">
235
+ <div class="feature-card">
236
+ <h3>🧬 3D Anatomy Visualization</h3>
237
+ <p>Interactive 3D models of human anatomy with detailed organ systems, tissues, and cellular structures using WebGL technology.</p>
238
+ </div>
239
+
240
+ <div class="feature-card">
241
+ <h3>🔬 Educational Platform</h3>
242
+ <p>Comprehensive learning tool for medical students, researchers, and healthcare professionals with detailed anatomical information.</p>
243
+ </div>
244
+
245
+ <div class="feature-card">
246
+ <h3>🌐 Web-Based Access</h3>
247
+ <p>No installation required - access the full 3D anatomy atlas directly through your web browser on any device.</p>
248
+ </div>
249
+
250
+ <div class="feature-card">
251
+ <h3>� Cross-Platform</h3>
252
+ <p>Responsive design that works seamlessly on desktop, tablet, and mobile devices with touch and mouse controls.</p>
253
+ </div>
254
+ </section>
255
+
256
+ <section class="cta-section">
257
+ <a href="/viewer" class="btn">Launch 3D Atlas Viewer</a>
258
+ <a href="/api/health" class="btn btn-secondary">API Status</a>
259
+ </section>
260
+
261
+ <section class="api-section">
262
+ <h3>Available API Endpoints</h3>
263
+ <div class="api-endpoints">
264
+ <div>GET /api/health - Service health check</div>
265
+ <div>GET /api/atlas/structure - Atlas configuration</div>
266
+ <div>GET /api/bio-digital-lab - Bio digital lab data</div>
267
+ <div>GET /api/disease-analysis - Disease analysis data</div>
268
+ <div>GET /api/drug-development - Drug development results</div>
269
+ <div>GET /api/comprehensive-virus-data - Complete virus dataset</div>
270
+ <div>GET /api/atlas/virus-mapping - Virus-anatomy mapping</div>
271
+ <div>GET /api/sample-data - Sample anatomical data</div>
272
+ <div>GET /api/atlas/demo-structures - Demo 3D structures</div>
273
+ </div>
274
+ </section>
275
+ </main>
276
+
277
+ <footer class="footer">
278
+ <p>&copy; 2026 Gaston Software Solutions Tec, Uganda. All rights reserved.</p>
279
+ <p>Bio Human Atlas Viewer - Advanced 3D Anatomy Visualization Platform</p>
280
+ </footer>
281
+
282
+ <script>
283
+ // Add some interactive effects
284
+ document.addEventListener('DOMContentLoaded', function() {
285
+ // Animate feature cards on scroll
286
+ const observerOptions = {
287
+ threshold: 0.1,
288
+ rootMargin: '0px 0px -50px 0px'
289
+ };
290
+
291
+ const observer = new IntersectionObserver(function(entries) {
292
+ entries.forEach(entry => {
293
+ if (entry.isIntersecting) {
294
+ entry.target.style.opacity = '1';
295
+ entry.target.style.transform = 'translateY(0)';
296
+ }
297
+ });
298
+ }, observerOptions);
299
+
300
+ // Observe feature cards
301
+ document.querySelectorAll('.feature-card').forEach(card => {
302
+ card.style.opacity = '0';
303
+ card.style.transform = 'translateY(20px)';
304
+ card.style.transition = 'opacity 0.6s ease, transform 0.6s ease';
305
+ observer.observe(card);
306
+ });
307
+
308
+ // Add click tracking for analytics
309
+ document.querySelectorAll('.btn').forEach(btn => {
310
+ btn.addEventListener('click', function(e) {
311
+ console.log('Button clicked:', this.textContent);
312
+ });
313
+ });
314
+ });
315
+ </script>
316
+ </body>
317
+ </html>