| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| footer { | |
| background: linear-gradient(to right, #111827, #1f2937); | |
| } | |
| .social-icon { | |
| transition: all 0.3s ease; | |
| } | |
| .social-icon:hover { | |
| transform: translateY(-3px); | |
| } | |
| .footer-link:hover { | |
| color: white; | |
| } | |
| </style> | |
| <footer class="border-t border-gray-800"> | |
| <div class="container mx-auto px-4 py-12"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div class="md:col-span-2"> | |
| <h3 class="text-xl font-bold mb-4 bg-clip-text text-transparent bg-gradient-to-r from-primary to-secondary"> | |
| CrimsonFuchsia NoirScape | |
| </h3> | |
| <p class="text-gray-400 mb-4"> | |
| A beautiful dark-themed UI with red and fuchsia accents, designed for modern web experiences. | |
| </p> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="social-icon w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center text-gray-300 hover:bg-gray-700"> | |
| <i data-feather="twitter"></i> | |
| </a> | |
| <a href="#" class="social-icon w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center text-gray-300 hover:bg-gray-700"> | |
| <i data-feather="github"></i> | |
| </a> | |
| <a href="#" class="social-icon w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center text-gray-300 hover:bg-gray-700"> | |
| <i data-feather="linkedin"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Resources</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="footer-link text-gray-400 hover:text-white transition">Documentation</a></li> | |
| <li><a href="#" class="footer-link text-gray-400 hover:text-white transition">Tutorials</a></li> | |
| <li><a href="#" class="footer-link text-gray-400 hover:text-white transition">API Reference</a></li> | |
| <li><a href="#" class="footer-link text-gray-400 hover:text-white transition">Community</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Company</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="footer-link text-gray-400 hover:text-white transition">About Us</a></li> | |
| <li><a href="#" class="footer-link text-gray-400 hover:text-white transition">Careers</a></li> | |
| <li><a href="#" class="footer-link text-gray-400 hover:text-white transition">Privacy Policy</a></li> | |
| <li><a href="#" class="footer-link text-gray-400 hover:text-white transition">Contact</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400"> | |
| <p>© ${new Date().getFullYear()} CrimsonFuchsia NoirScape. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |