import { Link } from "react-router"; import { Layout, Space } from "antd"; import { FormattedMessage } from "react-intl"; import type { MenuProps } from "antd"; import { Menu } from "antd"; import img_banner from "../../assets/library/images/wikipali_logo_library.svg"; import UiLangSelect from "../general/UiLangSelect"; import SignInAvatar from "../auth/SignInAvatar"; import ToStudio from "../auth/ToStudio"; import ThemeSelect from "../general/ThemeSelect"; import SearchButton from "../general/SearchButton"; import { dashboardBasePath } from "../../utils"; import NotificationIcon from "../notification/NotificationIcon"; const { Header } = Layout; const onClick: MenuProps["onClick"] = (e) => { console.log("click ", e); }; export const mainMenuItems: MenuProps["items"] = [ { label: ( ), key: "home", }, { label: ( ), key: "community", }, { label: ( ), key: "palicanon", }, { label: ( ), key: "course", }, { label: ( ), key: "dict", }, { label: ( ), key: "anthology", }, { label: ( ), key: "help", }, { label: ( ), key: "palihandbook", }, { label: ( ), key: "calendar", }, { label: ( ), key: "convertor", }, { label: ( ), key: "statistics", }, { label: Discussion(alpha), key: "discussion", }, ]; type IWidgetHeadBar = { selectedKeys?: string; }; const HeadBarWidget = ({ selectedKeys = "" }: IWidgetHeadBar) => { //Library head bar return (
code
下载
); }; export default HeadBarWidget;