--- import Logo from "@/components/Logo.astro"; import ThemeSwitcher from "@/components/ThemeSwitcher.astro"; import config from "@/config/config.json"; import menu from "@/config/menu.json"; import { IoSearch } from "react-icons/io5"; export interface ChildNavigationLink { name: string; url: string; } export interface NavigationLink { name: string; url: string; hasChildren?: boolean; children?: ChildNavigationLink[]; } const { main }: { main: NavigationLink[] } = menu; const { navigation_button, settings } = config; const { pathname } = Astro.url; ---