tm409281's picture
make it to where the app remembers the uploaded file name and any download has a modifier of that added at end. Also add noise & masking reduction for vocal processing to the speech enhancement.
ff37766 verified
class CustomNavbar extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
nav {
background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(50, 15, 80, 0.9) 100%);
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
backdrop-filter: blur(10px);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.logo {
color: white;
font-weight: bold;
font-size: 1.25rem;
display: flex;
align-items: center;
}
.logo-icon {
margin-right: 0.5rem;
color: #9f7aea;
}
ul {
display: flex;
gap: 1.5rem;
list-style: none;
margin: 0;
padding: 0;
}
a {
color: white;
text-decoration: none;
transition: color 0.2s;
display: flex;
align-items: center;
}
a:hover {
color: #d6bcfa;
}
.nav-icon {
margin-right: 0.5rem;
width: 1rem;
height: 1rem;
}
@media (max-width: 768px) {
nav {
flex-direction: column;
padding: 1rem;
}
ul {
margin-top: 1rem;
flex-wrap: wrap;
justify-content: center;
}
}
</style>
<nav>
<div class="logo">
<i data-feather="activity" class="logo-icon"></i>
<span>VoiceCraft AI</span>
</div>
<ul>
<li><a href="/"><i data-feather="home" class="nav-icon"></i> Home</a></li>
<li><a href="#"><i data-feather="settings" class="nav-icon"></i> Settings</a></li>
<li><a href="#"><i data-feather="help-circle" class="nav-icon"></i> Help</a></li>
<li><a href="#"><i data-feather="user" class="nav-icon"></i> Account</a></li>
</ul>
</nav>
`;
}
}
customElements.define('custom-navbar', CustomNavbar);