diff --git a/public/architecture.html b/public/architecture.html index 4ab1525b..d9dd31df 100644 --- a/public/architecture.html +++ b/public/architecture.html @@ -331,23 +331,32 @@
Click any service node in the diagram (colored circles) or the central "T" to learn more about how Tractatus enforces AI safety.
+${service.description}
@@ -339,40 +325,6 @@ class InteractiveDiagram { const color = promiseText.getAttribute('data-color'); promiseText.style.color = color; } - - // Add close button event listener (CSP-compliant) - const closeBtn = panel.querySelector('#close-panel-btn'); - if (closeBtn) { - closeBtn.addEventListener('click', () => this.closePanel()); - } - - panel.style.opacity = '0'; - panel.style.transform = 'translateY(20px)'; - panel.style.transition = 'opacity 0.3s ease, transform 0.3s ease'; - - setTimeout(() => { - panel.style.opacity = '1'; - panel.style.transform = 'translateY(0)'; - }, 10); - } - - closePanel() { - const panel = document.getElementById('service-detail-panel'); - if (panel) { - panel.style.opacity = '0'; - panel.style.transform = 'translateY(20px)'; - - setTimeout(() => { - panel.remove(); - }, 300); - } - - if (this.svg) { - this.svg.querySelectorAll('.service-node').forEach(n => n.classList.remove('active')); - this.svg.querySelectorAll('.connection-line').forEach(l => l.classList.remove('active')); - } - - this.activeService = null; } addKeyboardNavigation(nodes) {