diff --git a/frontend/src/@scss/global.scss b/frontend/src/@scss/global.scss index 3ac4fd71b..761efc1c0 100644 --- a/frontend/src/@scss/global.scss +++ b/frontend/src/@scss/global.scss @@ -20,6 +20,10 @@ td { } } +.cursor-pointer { + cursor: pointer; +} + .opacity-100 { opacity: 100% !important; } diff --git a/frontend/src/App/Header.tsx b/frontend/src/App/Header.tsx index 0d3159a6c..0786cd35d 100644 --- a/frontend/src/App/Header.tsx +++ b/frontend/src/App/Header.tsx @@ -29,7 +29,7 @@ import { useIsOffline } from "../@redux/hooks/site"; import logo from "../@static/logo64.png"; import { SystemApi } from "../apis"; import { ActionButton, SearchBar, SearchResult } from "../components"; -import { useBaseUrl } from "../utilites"; +import { useGotoHomepage } from "../utilites"; import "./header.scss"; async function SearchItem(text: string) { @@ -106,14 +106,19 @@ const Header: FunctionComponent = () => { SystemApi.status().finally(() => setReconnect(false)); }, []); - const baseUrl = useBaseUrl(); + const goHome = useGotoHomepage(); return (
- - brand - + brand