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 CustomNavbar extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| .navbar { | |
| background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%); | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); | |
| } | |
| .nav-link:hover { | |
| background-color: rgba(255, 255, 255, 0.1); | |
| } | |
| </style> | |
| <nav class="navbar text-white py-4 px-6"> | |
| <div class="container mx-auto flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <i data-feather="zap" class="text-yellow-300"></i> | |
| <span class="text-xl font-bold">Mystic Connector</span> | |
| </div> | |
| <div class="hidden md:flex space-x-1"> | |
| <a href="#" class="nav-link px-4 py-2 rounded-lg transition">Home</a> | |
| <a href="#" class="nav-link px-4 py-2 rounded-lg transition">Documentation</a> | |
| <a href="#" class="nav-link px-4 py-2 rounded-lg transition">Settings</a> | |
| <a href="#" class="nav-link px-4 py-2 rounded-lg transition">About</a> | |
| </div> | |
| <button class="md:hidden"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| </div> | |
| </nav> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-navbar', CustomNavbar); |