nav changes
This commit is contained in:
		@@ -39,7 +39,7 @@ const currentPath = Astro.url.pathname;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        const isExternal = item.href?.startsWith("http");
 | 
			
		||||
        const isActive = item.href === currentPath;
 | 
			
		||||
        const isActive = !isExternal && item.href === currentPath;
 | 
			
		||||
        const nextItem = navItems[index + 1];
 | 
			
		||||
        const shouldShowThinBar = nextItem && !nextItem.blockSeparator;
 | 
			
		||||
 | 
			
		||||
@@ -59,9 +59,10 @@ const currentPath = Astro.url.pathname;
 | 
			
		||||
              </a>
 | 
			
		||||
            </li>
 | 
			
		||||
            {shouldShowThinBar && (
 | 
			
		||||
              <li class="text-neutral-400 dark:text-neutral-600 hidden sm:inline select-none" aria-hidden="true">
 | 
			
		||||
              <li class="text-neutral-400 dark:text-neutral-600 select-none" aria-hidden="true">
 | 
			
		||||
                |
 | 
			
		||||
              </li>
 | 
			
		||||
 | 
			
		||||
            )}
 | 
			
		||||
          </>
 | 
			
		||||
        );
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user