| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- import { _Link } from "react-router";
- import { Input, Layout, Space } from "antd";
- import img_banner from "../../assets/studio/images/wikipali_banner.svg";
- import UiLangSelect from "../general/UiLangSelect";
- import SignInAvatar from "../auth/SignInAvatar";
- import ToLibrary from "../auth/ToLibrary";
- import ThemeSelect from "../general/ThemeSelect";
- import NotificationIcon from "../notification/NotificationIcon";
- import SoftwareEdition from "../auth/SoftwareEdition";
- const { Search } = Input;
- const { Header } = Layout;
- const onSearch = (value: string) => console.log(value);
- const HeadBarWidget = () => {
- return (
- <Header
- className="header"
- style={{
- lineHeight: "44px",
- height: 44,
- paddingLeft: 10,
- paddingRight: 10,
- }}
- >
- <div
- style={{
- display: "flex",
- width: "100%",
- height: "100%",
- justifyContent: "space-between",
- }}
- >
- <div style={{ display: "flex" }}>
- <img alt="code" style={{ height: 36 }} src={img_banner} />
- <SoftwareEdition style={{ color: "white" }} />
- </div>
- <div style={{ width: 500, lineHeight: 44 }}>
- <Search
- disabled
- placeholder="input search text"
- onSearch={onSearch}
- style={{ width: "100%" }}
- />
- </div>
- <div>
- <Space>
- <ToLibrary />
- <SignInAvatar />
- <NotificationIcon />
- <UiLangSelect />
- <ThemeSelect />
- </Space>
- </div>
- </div>
- </Header>
- );
- };
- export default HeadBarWidget;
|