| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| footer { | |
| background-color: #1e293b; | |
| color: white; | |
| } | |
| .footer-container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 3rem 2rem; | |
| } | |
| .footer-links a:hover { | |
| color: #93c5fd; | |
| } | |
| .social-icons a:hover { | |
| transform: translateY(-2px); | |
| } | |
| </style> | |
| <footer> | |
| <div class="footer-container grid md:grid-cols-3 gap-8"> | |
| <div> | |
| <div class="flex items-center mb-4"> | |
| <i data-feather="zap" class="w-6 h-6 text-blue-400 mr-2"></i> | |
| <span class="text-xl font-bold">AutoStream</span> | |
| </div> | |
| <p class="text-gray-400">Your 24/7 automated sales machine</p> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Quick Links</h3> | |
| <div class="footer-links space-y-2"> | |
| <a href="#" class="block text-gray-400">Documentation</a> | |
| <a href="#" class="block text-gray-400">Tutorial Videos</a> | |
| <a href="#" class="block text-gray-400">Community</a> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Connect</h3> | |
| <div class="social-icons flex space-x-4"> | |
| <a href="#" class="text-gray-400"><i data-feather="twitter"></i></a> | |
| <a href="#" class="text-gray-400"><i data-feather="youtube"></i></a> | |
| <a href="#" class="text-gray-400"><i data-feather="github"></i></a> | |
| <a href="#" class="text-gray-400"><i data-feather="linkedin"></i></a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-700 py-4 text-center text-gray-400"> | |
| <p>© ${new Date().getFullYear()} AutoStream Sales Machine. All rights reserved.</p> | |
| </div> | |
| </footer> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |