--- import { alias } from "@blitzkit/core"; import { GearIcon } from "@radix-ui/react-icons"; import { api } from "../api/dynamic"; import { getLocaleOptions } from "../core/i18n/getLocaleOptions"; import { tools, type Tool } from "../config/tools"; import type { LocaleAcceptorProps } from "../hooks/useLocale"; import { Logo } from "../icons/Logo"; import { LinkI18nWrapper } from "./LinkI18nWrapper"; import { SettingsDialog } from "./SettingsDialog"; import { Text } from "./Text"; // TODO: combine all navbar after adding NavbarCourseLandscape export type Props = LocaleAcceptorProps & { tool: Tool; }; const { locale } = Astro.props; const strings = await api.strings(locale); const localeOptions = await getLocaleOptions(); export const filtered = Object.values(tools).filter( (tool) => !tool.href && !tool.hide_in_navbar && !tool.disabled, ); ---