| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| footer { | |
| background: rgba(15, 23, 42, 0.8); | |
| backdrop-filter: blur(10px); | |
| color: #94a3b8; | |
| padding: 2rem; | |
| text-align: center; | |
| margin-top: 3rem; | |
| border-top: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| .footer-content { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1rem; | |
| } | |
| .footer-links { | |
| display: flex; | |
| justify-content: center; | |
| gap: 1.5rem; | |
| flex-wrap: wrap; | |
| } | |
| .footer-links a { | |
| color: #94a3b8; | |
| text-decoration: none; | |
| transition: color 0.2s; | |
| } | |
| .footer-links a:hover { | |
| color: #818cf8; | |
| } | |
| .copyright { | |
| font-size: 0.875rem; | |
| } | |
| </style> | |
| <footer> | |
| <div class="footer-content"> | |
| <div class="footer-links"> | |
| <a href="/privacy.html">Privacy Policy</a> | |
| <a href="/terms.html">Terms of Service</a> | |
| <a href="https://github.com/yourusername" target="_blank">GitHub</a> | |
| <a href="mailto:[email protected]">Contact</a> | |
| </div> | |
| <div class="copyright"> | |
| © ${new Date().getFullYear()} EvE 2 D Syre. All rights reserved. | |
| </div> | |
| </div> | |
| </footer> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |