happyrwandan's picture
After connection, I need to be able to provide HuggingFace API and select an Ai model to troubleshoot the server, how should I do that?
67e3fbc verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
.footer {
background-color: #1e1b4b;
color: white;
}
.footer-link:hover {
color: #a5b4fc;
}
</style>
<footer class="footer py-8 px-6">
<div class="container mx-auto">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div>
<h3 class="text-lg font-semibold mb-4">Mystic Connector</h3>
<p class="text-gray-300">Magical server connections made simple.</p>
<div class="flex space-x-4 mt-4">
<a href="#" class="footer-link"><i data-feather="github"></i></a>
<a href="#" class="footer-link"><i data-feather="twitter"></i></a>
<a href="#" class="footer-link"><i data-feather="linkedin"></i></a>
</div>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Quick Links</h3>
<ul class="space-y-2">
<li><a href="#" class="footer-link">Documentation</a></li>
<li><a href="#" class="footer-link">API Reference</a></li>
<li><a href="#" class="footer-link">Examples</a></li>
<li><a href="#" class="footer-link">Community</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">Privacy Policy</a></li>
<li><a href="#" class="footer-link">Terms of Service</a></li>
<li><a href="#" class="footer-link">License</a></li>
</ul>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-400">
<p>© ${new Date().getFullYear()} Mystic Connector. All rights reserved.</p>
</div>
</div>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter);