diff --git a/src/components/header/header.jsx b/src/components/header/header.jsx index a9f8dad..ff2b51a 100644 --- a/src/components/header/header.jsx +++ b/src/components/header/header.jsx @@ -2,10 +2,23 @@ import React from "react"; import { Header } from "carbon-components-react"; import styles from "./header.module.scss"; import { inventoryHeaderText } from "../../../constants"; +import Home24 from "@carbon/icons-react/lib/home/24"; +import { HeaderGlobalAction } from "carbon-components-react"; const InventoryHeader = () => { + const redirectToHome = () => { + window.location.href = "/bahmni/home"; + }; + return (
+ + +
{inventoryHeaderText}
); diff --git a/src/components/header/header.module.scss b/src/components/header/header.module.scss index 850540d..74bd357 100644 --- a/src/components/header/header.module.scss +++ b/src/components/header/header.module.scss @@ -1,3 +1,7 @@ +.headerGlobalBarButton:hover { + background-color: #004144; +} + .header { background-color: #005d5d !important; }