| 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); | |
| border-top: 1px solid rgba(255, 255, 255, 0.1); | |
| padding: 2rem 0; | |
| margin-top: 3rem; | |
| } | |
| .footer-container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 0 2rem; | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 2rem; | |
| } | |
| .footer-section h3 { | |
| color: white; | |
| font-size: 1.1rem; | |
| margin-bottom: 1rem; | |
| } | |
| .footer-links { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.5rem; | |
| } | |
| .footer-link { | |
| color: rgba(255, 255, 255, 0.6); | |
| text-decoration: none; | |
| transition: color 0.2s; | |
| } | |
| .footer-link:hover { | |
| color: white; | |
| } | |
| .social-links { | |
| display: flex; | |
| gap: 1rem; | |
| margin-top: 1rem; | |
| } | |
| .social-link { | |
| color: rgba(255, 255, 255, 0.6); | |
| transition: color 0.2s; | |
| } | |
| .social-link:hover { | |
| color: white; | |
| } | |
| .copyright { | |
| text-align: center; | |
| margin-top: 2rem; | |
| color: rgba(255, 255, 255, 0.4); | |
| font-size: 0.9rem; | |
| } | |
| @media (max-width: 768px) { | |
| .footer-container { | |
| grid-template-columns: 1fr; | |
| padding: 0 1rem; | |
| } | |
| } | |
| </style> | |
| <footer> | |
| <div class="footer-container"> | |
| <div class="footer-section"> | |
| <h3>>_teleprompter</h3> | |
| <p style="color: rgba(255, 255, 255, 0.6); line-height: 1.5;"> | |
| Software profesional de teleprompter para presentadores, emisoras y creadores de contenido. | |
| </p> | |
| <div class="social-links"> | |
| <a href="#" class="social-link"><i data-feather="twitter"></i></a> | |
| <a href="#" class="social-link"><i data-feather="facebook"></i></a> | |
| <a href="#" class="social-link"><i data-feather="instagram"></i></a> | |
| <a href="#" class="social-link"><i data-feather="linkedin"></i></a> | |
| </div> | |
| </div> | |
| <div class="footer-section"> | |
| <h3>Enlaces Rápidos</h3> | |
| <div class="footer-links"> | |
| <a href="/" class="footer-link">Inicio</a> | |
| <a href="/features" class="footer-link">Características</a> | |
| <a href="/pricing" class="footer-link">Precios</a> | |
| <a href="/templates" class="footer-link">Plantillas</a> | |
| </div> | |
| </div> | |
| <div class="footer-section"> | |
| <h3>Recursos</h3> | |
| <div class="footer-links"> | |
| <a href="/blog" class="footer-link">Blog</a> | |
| <a href="/tutorials" class="footer-link">Tutoriales</a> | |
| <a href="/support" class="footer-link">Soporte</a> | |
| <a href="/faq" class="footer-link">FAQ</a> | |
| </div> | |
| </div> | |
| <div class="footer-section"> | |
| <h3>Legal</h3> | |
| <div class="footer-links"> | |
| <a href="/privacy" class="footer-link">Política de Privacidad</a> | |
| <a href="/terms" class="footer-link">Términos de Servicio</a> | |
| <a href="/cookies" class="footer-link">Política de Cookies</a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="copyright"> | |
| © ${new Date().getFullYear()} >_teleprompter. Todos los derechos reservados. | |
| </div> | |
| </footer> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |