| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| footer a:hover { | |
| color: #a78bfa; | |
| } | |
| </style> | |
| <footer class="bg-gray-800 border-t border-gray-700 py-12 mt-12"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">ByteBrew</h3> | |
| <p class="text-gray-400 mb-4">The ultimate playground for running and experimenting with local language models.</p> | |
| <div class="flex gap-4"> | |
| <a href="#" class="text-gray-400 hover:text-purple-400 transition-colors"> | |
| <i data-feather="github" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-purple-400 transition-colors"> | |
| <i data-feather="twitter" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-purple-400 transition-colors"> | |
| <i data-feather="discord" class="w-5 h-5"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Resources</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 transition-colors">Documentation</a></li> | |
| <li><a href="#" class="text-gray-400 transition-colors">Model Zoo</a></li> | |
| <li><a href="#" class="text-gray-400 transition-colors">Benchmarks</a></li> | |
| <li><a href="#" class="text-gray-400 transition-colors">Hardware Guide</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Community</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 transition-colors">Forums</a></li> | |
| <li><a href="#" class="text-gray-400 transition-colors">Contribute</a></li> | |
| <li><a href="#" class="text-gray-400 transition-colors">Roadmap</a></li> | |
| <li><a href="#" class="text-gray-400 transition-colors">Blog</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-500 text-sm"> | |
| <p>© 2023 ByteBrew. All rights reserved. Running AI locally since yesterday.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |