drmoustafaamin's picture
how and where can the feedback forms be saved when the person press on submit feedback
c481147 verified
Raw History Blame Contribute Delete
1.34 kB
class CustomHeader extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
header {
background-color: #ffffff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.logo {
display: flex;
align-items: center;
gap: 8px;
color: #3b82f6;
font-weight: 600;
}
.logo-icon {
width: 24px;
height: 24px;
}
</style>
<header class="py-4 px-6">
<div class="container mx-auto flex justify-between items-center">
<a href="/" class="logo text-xl">
<i data-feather="activity" class="logo-icon"></i>
<span>ENT Evaluation</span>
</a>
<a href="/admin.html" class="text-sm text-gray-600 hover:text-primary">
<i data-feather="lock" class="w-4 h-4 mr-1"></i> Admin
</a>
</div>
</header>
`;
}
}
customElements.define('custom-header', CustomHeader);