| class CustomFooter extends HTMLElement { |
| connectedCallback() { |
| this.attachShadow({ mode: 'open' }); |
| this.shadowRoot.innerHTML = ` |
| <style> |
| footer { |
| background: rgba(15, 23, 42, 0.8); |
| backdrop-filter: blur(20px); |
| border-top: 1px solid rgba(255, 255, 255, 0.1); |
| color: white; |
| padding: 2rem; |
| text-align: center; |
| margin-top: auto; |
| } |
| .footer-content { |
| display: flex; |
| flex-direction: column; |
| gap: 1rem; |
| align-items: center; |
| } |
| .social-links { |
| display: flex; |
| gap: 1rem; |
| } |
| .social-links a { |
| color: white; |
| padding: 0.5rem; |
| border-radius: 8px; |
| transition: all 0.3s ease; |
| } |
| .social-links a:hover { |
| background: rgba(0, 255, 255, 0.1); |
| transform: translateY(-2px); |
| } |
| .made-with { |
| display: flex; |
| align-items: center; |
| gap: 0.5rem; |
| font-size: 0.875rem; |
| opacity: 0.8; |
| } |
| </style> |
| <footer> |
| <div class="footer-content"> |
| <div class="social-links"> |
| <a href="#" aria-label="GitHub"><i data-feather="github"></i></a> |
| <a href="#" aria-label="Twitter"><i data-feather="twitter"></i></a> |
| <a href="#" aria-label="LinkedIn"><i data-feather="linkedin"></i></a> |
| <a href="#" aria-label="Instagram"><i data-feather="instagram"></i></a> |
| </div> |
| <p class="made-with"> |
| <span>Made with</span> |
| <i data-feather="heart" class="text-red-400"></i> |
| <span>using Liquid Glass technology</span> |
| </p> |
| <p>© 2024 DataViz Liquid Glass Studio. All rights reserved.</p> |
| </div> |
| </footer> |
| `; |
| } |
| } |
| customElements.define('custom-footer', CustomFooter); |