Spaces:
Running
Running
| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| .footer-link:hover { | |
| color: #5865F2; | |
| } | |
| </style> | |
| <footer class="bg-gray-800 border-t border-gray-700 mt-12"> | |
| <div class="container mx-auto px-4 py-8"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <div class="flex items-center gap-2 mb-4"> | |
| <div class="w-8 h-8 bg-primary-500 rounded-lg flex items-center justify-center"> | |
| <i data-feather="code" class="text-white"></i> | |
| </div> | |
| <span class="text-xl font-bold">Script Haven</span> | |
| </div> | |
| <p class="text-gray-400 text-sm">The best place to share and discover Roblox scripts with the community.</p> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Navigation</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="index.html" class="footer-link text-gray-400 hover:text-primary-500 transition-colors">Home</a></li> | |
| <li><a href="#" class="footer-link text-gray-400 hover:text-primary-500 transition-colors">Categories</a></li> | |
| <li><a href="#" class="footer-link text-gray-400 hover:text-primary-500 transition-colors">Top Scripts</a></li> | |
| <li><a href="submit.html" class="footer-link text-gray-400 hover:text-primary-500 transition-colors">Submit Script</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Legal</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="footer-link text-gray-400 hover:text-primary-500 transition-colors">Terms of Service</a></li> | |
| <li><a href="#" class="footer-link text-gray-400 hover:text-primary-500 transition-colors">Privacy Policy</a></li> | |
| <li><a href="#" class="footer-link text-gray-400 hover:text-primary-500 transition-colors">DMCA</a></li> | |
| <li><a href="#" class="footer-link text-gray-400 hover:text-primary-500 transition-colors">Contact</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Connect</h3> | |
| <div class="flex gap-4 mb-4"> | |
| <a href="#" class="text-gray-400 hover:text-primary-500 transition-colors"> | |
| <i data-feather="discord" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-primary-500 transition-colors"> | |
| <i data-feather="twitter" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-primary-500 transition-colors"> | |
| <i data-feather="github" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-primary-500 transition-colors"> | |
| <i data-feather="youtube" class="w-5 h-5"></i> | |
| </a> | |
| </div> | |
| <p class="text-gray-500 text-sm">© 2023 Script Haven. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |