--- import Icon from '@components/icons/Icon.astro'; import Logo from '@components/logos/Logo.astro'; import type { LogoType, NavbarElement } from '@webtypes/Config'; import Header from '../Header.astro'; import ScreenOverlay from '../ScreenOverlay.astro'; import ScrollbarOverlayContainer from '../ScrollbarOverlayContainer.astro'; import Tag from '../Tag.astro'; interface Props { element: NavbarElement index: number } const { element, index, } = Astro.props; function isCurrentPage(url: string): boolean { return Astro.url.pathname === url; } ---
  • {element.path ? ( {element.text && element.text} {element.logo && } {element.dropdown && } ) : ( )}
  • {/* WHY IS ESLINT DOING THIS */}