ppf38356 commited on
Commit
054c6a2
·
verified ·
1 Parent(s): ae81499

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +6 -4
  2. index.html +912 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Geoseek
3
- emoji: 🏆
4
- colorFrom: gray
5
  colorTo: gray
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: geoseek
3
+ emoji: 🐳
4
+ colorFrom: blue
5
  colorTo: gray
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,912 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>Earth REC - Geospatial AI Platform</title>
7
+ <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
+ .map-container {
11
+ background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 50%, #80deea 100%);
12
+ position: relative;
13
+ overflow: hidden;
14
+ }
15
+
16
+ .grid-points {
17
+ position: absolute;
18
+ width: 100%;
19
+ height: 100%;
20
+ background-image:
21
+ linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px),
22
+ linear-gradient(90deg, rgba(0,0,0,0.1) 1px, transparent 1px);
23
+ background-size: 20px 20px;
24
+ }
25
+
26
+ .tool-icon {
27
+ transition: all 0.3s ease;
28
+ }
29
+
30
+ .tool-icon:hover {
31
+ transform: scale(1.1);
32
+ background-color: rgba(255,255,255,0.2);
33
+ }
34
+
35
+ .ai-message {
36
+ animation: fadeIn 0.3s ease-out;
37
+ }
38
+
39
+ @keyframes fadeIn {
40
+ from { opacity: 0; transform: translateY(10px); }
41
+ to { opacity: 1; transform: translateY(0); }
42
+ }
43
+
44
+ .project-card:hover {
45
+ transform: translateY(-5px);
46
+ box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
47
+ }
48
+
49
+ .layer-item:hover {
50
+ background-color: rgba(255,255,255,0.1);
51
+ }
52
+
53
+ .analysis-panel {
54
+ transition: all 0.3s ease;
55
+ }
56
+
57
+ .analysis-panel:hover {
58
+ box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
59
+ }
60
+ </style>
61
+ </head>
62
+ <body class="bg-gray-50 text-gray-800 font-sans">
63
+ <!-- Main App Container -->
64
+ <div class="flex flex-col h-screen">
65
+ <!-- Top Navigation Bar -->
66
+ <header class="bg-white shadow-sm z-10">
67
+ <div class="flex items-center justify-between px-4 py-3">
68
+ <div class="flex items-center space-x-4">
69
+ <div class="flex items-center">
70
+ <i class="fas fa-globe-americas text-blue-500 text-2xl mr-2"></i>
71
+ <h1 class="text-xl font-bold text-blue-600">Earth REC</h1>
72
+ </div>
73
+
74
+ <nav class="hidden md:flex space-x-6">
75
+ <a href="#" class="text-blue-600 font-medium border-b-2 border-blue-600 pb-1">Map</a>
76
+ <a href="#" class="text-gray-600 hover:text-blue-600">Analysis</a>
77
+ <a href="#" class="text-gray-600 hover:text-blue-600">Projects</a>
78
+ <a href="#" class="text-gray-600 hover:text-blue-600">Data</a>
79
+ </nav>
80
+ </div>
81
+
82
+ <div class="flex items-center space-x-4">
83
+ <div class="relative hidden md:block">
84
+ <input type="text" placeholder="Search locations, datasets..."
85
+ class="pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 w-64">
86
+ <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
87
+ </div>
88
+
89
+ <button class="p-2 rounded-full hover:bg-gray-100">
90
+ <i class="fas fa-bell text-gray-600"></i>
91
+ </button>
92
+
93
+ <div class="relative">
94
+ <button class="flex items-center space-x-2 focus:outline-none">
95
+ <div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white font-medium">JD</div>
96
+ <i class="fas fa-chevron-down text-gray-600 text-xs"></i>
97
+ </button>
98
+ </div>
99
+ </div>
100
+ </div>
101
+
102
+ <!-- Breadcrumbs -->
103
+ <div class="px-4 py-2 bg-gray-50 text-sm border-t border-gray-200">
104
+ <div class="flex items-center space-x-2 text-gray-600">
105
+ <a href="#" class="hover:text-blue-600">Home</a>
106
+ <i class="fas fa-chevron-right text-xs"></i>
107
+ <span class="text-blue-600">Map View</span>
108
+ </div>
109
+ </div>
110
+ </header>
111
+
112
+ <!-- Main Content Area -->
113
+ <div class="flex flex-1 overflow-hidden">
114
+ <!-- Left Toolbar -->
115
+ <div class="w-16 bg-white border-r border-gray-200 flex flex-col items-center py-4 space-y-6">
116
+ <div class="tool-icon p-2 rounded-lg cursor-pointer text-blue-600 bg-blue-50" title="Navigation Tools">
117
+ <i class="fas fa-compass text-xl"></i>
118
+ </div>
119
+
120
+ <div class="tool-icon p-2 rounded-lg cursor-pointer text-gray-600 hover:text-blue-600" title="Data Tools">
121
+ <i class="fas fa-database text-xl"></i>
122
+ </div>
123
+
124
+ <div class="tool-icon p-2 rounded-lg cursor-pointer text-gray-600 hover:text-blue-600" title="Analysis Tools">
125
+ <i class="fas fa-chart-bar text-xl"></i>
126
+ </div>
127
+
128
+ <div class="tool-icon p-2 rounded-lg cursor-pointer text-gray-600 hover:text-blue-600" title="Visualization Tools">
129
+ <i class="fas fa-paint-brush text-xl"></i>
130
+ </div>
131
+
132
+ <div class="border-t border-gray-200 w-8 my-2"></div>
133
+
134
+ <div class="tool-icon p-2 rounded-lg cursor-pointer text-gray-600 hover:text-blue-600" title="Projects">
135
+ <i class="fas fa-folder text-xl"></i>
136
+ </div>
137
+
138
+ <div class="tool-icon p-2 rounded-lg cursor-pointer text-gray-600 hover:text-blue-600" title="Settings">
139
+ <i class="fas fa-cog text-xl"></i>
140
+ </div>
141
+
142
+ <div class="mt-auto tool-icon p-2 rounded-lg cursor-pointer text-gray-600 hover:text-blue-600" title="Help">
143
+ <i class="fas fa-question-circle text-xl"></i>
144
+ </div>
145
+ </div>
146
+
147
+ <!-- Expanded Left Panel (Tools) -->
148
+ <div class="w-64 bg-white border-r border-gray-200 overflow-y-auto">
149
+ <div class="p-4 border-b border-gray-200">
150
+ <h3 class="font-medium text-gray-700">Navigation Tools</h3>
151
+ </div>
152
+
153
+ <div class="space-y-1 p-2">
154
+ <div class="flex items-center p-2 rounded hover:bg-blue-50 cursor-pointer">
155
+ <i class="fas fa-search-plus text-blue-500 mr-3"></i>
156
+ <span>Zoom In</span>
157
+ </div>
158
+ <div class="flex items-center p-2 rounded hover:bg-blue-50 cursor-pointer">
159
+ <i class="fas fa-search-minus text-blue-500 mr-3"></i>
160
+ <span>Zoom Out</span>
161
+ </div>
162
+ <div class="flex items-center p-2 rounded hover:bg-blue-50 cursor-pointer">
163
+ <i class="fas fa-arrows-alt text-blue-500 mr-3"></i>
164
+ <span>Pan</span>
165
+ </div>
166
+ <div class="flex items-center p-2 rounded hover:bg-blue-50 cursor-pointer">
167
+ <i class="fas fa-bookmark text-blue-500 mr-3"></i>
168
+ <span>Bookmarks</span>
169
+ </div>
170
+ <div class="flex items-center p-2 rounded hover:bg-blue-50 cursor-pointer">
171
+ <i class="fas fa-ruler-combined text-blue-500 mr-3"></i>
172
+ <span>Measure Distance</span>
173
+ </div>
174
+ <div class="flex items-center p-2 rounded hover:bg-blue-50 cursor-pointer">
175
+ <i class="fas fa-ruler text-blue-500 mr-3"></i>
176
+ <span>Measure Area</span>
177
+ </div>
178
+ </div>
179
+
180
+ <div class="p-4 border-t border-b border-gray-200">
181
+ <h3 class="font-medium text-gray-700">Layers</h3>
182
+ </div>
183
+
184
+ <div class="space-y-2 p-2">
185
+ <div class="flex items-center justify-between p-2 rounded hover:bg-blue-50 cursor-pointer">
186
+ <div class="flex items-center">
187
+ <div class="w-4 h-4 rounded-full bg-blue-500 mr-3"></div>
188
+ <span>Base Map</span>
189
+ </div>
190
+ <i class="fas fa-eye text-blue-500"></i>
191
+ </div>
192
+ <div class="flex items-center justify-between p-2 rounded hover:bg-blue-50 cursor-pointer">
193
+ <div class="flex items-center">
194
+ <div class="w-4 h-4 rounded-full bg-green-500 mr-3"></div>
195
+ <span>Land Use</span>
196
+ </div>
197
+ <i class="fas fa-eye text-blue-500"></i>
198
+ </div>
199
+ <div class="flex items-center justify-between p-2 rounded hover:bg-blue-50 cursor-pointer">
200
+ <div class="flex items-center">
201
+ <div class="w-4 h-4 rounded-full bg-red-500 mr-3"></div>
202
+ <span>Population Density</span>
203
+ </div>
204
+ <i class="fas fa-eye-slash text-gray-400"></i>
205
+ </div>
206
+ <div class="flex items-center justify-between p-2 rounded hover:bg-blue-50 cursor-pointer">
207
+ <div class="flex items-center">
208
+ <div class="w-4 h-4 rounded-full bg-yellow-500 mr-3"></div>
209
+ <span>Transportation</span>
210
+ </div>
211
+ <i class="fas fa-eye text-blue-500"></i>
212
+ </div>
213
+ </div>
214
+
215
+ <div class="p-4 border-t border-b border-gray-200">
216
+ <button class="w-full bg-blue-600 text-white py-2 rounded-lg hover:bg-blue-700 transition">
217
+ <i class="fas fa-plus mr-2"></i> Add Layer
218
+ </button>
219
+ </div>
220
+ </div>
221
+
222
+ <!-- Main Map Area -->
223
+ <div class="flex-1 flex flex-col">
224
+ <div class="map-container flex-1 relative">
225
+ <div class="grid-points"></div>
226
+
227
+ <!-- Map Controls -->
228
+ <div class="absolute top-4 right-4 bg-white rounded-lg shadow-md p-2 z-20">
229
+ <div class="flex flex-col space-y-2">
230
+ <button class="p-2 rounded hover:bg-gray-100">
231
+ <i class="fas fa-plus text-gray-600"></i>
232
+ </button>
233
+ <button class="p-2 rounded hover:bg-gray-100">
234
+ <i class="fas fa-minus text-gray-600"></i>
235
+ </button>
236
+ <button class="p-2 rounded hover:bg-gray-100">
237
+ <i class="fas fa-home text-gray-600"></i>
238
+ </button>
239
+ </div>
240
+ </div>
241
+
242
+ <!-- Selection Rectangle (example) -->
243
+ <div class="absolute border-2 border-blue-500 bg-blue-100 bg-opacity-20 z-10"
244
+ style="left: 30%; top: 25%; width: 200px; height: 150px;"></div>
245
+
246
+ <!-- Map Legend -->
247
+ <div class="absolute bottom-4 left-4 bg-white rounded-lg shadow-md p-3 z-20 max-w-xs">
248
+ <h4 class="font-medium text-gray-700 mb-2">Map Legend</h4>
249
+ <div class="space-y-2">
250
+ <div class="flex items-center">
251
+ <div class="w-4 h-4 rounded-full bg-blue-500 mr-2"></div>
252
+ <span class="text-sm">Water Bodies</span>
253
+ </div>
254
+ <div class="flex items-center">
255
+ <div class="w-4 h-4 rounded-full bg-green-500 mr-2"></div>
256
+ <span class="text-sm">Forest Areas</span>
257
+ </div>
258
+ <div class="flex items-center">
259
+ <div class="w-4 h-4 rounded-full bg-gray-500 mr-2"></div>
260
+ <span class="text-sm">Urban Areas</span>
261
+ </div>
262
+ </div>
263
+ </div>
264
+ </div>
265
+
266
+ <!-- Bottom Status Bar -->
267
+ <div class="bg-white border-t border-gray-200 px-4 py-2 flex items-center justify-between text-sm">
268
+ <div class="flex items-center space-x-4">
269
+ <div class="flex items-center">
270
+ <i class="fas fa-map-marker-alt text-blue-500 mr-2"></i>
271
+ <span>Center: 34.0522° N, 118.2437° W</span>
272
+ </div>
273
+ <div class="flex items-center">
274
+ <i class="fas fa-expand text-blue-500 mr-2"></i>
275
+ <span>Zoom: 12</span>
276
+ </div>
277
+ </div>
278
+ <div>
279
+ <span class="text-gray-500">Coordinate System: WGS 84</span>
280
+ </div>
281
+ </div>
282
+ </div>
283
+
284
+ <!-- Right AI Sidebar -->
285
+ <div class="w-80 bg-white border-l border-gray-200 flex flex-col">
286
+ <div class="p-4 border-b border-gray-200">
287
+ <div class="flex items-center justify-between">
288
+ <h3 class="font-medium text-gray-700">GeoAI Assistant</h3>
289
+ <div class="relative">
290
+ <select class="appearance-none bg-blue-50 text-blue-600 text-sm font-medium px-3 py-1 pr-6 rounded-full focus:outline-none">
291
+ <option>Analyst</option>
292
+ <option>Planner</option>
293
+ <option>Explorer</option>
294
+ <option>Teacher</option>
295
+ </select>
296
+ <i class="fas fa-chevron-down absolute right-2 top-1.5 text-blue-600 text-xs pointer-events-none"></i>
297
+ </div>
298
+ </div>
299
+ </div>
300
+
301
+ <!-- Spatial Memory -->
302
+ <div class="p-3 bg-blue-50 border-b border-blue-100">
303
+ <h4 class="text-xs font-medium text-blue-700 mb-1">SPATIAL MEMORY</h4>
304
+ <div class="flex space-x-2 overflow-x-auto pb-1">
305
+ <div class="flex-shrink-0 w-16 h-16 bg-blue-100 rounded border border-blue-200 flex items-center justify-center">
306
+ <i class="fas fa-map-marker-alt text-blue-500"></i>
307
+ </div>
308
+ <div class="flex-shrink-0 w-16 h-16 bg-blue-100 rounded border border-blue-200 flex items-center justify-center">
309
+ <i class="fas fa-chart-line text-blue-500"></i>
310
+ </div>
311
+ <div class="flex-shrink-0 w-16 h-16 bg-blue-100 rounded border border-blue-200 flex items-center justify-center">
312
+ <i class="fas fa-layer-group text-blue-500"></i>
313
+ </div>
314
+ </div>
315
+ </div>
316
+
317
+ <!-- AI Conversation -->
318
+ <div class="flex-1 overflow-y-auto p-4 space-y-4">
319
+ <div class="ai-message">
320
+ <div class="flex items-start mb-2">
321
+ <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center mr-2">
322
+ <i class="fas fa-robot text-blue-500"></i>
323
+ </div>
324
+ <div class="flex-1">
325
+ <div class="bg-blue-50 rounded-lg p-3">
326
+ <p class="text-sm">I see you've selected an area in downtown Los Angeles. Would you like me to analyze:</p>
327
+ <ul class="list-disc pl-5 mt-2 text-sm space-y-1">
328
+ <li>Land use patterns in this area</li>
329
+ <li>Population density statistics</li>
330
+ <li>Transportation accessibility</li>
331
+ </ul>
332
+ </div>
333
+ <div class="flex space-x-2 mt-2">
334
+ <button class="text-xs bg-blue-100 text-blue-600 px-2 py-1 rounded hover:bg-blue-200">Land Use</button>
335
+ <button class="text-xs bg-blue-100 text-blue-600 px-2 py-1 rounded hover:bg-blue-200">Population</button>
336
+ <button class="text-xs bg-blue-100 text-blue-600 px-2 py-1 rounded hover:bg-blue-200">Transport</button>
337
+ </div>
338
+ </div>
339
+ </div>
340
+ </div>
341
+
342
+ <div class="ai-message">
343
+ <div class="flex items-start">
344
+ <div class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center mr-2">
345
+ <i class="fas fa-user text-gray-500"></i>
346
+ </div>
347
+ <div class="flex-1">
348
+ <div class="bg-gray-100 rounded-lg p-3">
349
+ <p class="text-sm">Show me land use patterns with transportation overlay</p>
350
+ </div>
351
+ </div>
352
+ </div>
353
+ </div>
354
+
355
+ <div class="ai-message">
356
+ <div class="flex items-start mb-2">
357
+ <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center mr-2">
358
+ <i class="fas fa-robot text-blue-500"></i>
359
+ </div>
360
+ <div class="flex-1">
361
+ <div class="bg-blue-50 rounded-lg p-3">
362
+ <p class="text-sm">Here's the land use analysis for your selected area (2.3 sq mi):</p>
363
+ <div class="mt-2">
364
+ <div class="flex items-center justify-between text-xs mb-1">
365
+ <span>Residential</span>
366
+ <span class="font-medium">42%</span>
367
+ </div>
368
+ <div class="w-full bg-gray-200 rounded-full h-1.5">
369
+ <div class="bg-blue-500 h-1.5 rounded-full" style="width: 42%"></div>
370
+ </div>
371
+ </div>
372
+ <div class="mt-2">
373
+ <div class="flex items-center justify-between text-xs mb-1">
374
+ <span>Commercial</span>
375
+ <span class="font-medium">28%</span>
376
+ </div>
377
+ <div class="w-full bg-gray-200 rounded-full h-1.5">
378
+ <div class="bg-green-500 h-1.5 rounded-full" style="width: 28%"></div>
379
+ </div>
380
+ </div>
381
+ <div class="mt-2">
382
+ <div class="flex items-center justify-between text-xs mb-1">
383
+ <span>Industrial</span>
384
+ <span class="font-medium">15%</span>
385
+ </div>
386
+ <div class="w-full bg-gray-200 rounded-full h-1.5">
387
+ <div class="bg-yellow-500 h-1.5 rounded-full" style="width: 15%"></div>
388
+ </div>
389
+ </div>
390
+ <div class="mt-3">
391
+ <p class="text-xs text-gray-600">Transportation overlay shows high accessibility with 3 metro stations and 12 bus routes in this area.</p>
392
+ </div>
393
+ </div>
394
+ <div class="flex space-x-2 mt-2">
395
+ <button class="text-xs bg-blue-100 text-blue-600 px-2 py-1 rounded hover:bg-blue-200">
396
+ <i class="fas fa-chart-pie mr-1"></i> More Stats
397
+ </button>
398
+ <button class="text-xs bg-blue-100 text-blue-600 px-2 py-1 rounded hover:bg-blue-200">
399
+ <i class="fas fa-map-marked-alt mr-1"></i> Show on Map
400
+ </button>
401
+ </div>
402
+ </div>
403
+ </div>
404
+ </div>
405
+ </div>
406
+
407
+ <!-- Input Area -->
408
+ <div class="p-4 border-t border-gray-200">
409
+ <div class="relative">
410
+ <textarea class="w-full border border-gray-300 rounded-lg pl-4 pr-10 py-3 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 resize-none"
411
+ placeholder="Ask the GeoAI about this area..." rows="2"></textarea>
412
+ <div class="absolute right-2 bottom-3 flex space-x-1">
413
+ <button class="p-1 text-gray-500 hover:text-blue-500">
414
+ <i class="fas fa-paperclip"></i>
415
+ </button>
416
+ <button class="p-1 text-gray-500 hover:text-blue-500">
417
+ <i class="fas fa-microphone"></i>
418
+ </button>
419
+ <button class="p-1 text-blue-500">
420
+ <i class="fas fa-paper-plane"></i>
421
+ </button>
422
+ </div>
423
+ </div>
424
+ </div>
425
+ </div>
426
+ </div>
427
+ </div>
428
+
429
+ <!-- Analysis Dashboard (Hidden by default) -->
430
+ <div id="analysis-dashboard" class="fixed inset-0 bg-white z-50 hidden">
431
+ <div class="flex flex-col h-full">
432
+ <header class="bg-white shadow-sm z-10">
433
+ <div class="flex items-center justify-between px-4 py-3">
434
+ <div class="flex items-center space-x-4">
435
+ <button onclick="toggleDashboard()" class="p-2 rounded-full hover:bg-gray-100">
436
+ <i class="fas fa-arrow-left text-gray-600"></i>
437
+ </div>
438
+ <h2 class="text-lg font-medium">Land Use Analysis - Downtown Los Angeles</h2>
439
+ </div>
440
+ <div class="flex items-center space-x-2">
441
+ <button class="px-3 py-1 border border-gray-300 rounded-lg hover:bg-gray-50">
442
+ <i class="fas fa-download mr-2"></i> Export
443
+ </button>
444
+ <button class="px-3 py-1 bg-blue-600 text-white rounded-lg hover:bg-blue-700">
445
+ <i class="fas fa-share-alt mr-2"></i> Share
446
+ </button>
447
+ </div>
448
+ </div>
449
+ </header>
450
+
451
+ <div class="flex-1 overflow-hidden">
452
+ <div class="grid grid-cols-12 grid-rows-6 gap-4 p-4 h-full">
453
+ <!-- Main Map -->
454
+ <div class="col-span-8 row-span-4 bg-gray-100 rounded-lg overflow-hidden relative">
455
+ <div class="map-container w-full h-full">
456
+ <div class="grid-points"></div>
457
+ </div>
458
+ <div class="absolute bottom-4 left-4 bg-white rounded-lg shadow-md p-3 z-20">
459
+ <h4 class="font-medium text-gray-700 mb-2">Land Use Classification</h4>
460
+ <div class="space-y-1">
461
+ <div class="flex items-center">
462
+ <div class="w-3 h-3 rounded-full bg-blue-500 mr-2"></div>
463
+ <span class="text-xs">Residential</span>
464
+ </div>
465
+ <div class="flex items-center">
466
+ <div class="w-3 h-3 rounded-full bg-green-500 mr-2"></div>
467
+ <span class="text-xs">Commercial</span>
468
+ </div>
469
+ <div class="flex items-center">
470
+ <div class="w-3 h-3 rounded-full bg-yellow-500 mr-2"></div>
471
+ <span class="text-xs">Industrial</span>
472
+ </div>
473
+ </div>
474
+ </div>
475
+ </div>
476
+
477
+ <!-- Pie Chart -->
478
+ <div class="col-span-4 row-span-2 bg-white rounded-lg shadow-sm p-4 analysis-panel">
479
+ <div class="flex items-center justify-between mb-3">
480
+ <h3 class="font-medium">Land Use Distribution</h3>
481
+ <button class="text-gray-400 hover:text-gray-600">
482
+ <i class="fas fa-ellipsis-h"></i>
483
+ </button>
484
+ </div>
485
+ <div class="flex justify-center">
486
+ <div class="w-32 h-32 rounded-full border-8 border-blue-500 border-t-green-500 border-r-yellow-500 border-b-purple-500 flex items-center justify-center">
487
+ <div class="text-center">
488
+ <div class="text-xs text-gray-500">Total</div>
489
+ <div class="font-medium">2.3 sq mi</div>
490
+ </div>
491
+ </div>
492
+ </div>
493
+ <div class="mt-4 space-y-2">
494
+ <div class="flex items-center justify-between text-sm">
495
+ <div class="flex items-center">
496
+ <div class="w-2 h-2 rounded-full bg-blue-500 mr-2"></div>
497
+ <span>Residential</span>
498
+ </div>
499
+ <span class="font-medium">42%</span>
500
+ </div>
501
+ <div class="flex items-center justify-between text-sm">
502
+ <div class="flex items-center">
503
+ <div class="w-2 h-2 rounded-full bg-green-500 mr-2"></div>
504
+ <span>Commercial</span>
505
+ </div>
506
+ <span class="font-medium">28%</span>
507
+ </div>
508
+ <div class="flex items-center justify-between text-sm">
509
+ <div class="flex items-center">
510
+ <div class="w-2 h-2 rounded-full bg-yellow-500 mr-2"></div>
511
+ <span>Industrial</span>
512
+ </div>
513
+ <span class="font-medium">15%</span>
514
+ </div>
515
+ </div>
516
+ </div>
517
+
518
+ <!-- Bar Chart -->
519
+ <div class="col-span-4 row-span-2 bg-white rounded-lg shadow-sm p-4 analysis-panel">
520
+ <div class="flex items-center justify-between mb-3">
521
+ <h3 class="font-medium">Population Density</h3>
522
+ <button class="text-gray-400 hover:text-gray-600">
523
+ <i class="fas fa-ellipsis-h"></i>
524
+ </button>
525
+ </div>
526
+ <div class="h-40">
527
+ <div class="flex items-end h-32 space-x-2">
528
+ <div class="flex-1 bg-blue-500 rounded-t" style="height: 70%"></div>
529
+ <div class="flex-1 bg-blue-500 rounded-t" style="height: 85%"></div>
530
+ <div class="flex-1 bg-blue-500 rounded-t" style="height: 60%"></div>
531
+ <div class="flex-1 bg-blue-500 rounded-t" style="height: 45%"></div>
532
+ <div class="flex-1 bg-blue-500 rounded-t" style="height: 75%"></div>
533
+ </div>
534
+ <div class="flex justify-between text-xs text-gray-500 mt-1">
535
+ <span>2018</span>
536
+ <span>2019</span>
537
+ <span>2020</span>
538
+ <span>2021</span>
539
+ <span>2022</span>
540
+ </div>
541
+ </div>
542
+ <div class="mt-2 text-sm text-gray-600">
543
+ <i class="fas fa-info-circle text-blue-500 mr-1"></i> 12% increase since 2018
544
+ </div>
545
+ </div>
546
+
547
+ <!-- AI Insights -->
548
+ <div class="col-span-8 row-span-2 bg-white rounded-lg shadow-sm p-4 analysis-panel">
549
+ <div class="flex items-center justify-between mb-3">
550
+ <h3 class="font-medium">AI Insights</h3>
551
+ <button class="text-gray-400 hover:text-gray-600">
552
+ <i class="fas fa-ellipsis-h"></i>
553
+ </button>
554
+ </div>
555
+ <div class="text-sm space-y-3">
556
+ <p>The selected area shows a typical urban land use pattern with high-density residential zones concentrated around commercial corridors. The transportation accessibility score (0.87) is well above the city average (0.62).</p>
557
+ <p>Notable observations:</p>
558
+ <ul class="list-disc pl-5 space-y-1">
559
+ <li>Commercial areas are primarily along major thoroughfares</li>
560
+ <li>Industrial zones are concentrated in the southeast quadrant</li>
561
+ <li>Public transit coverage is excellent with 95% of residential areas within 0.5mi of a transit stop</li>
562
+ </ul>
563
+ </div>
564
+ </div>
565
+
566
+ <!-- Transportation Stats -->
567
+ <div class="col-span-4 row-span-2 bg-white rounded-lg shadow-sm p-4 analysis-panel">
568
+ <div class="flex items-center justify-between mb-3">
569
+ <h3 class="font-medium">Transportation</h3>
570
+ <button class="text-gray-400 hover:text-gray-600">
571
+ <i class="fas fa-ellipsis-h"></i>
572
+ </button>
573
+ </div>
574
+ <div class="space-y-4">
575
+ <div>
576
+ <div class="flex items-center justify-between text-sm mb-1">
577
+ <span class="text-gray-600">Transit Score</span>
578
+ <span class="font-medium">87/100</span>
579
+ </div>
580
+ <div class="w-full bg-gray-200 rounded-full h-2">
581
+ <div class="bg-green-500 h-2 rounded-full" style="width: 87%"></div>
582
+ </div>
583
+ </div>
584
+ <div class="grid grid-cols-2 gap-2">
585
+ <div class="bg-blue-50 p-2 rounded text-center">
586
+ <div class="text-blue-600 font-medium">3</div>
587
+ <div class="text-xs text-gray-600">Metro Stations</div>
588
+ </div>
589
+ <div class="bg-green-50 p-2 rounded text-center">
590
+ <div class="text-green-600 font-medium">12</div>
591
+ <div class="text-xs text-gray-600">Bus Routes</div>
592
+ </div>
593
+ <div class="bg-yellow-50 p-2 rounded text-center">
594
+ <div class="text-yellow-600 font-medium">4.2</div>
595
+ <div class="text-xs text-gray-600">Avg. Walk Score</div>
596
+ </div>
597
+ <div class="bg-purple-50 p-2 rounded text-center">
598
+ <div class="text-purple-600 font-medium">15</div>
599
+ <div class="text-xs text-gray-600">Bike Stations</div>
600
+ </div>
601
+ </div>
602
+ </div>
603
+ </div>
604
+ </div>
605
+ </div>
606
+ </div>
607
+ </div>
608
+
609
+ <!-- Projects Page (Hidden by default) -->
610
+ <div id="projects-page" class="fixed inset-0 bg-white z-50 hidden">
611
+ <div class="flex flex-col h-full">
612
+ <header class="bg-white shadow-sm z-10">
613
+ <div class="flex items-center justify-between px-4 py-3">
614
+ <div class="flex items-center space-x-4">
615
+ <button onclick="toggleProjects()" class="p-2 rounded-full hover:bg-gray-100">
616
+ <i class="fas fa-arrow-left text-gray-600"></i>
617
+ </div>
618
+ <h2 class="text-lg font-medium">My Projects</h2>
619
+ </div>
620
+ <div class="flex items-center space-x-2">
621
+ <div class="relative">
622
+ <input type="text" placeholder="Search projects..."
623
+ class="pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 w-64">
624
+ <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
625
+ </div>
626
+ <button class="px-3 py-1 bg-blue-600 text-white rounded-lg hover:bg-blue-700">
627
+ <i class="fas fa-plus mr-2"></i> New Project
628
+ </button>
629
+ </div>
630
+ </div>
631
+
632
+ <!-- Project Categories -->
633
+ <div class="px-4 py-2 bg-gray-50 border-t border-gray-200">
634
+ <div class="flex space-x-4">
635
+ <button class="px-3 py-1 bg-blue-600 text-white rounded-full text-sm">All</button>
636
+ <button class="px-3 py-1 bg-white border border-gray-300 rounded-full text-sm hover:bg-gray-50">Urban Planning</button>
637
+ <button class="px-3 py-1 bg-white border border-gray-300 rounded-full text-sm hover:bg-gray-50">Environmental</button>
638
+ <button class="px-3 py-1 bg-white border border-gray-300 rounded-full text-sm hover:bg-gray-50">Transportation</button>
639
+ <button class="px-3 py-1 bg-white border border-gray-300 rounded-full text-sm hover:bg-gray-50">Demographics</button>
640
+ </div>
641
+ </div>
642
+ </header>
643
+
644
+ <div class="flex-1 overflow-y-auto p-6">
645
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6">
646
+ <!-- Project Cards -->
647
+ <div class="project-card bg-white rounded-lg shadow-sm border border-gray-200 overflow-hidden transition duration-300 cursor-pointer">
648
+ <div class="h-32 bg-blue-100 relative">
649
+ <div class="absolute inset-0 flex items-center justify-center">
650
+ <i class="fas fa-map-marked-alt text-blue-500 text-3xl"></i>
651
+ </div>
652
+ <div class="absolute top-2 right-2">
653
+ <button class="p-1 bg-white rounded-full shadow-sm text-gray-500 hover:text-blue-500">
654
+ <i class="fas fa-ellipsis-h"></i>
655
+ </button>
656
+ </div>
657
+ </div>
658
+ <div class="p-4">
659
+ <h3 class="font-medium mb-1">Downtown LA Land Use</h3>
660
+ <p class="text-sm text-gray-600 mb-3">Analysis of land use patterns and transportation accessibility</p>
661
+ <div class="flex items-center justify-between text-xs text-gray-500">
662
+ <span>Last updated: 2 days ago</span>
663
+ <div class="flex items-center space-x-1">
664
+ <i class="fas fa-user-friends"></i>
665
+ <span>3</span>
666
+ </div>
667
+ </div>
668
+ </div>
669
+ </div>
670
+
671
+ <div class="project-card bg-white rounded-lg shadow-sm border border-gray-200 overflow-hidden transition duration-300 cursor-pointer">
672
+ <div class="h-32 bg-green-100 relative">
673
+ <div class="absolute inset-0 flex items-center justify-center">
674
+ <i class="fas fa-tree text-green-500 text-3xl"></i>
675
+ </div>
676
+ <div class="absolute top-2 right-2">
677
+ <button class="p-1 bg-white rounded-full shadow-sm text-gray-500 hover:text-green-500">
678
+ <i class="fas fa-ellipsis-h"></i>
679
+ </button>
680
+ </div>
681
+ </div>
682
+ <div class="p-4">
683
+ <h3 class="font-medium mb-1">Urban Green Spaces</h3>
684
+ <p class="text-sm text-gray-600 mb-3">Mapping and analysis of parks and recreational areas</p>
685
+ <div class="flex items-center justify-between text-xs text-gray-500">
686
+ <span>Last updated: 1 week ago</span>
687
+ <div class="flex items-center space-x-1">
688
+ <i class="fas fa-user-friends"></i>
689
+ <span>5</span>
690
+ </div>
691
+ </div>
692
+ </div>
693
+ </div>
694
+
695
+ <div class="project-card bg-white rounded-lg shadow-sm border border-gray-200 overflow-hidden transition duration-300 cursor-pointer">
696
+ <div class="h-32 bg-yellow-100 relative">
697
+ <div class="absolute inset-0 flex items-center justify-center">
698
+ <i class="fas fa-bus text-yellow-500 text-3xl"></i>
699
+ </div>
700
+ <div class="absolute top-2 right-2">
701
+ <button class="p-1 bg-white rounded-full shadow-sm text-gray-500 hover:text-yellow-500">
702
+ <i class="fas fa-ellipsis-h"></i>
703
+ </button>
704
+ </div>
705
+ </div>
706
+ <div class="p-4">
707
+ <h3 class="font-medium mb-1">Public Transit Analysis</h3>
708
+ <p class="text-sm text-gray-600 mb-3">Bus and metro coverage analysis for city planning</p>
709
+ <div class="flex items-center justify-between text-xs text-gray-500">
710
+ <span>Last updated: 3 days ago</span>
711
+ <div class="flex items-center space-x-1">
712
+ <i class="fas fa-user-friends"></i>
713
+ <span>2</span>
714
+ </div>
715
+ </div>
716
+ </div>
717
+ </div>
718
+
719
+ <div class="project-card bg-white rounded-lg shadow-sm border border-gray-200 overflow-hidden transition duration-300 cursor-pointer">
720
+ <div class="h-32 bg-purple-100 relative">
721
+ <div class="absolute inset-0 flex items-center justify-center">
722
+ <i class="fas fa-chart-line text-purple-500 text-3xl"></i>
723
+ </div>
724
+ <div class="absolute top-2 right-2">
725
+ <button class="p-1 bg-white rounded-full shadow-sm text-gray-500 hover:text-purple-500">
726
+ <i class="fas fa-ellipsis-h"></i>
727
+ </button>
728
+ </div>
729
+ </div>
730
+ <div class="p-4">
731
+ <h3 class="font-medium mb-1">Population Growth</h3>
732
+ <p class="text-sm text-gray-600 mb-3">Demographic trends and projections for 2020-2030</p>
733
+ <div class="flex items-center justify-between text-xs text-gray-500">
734
+ <span>Last updated: 1 month ago</span>
735
+ <div class="flex items-center space-x-1">
736
+ <i class="fas fa-user-friends"></i>
737
+ <span>4</span>
738
+ </div>
739
+ </div>
740
+ </div>
741
+ </div>
742
+
743
+ <div class="project-card bg-white rounded-lg shadow-sm border border-gray-200 overflow-hidden transition duration-300 cursor-pointer">
744
+ <div class="h-32 bg-red-100 relative">
745
+ <div class="absolute inset-0 flex items-center justify-center">
746
+ <i class="fas fa-fire text-red-500 text-3xl"></i>
747
+ </div>
748
+ <div class="absolute top-2 right-2">
749
+ <button class="p-1 bg-white rounded-full shadow-sm text-gray-500 hover:text-red-500">
750
+ <i class="fas fa-ellipsis-h"></i>
751
+ </button>
752
+ </div>
753
+ </div>
754
+ <div class="p-4">
755
+ <h3 class="font-medium mb-1">Wildfire Risk Areas</h3>
756
+ <p class="text-sm text-gray-600 mb-3">Mapping high-risk zones and evacuation routes</p>
757
+ <div class="flex items-center justify-between text-xs text-gray-500">
758
+ <span>Last updated: 2 weeks ago</span>
759
+ <div class="flex items-center space-x-1">
760
+ <i class="fas fa-user-friends"></i>
761
+ <span>6</span>
762
+ </div>
763
+ </div>
764
+ </div>
765
+ </div>
766
+
767
+ <div class="project-card bg-white rounded-lg shadow-sm border border-gray-200 overflow-hidden transition duration-300 cursor-pointer">
768
+ <div class="h-32 bg-indigo-100 relative">
769
+ <div class="absolute inset-0 flex items-center justify-center">
770
+ <i class="fas fa-home text-indigo-500 text-3xl"></i>
771
+ </div>
772
+ <div class="absolute top-2 right-2">
773
+ <button class="p-1 bg-white rounded-full shadow-sm text-gray-500 hover:text-indigo-500">
774
+ <i class="fas fa-ellipsis-h"></i>
775
+ </button>
776
+ </div>
777
+ </div>
778
+ <div class="p-4">
779
+ <h3 class="font-medium mb-1">Housing Affordability</h3>
780
+ <p class="text-sm text-gray-600 mb-3">Price trends and affordable housing inventory</p>
781
+ <div class="flex items-center justify-between text-xs text-gray-500">
782
+ <span>Last updated: 5 days ago</span>
783
+ <div class="flex items-center space-x-1">
784
+ <i class="fas fa-user-friends"></i>
785
+ <span>3</span>
786
+ </div>
787
+ </div>
788
+ </div>
789
+ </div>
790
+
791
+ <!-- New Project Card -->
792
+ <div class="project-card bg-white rounded-lg shadow-sm border-2 border-dashed border-gray-300 flex flex-col items-center justify-center p-6 cursor-pointer hover:border-blue-500 transition duration-300">
793
+ <div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mb-3">
794
+ <i class="fas fa-plus text-blue-500 text-xl"></i>
795
+ </div>
796
+ <h3 class="font-medium text-gray-700">Create New Project</h3>
797
+ <p class="text-sm text-gray-500 mt-1 text-center">Start a new geospatial analysis project</p>
798
+ </div>
799
+ </div>
800
+ </div>
801
+ </div>
802
+ </div>
803
+
804
+ <script>
805
+ // Toggle analysis dashboard
806
+ function toggleDashboard() {
807
+ const dashboard = document.getElementById('analysis-dashboard');
808
+ dashboard.classList.toggle('hidden');
809
+ }
810
+
811
+ // Toggle projects page
812
+ function toggleProjects() {
813
+ const projects = document.getElementById('projects-page');
814
+ projects.classList.toggle('hidden');
815
+ }
816
+
817
+ // Simulate AI response (for demo purposes)
818
+ function sendMessage() {
819
+ const input = document.querySelector('.ai-sidebar textarea');
820
+ const message = input.value.trim();
821
+
822
+ if (message) {
823
+ const conversation = document.querySelector('.ai-conversation');
824
+
825
+ // Add user message
826
+ const userMsg = document.createElement('div');
827
+ userMsg.className = 'ai-message';
828
+ userMsg.innerHTML = `
829
+ <div class="flex items-start">
830
+ <div class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center mr-2">
831
+ <i class="fas fa-user text-gray-500"></i>
832
+ </div>
833
+ <div class="flex-1">
834
+ <div class="bg-gray-100 rounded-lg p-3">
835
+ <p class="text-sm">${message}</p>
836
+ </div>
837
+ </div>
838
+ </div>
839
+ `;
840
+ conversation.appendChild(userMsg);
841
+
842
+ // Clear input
843
+ input.value = '';
844
+
845
+ // Scroll to bottom
846
+ conversation.scrollTop = conversation.scrollHeight;
847
+
848
+ // Simulate AI response after delay
849
+ setTimeout(() => {
850
+ const aiMsg = document.createElement('div');
851
+ aiMsg.className = 'ai-message';
852
+ aiMsg.innerHTML = `
853
+ <div class="flex items-start mb-2">
854
+ <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center mr-2">
855
+ <i class="fas fa-robot text-blue-500"></i>
856
+ </div>
857
+ <div class="flex-1">
858
+ <div class="bg-blue-50 rounded-lg p-3">
859
+ <p class="text-sm">I've analyzed your request about "${message}". Here are some insights:</p>
860
+ <ul class="list-disc pl-5 mt-2 text-sm space-y-1">
861
+ <li>Pattern detected in the northwest quadrant</li>
862
+ <li>Correlation with transportation nodes</li>
863
+ <li>Historical trends show 15% increase</li>
864
+ </ul>
865
+ </div>
866
+ <div class="flex space-x-2 mt-2">
867
+ <button class="text-xs bg-blue-100 text-blue-600 px-2 py-1 rounded hover:bg-blue-200">Show Details</button>
868
+ <button class="text-xs bg-blue-100 text-blue-600 px-2 py-1 rounded hover:bg-blue-200">Export Data</button>
869
+ </div>
870
+ </div>
871
+ </div>
872
+ `;
873
+ conversation.appendChild(aiMsg);
874
+
875
+ // Scroll to bottom again
876
+ conversation.scrollTop = conversation.scrollHeight;
877
+ }, 1500);
878
+ }
879
+ }
880
+
881
+ // Add event listeners for demo
882
+ document.addEventListener('DOMContentLoaded', function() {
883
+ // Send message on Enter key (but not Shift+Enter)
884
+ document.querySelector('.ai-sidebar textarea').addEventListener('keydown', function(e) {
885
+ if (e.key === 'Enter' && !e.shiftKey) {
886
+ e.preventDefault();
887
+ sendMessage();
888
+ }
889
+ });
890
+
891
+ // Demo buttons to show different pages
892
+ document.querySelector('[title="Analysis"]').addEventListener('click', function(e) {
893
+ e.preventDefault();
894
+ toggleDashboard();
895
+ });
896
+
897
+ document.querySelector('[title="Projects"]').addEventListener('click', function(e) {
898
+ e.preventDefault();
899
+ toggleProjects();
900
+ });
901
+
902
+ // Project card click handlers
903
+ document.querySelectorAll('.project-card').forEach(card => {
904
+ card.addEventListener('click', function() {
905
+ // In a real app, this would open the project
906
+ alert('Opening project: ' + this.querySelector('h3').textContent);
907
+ });
908
+ });
909
+ });
910
+ </script>
911
+ <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=ppf38356/geoseek" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
912
+ </html>