| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| footer { | |
| background: rgba(17, 24, 39, 0.8); | |
| backdrop-filter: blur(10px); | |
| color: white; | |
| padding: 2rem; | |
| text-align: center; | |
| border-top: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| .footer-content { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| .social-links { | |
| display: flex; | |
| gap: 1.5rem; | |
| margin-bottom: 1.5rem; | |
| } | |
| .social-links a { | |
| color: rgba(255, 255, 255, 0.7); | |
| transition: color 0.2s; | |
| } | |
| .social-links a:hover { | |
| color: #3a86ff; | |
| } | |
| p { | |
| margin: 0; | |
| color: rgba(255, 255, 255, 0.6); | |
| font-size: 0.9rem; | |
| } | |
| </style> | |
| <footer> | |
| <div class="footer-content"> | |
| <div class="social-links"> | |
| <a href="https://t.me/XioSoft" target="_blank" aria-label="Telegram"> | |
| <i data-feather="send"></i> | |
| </a> | |
| <a href="mailto:sudosudo@i2pmail.org" aria-label="Email"> | |
| <i data-feather="mail"></i> | |
| </a> | |
| <a href="https://github.com" target="_blank" aria-label="GitHub"> | |
| <i data-feather="github"></i> | |
| </a> | |
| </div> | |
| <p>© ${new Date().getFullYear()} Python Security Wizard. All digital rights reserved.</p> | |
| <p>Secured with ❤️ and cryptography</p> | |
| </div> | |
| </footer> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |