Download components/features.js from BalC/axiomforge-cognitive-engine: direct link, hf CLI and curl.
- Browser
- Download file 3.57 kB
-
https://huggingface.co/spaces/BalC/axiomforge-cognitive-engine/resolve/main/components/features.js
- Command line
-
hf download hf://spaces/BalC/axiomforge-cognitive-engine/components/features.js
-
curl -L -o features.js https://huggingface.co/spaces/BalC/axiomforge-cognitive-engine/resolve/main/components/features.js
3.57 kB
| class CustomFeatures extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| :host { | |
| display: block; | |
| padding: 4rem 1rem; | |
| background-color: white; | |
| } | |
| .dark :host { | |
| background-color: #111827; | |
| } | |
| .container { | |
| max-width: 72rem; | |
| margin: 0 auto; | |
| } | |
| .header { | |
| text-align: center; | |
| margin-bottom: 4rem; | |
| } | |
| h2 { | |
| font-size: 2.25rem; | |
| font-weight: 800; | |
| margin-bottom: 1rem; | |
| } | |
| p { | |
| font-size: 1.125rem; | |
| color: #4b5563; | |
| max-width: 48rem; | |
| margin: 0 auto; | |
| } | |
| .dark p { | |
| color: #9ca3af; | |
| } | |
| .features { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
| gap: 2rem; | |
| } | |
| .feature { | |
| background-color: #f9fafb; | |
| border-radius: 0.5rem; | |
| padding: 2rem; | |
| transition: transform 0.2s, box-shadow 0.2s; | |
| } | |
| .dark .feature { | |
| background-color: #1f2937; | |
| } | |
| .feature:hover { | |
| transform: translateY(-4px); | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); | |
| } | |
| .dark .feature:hover { | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3); | |
| } | |
| .icon { | |
| width: 3rem; | |
| height: 3rem; | |
| border-radius: 0.75rem; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| margin-bottom: 1.5rem; | |
| } | |
| h3 { | |
| font-size: 1.25rem; | |
| font-weight: 600; | |
| margin-bottom: 1rem; | |
| } | |
| .feature p { | |
| font-size: 1rem; | |
| color: #4b5563; | |
| } | |
| .dark .feature p { | |
| color: #9ca3af; | |
| } | |
| </style> | |
| <div class="container"> | |
| <div class="header"> | |
| <h2>Operational Principles</h2> | |
| <p>The ASE's architecture is designed to maximize intellectual efficiency and strategic deployment</p> | |
| </div> | |
| <div class="features"> | |
| <div class="feature"> | |
| <div class="icon" style="background-color: #e0e7ff;"> | |
| <i data-feather="search" style="color: #4f46e5;"></i> | |
| </div> | |
| <h3>Pattern Perception</h3> | |
| <p>Identifies hidden organizing principles through statistical and semantic clustering of unstructured data.</p> | |
| </div> | |
| <div class="feature"> | |
| <div class="icon" style="background-color: #ede9fe;"> | |
| <i data-feather="layers" style="color: #8b5cf6;"></i> | |
| </div> | |
| <h3>Axiomatic Synthesis</h3> | |
| <p>Extracts the central unifying theory and clusters all supporting evidence into integrated proof branches.</p> | |
| </div> | |
| <div class="feature"> | |
| <div class="icon" style="background-color: #ecfdf5;"> | |
| <i data-feather="send" style="color: #10b981;"></i> | |
| </div> | |
| <h3>Strategic Deployment</h3> | |
| <p>Formats the resulting structure for maximum persuasive impact with vulnerability assessment.</p> | |
| </div> | |
| </div> | |
| </div> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-features', CustomFeatures); |