-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathmap.html
More file actions
521 lines (470 loc) · 26.3 KB
/
map.html
File metadata and controls
521 lines (470 loc) · 26.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/images/ConfMap-Logo.png" />
<link rel="apple-touch-icon" href="/images/ConfMap-Logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ConfMap App | Create MindMaps for YAML, JSON & XML</title>
<meta name="description" content="An interactive mind map tool to visualize and explore complex YAML, JSON, and XML configuration files. Understand relationships and structure instantly." />
<meta name="keywords" content="ConfMap, mind map, visualizer, YAML, JSON, XML, config, interactive, tool" />
<!-- Canonical URL to prevent duplicate content -->
<link rel="canonical" href="https://confql.com/map.html" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://confql.com/map.html" />
<meta property="og:title" content="ConfMap | Create MindMap for YAML, JSON & XML" />
<meta property="og:description" content="An interactive mind map tool to visualize and explore complex YAML, JSON, and XML configuration files." />
<meta property="og:image" content="https://confql.com/images/ConfMap-Logo.png" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://confql.com/map.html" />
<meta property="twitter:title" content="ConfMap | Visualize YAML, JSON & XML" />
<meta property="twitter:description" content="An interactive mind map tool to visualize and explore complex YAML, JSON, and XML configuration files." />
<meta property="twitter:image" content="https://confql.com/images/ConfMap-Logo.png" />
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-502YJ12E3P"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-502YJ12E3P');
</script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Cal+Sans&display=swap" rel="stylesheet">
<!-- Import CSS for Tailwind -->
<script type="module" src="/src/input.css"></script>
<style>
.confmap-brand {
font-family: 'Cal Sans', sans-serif;
font-weight: 500;
letter-spacing: 0.2px;
}
.confmap-brand:hover {
transform: scale(1.05);
transition: transform 0.2s ease;
}
/* Scrollable Controls Styles */
.controls-section {
position: relative;
padding: 1rem 1.5rem;
border-bottom: 1px solid #e5e7eb;
background: white;
}
.scrollbar-hide {
-ms-overflow-style: none;
scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
display: none;
}
/* Control items hover effects */
.flex-shrink-0:hover {
transform: translateY(-1px);
transition: transform 0.15s ease;
}
/* Mobile-first responsive adjustments */
@media (max-width: 768px) {
.controls-section {
padding: 0.75rem 1rem;
}
.gap-6 {
gap: 1rem;
}
/* Touch-friendly scrolling indicators */
.scroll-fade-left,
.scroll-fade-right {
display: block !important;
}
}
/* Smooth scroll behavior for control bar */
.overflow-x-auto {
scroll-padding: 1rem;
}
/* Search navigation buttons */
.btn-nav {
padding: 0.25rem;
background: #f3f4f6;
border: 1px solid #d1d5db;
border-radius: 0.375rem;
color: #6b7280;
transition: all 0.15s ease;
display: flex;
align-items: center;
justify-content: center;
}
.btn-nav:hover {
background: #e5e7eb;
color: #374151;
transform: translateY(-1px);
}
.btn-nav:disabled {
opacity: 0.5;
cursor: not-allowed;
transform: none;
}
/* Help Panel Styles */
.help-panel-content::-webkit-scrollbar {
width: 6px;
}
.help-panel-content::-webkit-scrollbar-track {
background: #f1f5f9;
border-radius: 3px;
}
.help-panel-content::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 3px;
}
.help-panel-content::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
/* Responsive help panel */
@media (max-width: 768px) {
#help-panel {
width: 100vw;
max-width: 100vw;
}
/* Stack buttons vertically on mobile */
.header-buttons {
flex-direction: column;
gap: 0.5rem;
}
.header-buttons a,
.header-buttons button {
width: 100%;
justify-content: center;
}
}
/* Help panel animations */
.help-panel-slide-in {
animation: slideInFromRight 0.3s ease-out;
}
@keyframes slideInFromRight {
from {
transform: translateX(100%);
}
to {
transform: translateX(0);
}
}
</style>
</head>
<body class="bg-white min-h-screen">
<div id="app" class="min-h-screen">
<!-- Header -->
<header class="border-b border-gray-200 py-6 px-6 bg-white">
<div class="flex items-center justify-between">
<div class="flex items-center gap-4">
<div class="text-left">
<h1 class="text-4xl font-bold text-gray-900 confmap-brand">Conf Map <span class="text-gray-500 font-bold text-blue-500">⊙</span> </h1>
<p class="text-gray-600 mt-1">Visualize your YAML, JSON, and XML files as an interactive Mind Map</p>
</div>
</div>
<div class="text-right">
<a href="/" class="text-gray-600 hover:text-gray-900 transition-colors duration-200 text-sm block mb-2">
← Back to HomePage
</a>
<!-- Made with Love and Action Buttons -->
<div class="flex flex-col items-end gap-2">
<div class="flex items-center gap-3 header-buttons">
<!-- GitHub Star Button -->
<a href="https://github.com/aksarav/confmap" target="_blank" rel="noopener noreferrer"
class="flex items-center gap-2 px-3 py-1.5 bg-gray-900 hover:bg-gray-800 text-white text-xs rounded-md transition-colors duration-200 group">
<svg class="w-4 h-4 group-hover:scale-110 transition-transform duration-200" fill="currentColor" viewBox="0 0 24 24">
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
</svg>
<span class="font-medium">⭐ Star on GitHub</span>
</a>
<!-- Help Button -->
<button id="help-button" class="flex items-center gap-2 px-3 py-1.5 bg-blue-500 hover:bg-blue-600 text-white text-xs rounded-md transition-colors duration-200" title="Help & Shortcuts">
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
<span class="font-medium">Help</span>
</button>
</div>
<p class="text-xs text-gray-500">
Developed with ❤️ From <strong>India</strong>
</p>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="w-full">
<!-- Scrollable Controls Section -->
<div class="controls-section">
<!-- Mobile scroll hint -->
<div class="md:hidden text-xs text-gray-400 mb-2 text-center">
← Swipe to see more controls →
</div>
<div class="relative">
<div class="flex items-center overflow-x-auto scrollbar-hide gap-6 pb-2" style="scroll-behavior: smooth; -webkit-overflow-scrolling: touch;">
<!-- Scroll gradient indicators -->
<div class="absolute left-0 top-0 bottom-0 w-8 bg-gradient-to-r from-white to-transparent pointer-events-none z-10 hidden scroll-fade-left"></div>
<div class="absolute right-0 top-0 bottom-0 w-8 bg-gradient-to-l from-white to-transparent pointer-events-none z-10 hidden scroll-fade-right"></div>
<!-- File Upload Control -->
<div class="flex items-center gap-2 flex-shrink-0">
<label for="file-upload" class="text-sm font-medium text-gray-700 whitespace-nowrap">
<span class="emoji-icon">📁</span> Upload
</label>
<input type="file" id="file-upload" accept=".yml,.yaml,.json,.xml" class="visually-hidden" />
<button id="choose-file-btn" class="btn-primary-compact">Choose file</button>
<span id="selected-file-name" class="text-sm text-gray-500 max-w-32 truncate">No file chosen</span>
</div>
<!-- Search Control -->
<div class="flex items-center gap-2 flex-shrink-0">
<input type="search" id="search-input" placeholder="Search..." class="search-input-compact w-32 md:w-40">
<button id="search-button" class="btn-primary-compact">
<span class="hidden md:inline">Search</span>
<span class="md:hidden">🔍</span>
</button>
<!-- Search Navigation Buttons -->
<div id="search-nav-buttons" class="hidden items-center gap-1">
<button id="search-prev-btn" class="btn-nav" title="Previous result (↑)">
<svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 15l7-7 7 7"></path>
</svg>
</button>
<button id="search-next-btn" class="btn-nav" title="Next result (↓)">
<svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path>
</svg>
</button>
</div>
</div>
<!-- Layout Control -->
<div class="flex items-center gap-2 flex-shrink-0">
<label class="text-sm font-medium text-gray-700 whitespace-nowrap hidden md:inline">
<span class="emoji-icon">🎨</span> Layout
</label>
<select id="layout-dropdown" class="dropdown-select">
<option value="LR">Horizontal</option>
<option value="TB">Vertical</option>
<option value="radial">Radial</option>
</select>
</div>
<!-- Export Control -->
<div class="flex items-center gap-2 flex-shrink-0">
<button id="download-png-btn" class="btn-primary-compact">
<span class="hidden md:inline">Export PNG ↓</span>
<span class="md:hidden">📸</span>
</button>
</div>
<!-- Expand/Collapse Control -->
<div class="flex items-center gap-2 flex-shrink-0">
<button id="expand-all-btn" class="btn-primary-compact">
<span class="emoji-icon">📂</span>
<span class="hidden md:inline">Expand All</span>
</button>
</div>
<!-- Fullscreen Control -->
<div class="flex items-center gap-2 flex-shrink-0">
<button id="fullscreen-btn" class="btn-fullscreen">
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"></path>
</svg>
<span class="fullscreen-text hidden md:inline">Fullscreen</span>
</button>
</div>
</div>
</div>
<!-- Mind Map Container -->
<div class="w-full">
<div id="mindmap-container" class="w-full min-h-[calc(100vh-200px)] bg-white grid-bg"></div>
</div>
</main>
<!-- Help Side Panel -->
<div id="help-panel" class="fixed top-0 right-0 h-full w-80 bg-white shadow-2xl border-l border-gray-200 transform translate-x-full transition-transform duration-300 ease-in-out z-50 hidden">
<div class="flex flex-col h-full">
<!-- Help Panel Header -->
<div class="flex items-center justify-between p-4 border-b border-gray-200 bg-gradient-to-r from-blue-50 to-indigo-50">
<div class="flex items-center gap-2">
<svg class="w-5 h-5 text-blue-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
<h2 class="text-lg font-semibold text-gray-800">Help & Shortcuts</h2>
</div>
<button id="help-close-btn" class="text-gray-500 hover:text-gray-700 p-1 rounded-full hover:bg-gray-100">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
</svg>
</button>
</div>
<!-- Scrollable Help Content -->
<div class="flex-1 overflow-y-auto p-4 space-y-6 help-panel-content">
<!-- Getting Started Section -->
<div class="space-y-3">
<h3 class="text-md font-semibold text-gray-800 flex items-center gap-2">
<span class="text-green-500">🚀</span> Getting Started
</h3>
<div class="space-y-2 text-sm text-gray-600">
<p><strong>1.</strong> Click "Choose file" to upload your YAML, JSON, or XML configuration file</p>
<p><strong>2.</strong> The file will be visualized as an interactive mind map</p>
<p><strong>3.</strong> Use the controls and shortcuts to explore your data</p>
</div>
</div>
<!-- Keyboard Shortcuts Section -->
<div class="space-y-3">
<h3 class="text-md font-semibold text-gray-800 flex items-center gap-2">
<span class="text-blue-500">⌨️</span> Keyboard Shortcuts
</h3>
<div class="space-y-3">
<div class="flex items-center justify-between p-2 bg-gray-50 rounded">
<span class="text-sm text-gray-700">TidyUp Mode</span>
<kbd class="px-2 py-1 bg-white border border-gray-300 rounded text-xs font-mono">Alt + T</kbd>
</div>
<div class="flex items-center justify-between p-2 bg-gray-50 rounded">
<span class="text-sm text-gray-700">Toggle Expand/Collapse</span>
<kbd class="px-2 py-1 bg-white border border-gray-300 rounded text-xs font-mono">Alt + E</kbd>
</div>
<div class="flex items-center justify-between p-2 bg-gray-50 rounded">
<span class="text-sm text-gray-700">Word Wrap Toggle</span>
<kbd class="px-2 py-1 bg-white border border-gray-300 rounded text-xs font-mono">Alt + W</kbd>
</div>
<div class="flex items-center justify-between p-2 bg-gray-50 rounded">
<span class="text-sm text-gray-700">Navigate Search Results</span>
<div class="flex gap-1">
<kbd class="px-2 py-1 bg-white border border-gray-300 rounded text-xs font-mono">↑</kbd>
<kbd class="px-2 py-1 bg-white border border-gray-300 rounded text-xs font-mono">↓</kbd>
</div>
</div>
<div class="flex items-center justify-between p-2 bg-gray-50 rounded">
<span class="text-sm text-gray-700">Copy Node Lineage</span>
<kbd class="px-2 py-1 bg-white border border-gray-300 rounded text-xs font-mono">Ctrl + C</kbd>
</div>
<div class="flex items-center justify-between p-2 bg-gray-50 rounded">
<span class="text-sm text-gray-700">Exit TidyUp Mode</span>
<kbd class="px-2 py-1 bg-white border border-gray-300 rounded text-xs font-mono">Escape</kbd>
</div>
</div>
</div>
<!-- Features Section -->
<div class="space-y-3">
<h3 class="text-md font-semibold text-gray-800 flex items-center gap-2">
<span class="text-purple-500">✨</span> Key Features
</h3>
<div class="space-y-3">
<div class="p-3 bg-blue-50 rounded-lg border-l-4 border-blue-400">
<h4 class="font-medium text-blue-800 text-sm">🔍 Smart Search</h4>
<p class="text-xs text-blue-700 mt-1">Search through your configuration keys and values. Use arrow keys to navigate multiple results.</p>
</div>
<div class="p-3 bg-green-50 rounded-lg border-l-4 border-green-400">
<h4 class="font-medium text-green-800 text-sm">🧹 TidyUp Mode</h4>
<p class="text-xs text-green-700 mt-1">Focus on specific nodes by showing only their lineage. Hover over a node and press Alt+T.</p>
</div>
<div class="p-3 bg-purple-50 rounded-lg border-l-4 border-purple-400">
<h4 class="font-medium text-purple-800 text-sm">📝 Word Wrapping</h4>
<p class="text-xs text-purple-700 mt-1">Toggle word wrapping for lengthy node text to improve readability.</p>
</div>
<div class="p-3 bg-orange-50 rounded-lg border-l-4 border-orange-400">
<h4 class="font-medium text-orange-800 text-sm">📸 Export</h4>
<p class="text-xs text-orange-700 mt-1">Export your mind map as a high-quality PNG image for documentation.</p>
</div>
<div class="p-3 bg-indigo-50 rounded-lg border-l-4 border-indigo-400">
<h4 class="font-medium text-indigo-800 text-sm">🎨 Multiple Layouts</h4>
<p class="text-xs text-indigo-700 mt-1">Choose between Horizontal, Vertical, and Radial layouts for different viewing preferences.</p>
</div>
</div>
</div>
<!-- Tips Section -->
<div class="space-y-3">
<h3 class="text-md font-semibold text-gray-800 flex items-center gap-2">
<span class="text-yellow-500">💡</span> Pro Tips
</h3>
<div class="space-y-2 text-sm text-gray-600">
<div class="flex items-start gap-2">
<span class="text-yellow-500 text-xs">•</span>
<p>Right-click on any node to access the context menu for quick actions</p>
</div>
<div class="flex items-start gap-2">
<span class="text-yellow-500 text-xs">•</span>
<p>Use the search feature to quickly locate specific configuration keys</p>
</div>
<div class="flex items-start gap-2">
<span class="text-yellow-500 text-xs">•</span>
<p>TidyUp mode is perfect for understanding complex nested structures</p>
</div>
<div class="flex items-start gap-2">
<span class="text-yellow-500 text-xs">•</span>
<p>Copy lineage feature helps document configuration paths</p>
</div>
<div class="flex items-start gap-2">
<span class="text-yellow-500 text-xs">•</span>
<p>Enable word wrapping when dealing with very long configuration keys</p>
</div>
</div>
</div>
<!-- Supported Formats -->
<div class="space-y-3">
<h3 class="text-md font-semibold text-gray-800 flex items-center gap-2">
<span class="text-teal-500">📄</span> Supported Formats
</h3>
<div class="grid grid-cols-2 gap-2">
<div class="p-2 bg-teal-50 rounded text-center">
<div class="text-teal-600 font-mono text-sm">.yaml</div>
</div>
<div class="p-2 bg-teal-50 rounded text-center">
<div class="text-teal-600 font-mono text-sm">.yml</div>
</div>
<div class="p-2 bg-teal-50 rounded text-center">
<div class="text-teal-600 font-mono text-sm">.json</div>
</div>
<div class="p-2 bg-teal-50 rounded text-center">
<div class="text-teal-600 font-mono text-sm">.xml</div>
</div>
<div class="p-2 bg-gray-100 rounded text-center">
<div class="text-gray-500 font-mono text-sm">More soon...</div>
</div>
</div>
</div>
<!-- Support & Community -->
<div class="space-y-3">
<h3 class="text-md font-semibold text-gray-800 flex items-center gap-2">
<span class="text-pink-500">💖</span> Support & Community
</h3>
<div class="p-4 bg-gradient-to-r from-pink-50 to-purple-50 rounded-lg border border-pink-200">
<div class="text-center space-y-3">
<div class="flex items-center justify-center gap-2">
<svg class="w-5 h-5 text-gray-800" fill="currentColor" viewBox="0 0 24 24">
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
</svg>
<span class="font-semibold text-gray-800">Love ConfMap?</span>
</div>
<p class="text-sm text-gray-600">
If this tool helped you visualize your configurations, please consider giving us a ⭐ on GitHub!
</p>
<a href="https://github.com/aksarav/confmap" target="_blank" rel="noopener noreferrer"
class="inline-flex items-center gap-2 px-4 py-2 bg-gray-900 hover:bg-gray-800 text-white text-sm rounded-md transition-colors duration-200 group">
<svg class="w-4 h-4 group-hover:scale-110 transition-transform duration-200" fill="currentColor" viewBox="0 0 24 24">
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
</svg>
<span class="font-medium">⭐ Star on GitHub</span>
</a>
<p class="text-xs text-gray-500 mt-2">
Your support helps us improve and add new features!
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Help Panel Overlay -->
<div id="help-overlay" class="fixed inset-0 bg-black bg-opacity-50 z-40 hidden"></div>
<!-- Context Menu -->
<div id="context-menu" class="context-menu hidden fixed bg-white rounded-lg shadow-xl border border-gray-200 py-2 min-w-[200px] z-50">
<ul class="space-y-1">
<li>
<button id="focus-node-button" class="w-full text-left px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 transition-colors duration-200">
🎯 Focus on this node
</button>
</li>
</ul>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>