|
326 | 326 | color: var(--dark-brown); |
327 | 327 | } |
328 | 328 |
|
329 | | - .apps-grid { |
330 | | - display: grid; |
331 | | - grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); |
332 | | - gap: 1rem; |
333 | | - margin: 2rem 0; |
334 | | - } |
335 | | - |
336 | | - .app-tag { |
337 | | - background: linear-gradient(135deg, #FFF5ED 0%, #FFFBF8 100%); |
338 | | - border: 3px solid var(--burnt-orange); |
339 | | - padding: 1rem; |
340 | | - cursor: pointer; |
341 | | - text-align: center; |
342 | | - font-weight: 700; |
343 | | - transition: all 0.3s; |
344 | | - transform: rotate(-2deg); |
345 | | - box-shadow: 4px 4px 0 rgba(0,0,0,0.15); |
346 | | - } |
347 | | - |
348 | | - .app-tag:hover { |
349 | | - transform: rotate(0deg) scale(1.08); |
350 | | - background: linear-gradient(135deg, var(--burnt-orange), #FF8C42); |
351 | | - color: var(--cream); |
352 | | - box-shadow: 6px 6px 0 rgba(0,0,0,0.2), 0 0 20px var(--mustard); |
353 | | - } |
354 | | - |
355 | | - .app-modal { |
356 | | - display: none; |
357 | | - position: fixed; |
358 | | - top: 0; |
359 | | - left: 0; |
360 | | - width: 100%; |
361 | | - height: 100%; |
362 | | - background: rgba(0,0,0,0.7); |
363 | | - z-index: 1000; |
364 | | - justify-content: center; |
365 | | - align-items: center; |
366 | | - } |
367 | | - |
368 | | - .app-modal.active { |
369 | | - display: flex; |
370 | | - } |
371 | | - |
372 | | - .app-modal-content { |
373 | | - background: var(--cream); |
374 | | - padding: 2rem; |
375 | | - border: 6px solid var(--burnt-orange); |
376 | | - max-width: 500px; |
377 | | - box-shadow: 12px 12px 0 rgba(0,0,0,0.3); |
378 | | - position: relative; |
379 | | - } |
380 | | - |
381 | | - .app-modal-content h3 { |
382 | | - color: var(--burnt-orange); |
383 | | - margin-bottom: 1rem; |
384 | | - font-size: 1.8rem; |
385 | | - } |
386 | | - |
387 | | - .app-modal-content p { |
388 | | - color: var(--dark-brown); |
389 | | - margin-bottom: 1rem; |
390 | | - line-height: 1.8; |
391 | | - } |
392 | | - |
393 | | - .close-modal { |
394 | | - position: absolute; |
395 | | - top: 1rem; |
396 | | - right: 1rem; |
397 | | - background: var(--burnt-orange); |
398 | | - color: var(--cream); |
399 | | - border: 2px solid var(--dark-brown); |
400 | | - padding: 0.5rem 1rem; |
401 | | - cursor: pointer; |
402 | | - font-weight: 700; |
403 | | - font-size: 1.2rem; |
404 | | - } |
405 | | - |
406 | | - .close-modal:hover { |
407 | | - background: var(--dark-brown); |
408 | | - color: var(--mustard); |
409 | | - } |
410 | | - |
411 | | - .app-modal { |
412 | | - display: none; |
413 | | - } |
414 | | - |
415 | | - .app-modal.active { |
416 | | - display: flex; |
417 | | - } |
418 | | - |
419 | 329 | .divider { |
420 | 330 | height: 3px; |
421 | 331 | background: repeating-linear-gradient(90deg, var(--burnt-orange), var(--burnt-orange) 10px, var(--mustard) 10px, var(--mustard) 20px); |
@@ -644,24 +554,8 @@ <h2>📚 Documentation</h2> |
644 | 554 |
|
645 | 555 | <div class="divider"></div> |
646 | 556 |
|
647 | | - <section id="apps"> |
648 | | - <h2>🔌 Supported Backend Apps (50+)</h2> |
649 | | - <p style="margin-bottom: 2rem;">Click any app to see details and integration info:</p> |
650 | | - <div class="apps-grid" id="appsGrid"></div> |
651 | | - </section> |
652 | | - |
653 | 557 | </main> |
654 | 558 |
|
655 | | -<div class="app-modal" id="appModal"> |
656 | | - <div class="app-modal-content" id="appModalContent"> |
657 | | - <button class="close-modal" onclick="closeAppModal()">✕</button> |
658 | | - <h3 id="appName"></h3> |
659 | | - <p><strong>Type:</strong> <span id="appType"></span></p> |
660 | | - <p><strong>Description:</strong> <span id="appDesc"></span></p> |
661 | | - <p><strong>Integration:</strong> <span id="appIntegration"></span></p> |
662 | | - </div> |
663 | | -</div> |
664 | | - |
665 | 559 | <footer> |
666 | 560 | <div class="footer-links"> |
667 | 561 | <a href="https://github.com/Stalin-143/BURP-AI" target="_blank">GitHub</a> |
@@ -728,38 +622,6 @@ <h3 id="appName"></h3> |
728 | 622 | { name: "MLflow", type: "ML Ops", desc: "Machine learning lifecycle", integration: "mlflow" }, |
729 | 623 | { name: "DVC", type: "ML Pipeline", desc: "Data version control", integration: "dvc" }, |
730 | 624 | ]; |
731 | | - |
732 | | -function initializeApps() { |
733 | | - const grid = document.getElementById('appsGrid'); |
734 | | - apps.forEach(app => { |
735 | | - const tag = document.createElement('div'); |
736 | | - tag.className = 'app-tag'; |
737 | | - tag.textContent = app.name; |
738 | | - tag.onclick = () => showAppModal(app); |
739 | | - grid.appendChild(tag); |
740 | | - }); |
741 | | -} |
742 | | - |
743 | | -function showAppModal(app) { |
744 | | - document.getElementById('appName').textContent = app.name; |
745 | | - document.getElementById('appType').textContent = app.type; |
746 | | - document.getElementById('appDesc').textContent = app.desc; |
747 | | - document.getElementById('appIntegration').textContent = app.integration; |
748 | | - document.getElementById('appModal').classList.add('active'); |
749 | | -} |
750 | | - |
751 | | -function closeAppModal() { |
752 | | - document.getElementById('appModal').classList.remove('active'); |
753 | | -} |
754 | | - |
755 | | -document.addEventListener('click', (e) => { |
756 | | - const modal = document.getElementById('appModal'); |
757 | | - if (e.target === modal) { |
758 | | - closeAppModal(); |
759 | | - } |
760 | | -}); |
761 | | - |
762 | | -document.addEventListener('DOMContentLoaded', initializeApps); |
763 | 625 | </script> |
764 | 626 |
|
765 | 627 | </body> |
|
0 commit comments