diff --git a/services/ui-src/src/assets/logos/logo_mdct_hcbs.png b/services/ui-src/src/assets/logos/logo_mdct_hcbs.png new file mode 100644 index 00000000..6e6e4453 Binary files /dev/null and b/services/ui-src/src/assets/logos/logo_mdct_hcbs.png differ diff --git a/services/ui-src/src/assets/logos/logo_mdct_mfp.png b/services/ui-src/src/assets/logos/logo_mdct_mfp.png deleted file mode 100644 index 74e6101d..00000000 Binary files a/services/ui-src/src/assets/logos/logo_mdct_mfp.png and /dev/null differ diff --git a/services/ui-src/src/components/app/App.tsx b/services/ui-src/src/components/app/App.tsx index f31d55d1..8ddbcbb5 100644 --- a/services/ui-src/src/components/app/App.tsx +++ b/services/ui-src/src/components/app/App.tsx @@ -1,12 +1,19 @@ -import { useStore } from "utils"; +import { useContext } from "react"; import { Routes, Route } from "react-router-dom"; -import { LoginCognito, LoginIDM, PostLogoutRedirect, Footer } from "components"; -import { makeMediaQueryClasses } from "utils/other/useBreakpoint"; import { Container, Divider, Flex, Heading, Stack } from "@chakra-ui/react"; +import { + Header, + LoginCognito, + LoginIDM, + PostLogoutRedirect, + Footer, +} from "components"; +import { makeMediaQueryClasses, UserContext, useStore } from "utils"; export const App = () => { const mqClasses = makeMediaQueryClasses(); - // const context = useContext(UserContext); + const context = useContext(UserContext); + const { logout } = context; const { user, showLocalLogins } = useStore(); // const { pathname } = useLocation(); @@ -26,6 +33,7 @@ export const App = () => { <> {user && ( +