From 954149492bdc8ce8299cd9107d7b6c77403f7437 Mon Sep 17 00:00:00 2001 From: lydiacho <81505421+lydiacho@users.noreply.github.com> Date: Tue, 30 Jul 2024 04:17:04 +0900 Subject: [PATCH] =?UTF-8?q?[Design]=20=ED=95=A9=EB=B6=88=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=EC=97=90=20makers=20=EC=A0=84=EC=9A=A9=20=EB=94=94?= =?UTF-8?q?=EC=9E=90=EC=9D=B8=20=EC=B6=94=EA=B0=80=20=20(#271)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * design: strongText에 makers color 배리 추가 * design: backgroundGradient에 makers 배리 추가 * design: 배경 로고 메이커스 추가 * feat: 최종결과페이지에도 반영 및 makers 임의 로고 삭제 * design: makers dark mode header logo 추가 * chore: 테스트용 코드 복원 --- src/common/assets/MakersDarkLogo.tsx | 21 +++++++ .../Layout/components/Header/index.tsx | 5 +- .../ResultPage/assets/IconMakersLogo.tsx | 57 ++++++++++++++++++ src/views/ResultPage/assets/imgMakersLogo.png | Bin 9157 -> 0 bytes .../ResultPage/assets/imgMakersLogo.webp | Bin 3206 -> 0 bytes .../ResultPage/components/FinalResult.tsx | 31 ++++++---- .../ResultPage/components/ScreeningResult.tsx | 35 +++++++---- src/views/ResultPage/components/style.css.ts | 57 +++++++++++++----- 8 files changed, 165 insertions(+), 41 deletions(-) create mode 100644 src/common/assets/MakersDarkLogo.tsx create mode 100644 src/views/ResultPage/assets/IconMakersLogo.tsx delete mode 100644 src/views/ResultPage/assets/imgMakersLogo.png delete mode 100644 src/views/ResultPage/assets/imgMakersLogo.webp 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 && (