diff --git a/src/common/assets/MakersDarkLogo.tsx b/src/common/assets/MakersDarkLogo.tsx new file mode 100644 index 00000000..d824e119 --- /dev/null +++ b/src/common/assets/MakersDarkLogo.tsx @@ -0,0 +1,21 @@ +const MakersDarkLogo = () => { + return ( + + + + + + + + + + + ); +}; + +export default MakersDarkLogo; diff --git a/src/common/components/Layout/components/Header/index.tsx b/src/common/components/Layout/components/Header/index.tsx index 2e63c12a..5f240162 100644 --- a/src/common/components/Layout/components/Header/index.tsx +++ b/src/common/components/Layout/components/Header/index.tsx @@ -2,9 +2,11 @@ import { reset, track } from '@amplitude/analytics-browser'; import { useContext } from 'react'; import { useLocation, useNavigate } from 'react-router-dom'; +import MakersDarkLogo from '@assets/MakersDarkLogo'; import MakersLogo from '@assets/MakersLogo'; import NowsoptLogo from '@assets/NowsoptLogo'; import { RecruitingInfoContext } from '@store/recruitingInfoContext'; +import { ThemeContext } from '@store/themeContext'; import { MENU_ITEMS, MENU_ITEMS_MAKERS } from './contants'; import MenuItem from './MenuItem'; @@ -18,6 +20,7 @@ const Header = () => { const { recruitingInfo: { name, isMakers }, } = useContext(RecruitingInfoContext); + const { isLight } = useContext(ThemeContext); const menuItems = isMakers ? MENU_ITEMS_MAKERS : MENU_ITEMS; @@ -37,7 +40,7 @@ const Header = () => { {isMakers != undefined && (