Minor fix

This commit is contained in:
Anil Matcha 2026-03-24 02:53:00 +05:30
parent fc49614a87
commit 7ba63548d7

View file

@ -27,7 +27,7 @@ export function Header(navigate) {
const menu = document.createElement('nav');
menu.className = 'hidden lg:flex items-center gap-6 text-[13px] font-bold text-secondary';
const items = ['Explore', 'Image', 'Video', 'Lip Sync', 'Edit', 'Character', 'Contests', 'Vibe Motion', 'Cinema Studio', 'AI Influencer', 'Apps', 'Assist', 'Community'];
const items = ['Image', 'Video', 'Lip Sync', 'Cinema Studio'];
items.forEach(item => {
const link = document.createElement('a');
@ -41,10 +41,6 @@ export function Header(navigate) {
link.appendChild(dot);
}
if (item === 'Contests') {
link.innerHTML += ' <span class="bg-primary/10 text-primary text-[8px] px-1.5 py-0.5 rounded-full ml-1 border border-primary/20">New</span>';
}
link.onclick = () => {
// Remove active state from all
Array.from(menu.children).forEach(child => child.classList.remove('text-white'));