| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| .footer-link { | |
| transition: color 0.2s ease; | |
| } | |
| .footer-link:hover { | |
| color: #6366f1; | |
| } | |
| .social-icon { | |
| transition: all 0.3s ease; | |
| } | |
| .social-icon:hover { | |
| transform: translateY(-3px); | |
| } | |
| </style> | |
| <footer class="bg-gray-800 text-white py-12"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div class="md:col-span-2"> | |
| <div class="flex items-center mb-4"> | |
| <i data-feather="shield" class="text-indigo-400 mr-2"></i> | |
| <span class="text-xl font-bold">TrackMeNot</span> | |
| </div> | |
| <p class="text-gray-400 mb-4"> | |
| Protecting your digital privacy since 2023. TrackMeNot helps you browse freely without being tracked. | |
| </p> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="social-icon text-gray-400 hover:text-indigo-400"> | |
| <i data-feather="twitter"></i> | |
| </a> | |
| <a href="#" class="social-icon text-gray-400 hover:text-indigo-400"> | |
| <i data-feather="facebook"></i> | |
| </a> | |
| <a href="#" class="social-icon text-gray-400 hover:text-indigo-400"> | |
| <i data-feather="instagram"></i> | |
| </a> | |
| <a href="#" class="social-icon text-gray-400 hover:text-indigo-400"> | |
| <i data-feather="github"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Product</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#features" class="footer-link text-gray-400">Features</a></li> | |
| <li><a href="#how-it-works" class="footer-link text-gray-400">How It Works</a></li> | |
| <li><a href="#download" class="footer-link text-gray-400">Download</a></li> | |
| <li><a href="#" class="footer-link text-gray-400">Pricing</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Company</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="footer-link text-gray-400">About Us</a></li> | |
| <li><a href="#" class="footer-link text-gray-400">Privacy Policy</a></li> | |
| <li><a href="#" class="footer-link text-gray-400">Terms of Service</a></li> | |
| <li><a href="#" class="footer-link text-gray-400">Contact Us</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400"> | |
| <p>© 2023 TrackMeNot. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |