diff --git a/src/components/commons/SeniorCard.tsx b/src/components/commons/SeniorCard.tsx index cb542bf6..db50ea48 100644 --- a/src/components/commons/SeniorCard.tsx +++ b/src/components/commons/SeniorCard.tsx @@ -69,6 +69,8 @@ const SeniorCardWrapper = styled.div<{ $isSmall: boolean }>` border-radius: 8px; background: ${({ theme }) => theme.colors.grayScaleWhite}; + + cursor: pointer; `; const SeniorImg = styled.img<{ $isSmall: boolean }>` width: ${({ $isSmall }) => ($isSmall ? '8.8rem' : '11.4rem')}; diff --git a/src/pages/juniorPromise/JuniorPromisePage.tsx b/src/pages/juniorPromise/JuniorPromisePage.tsx index 2b5ad1fe..55c30195 100644 --- a/src/pages/juniorPromise/JuniorPromisePage.tsx +++ b/src/pages/juniorPromise/JuniorPromisePage.tsx @@ -1,5 +1,8 @@ -import { ArrowLeftIc } from '@assets/svgs'; +import { HeaderLogoIc, AlarmIc } from '@assets/svgs'; import { Header } from '@components/commons/Header'; +import { AutoCloseModal } from '@components/commons/modal/AutoCloseModal'; +import img_modal_accept from '@assets/images/img_modal_accept.png'; + import Nav from '@components/commons/Nav'; import { SeniorCard } from '@components/commons/SeniorCard'; import styled from '@emotion/styled'; @@ -17,6 +20,8 @@ import { useNavigate } from 'react-router-dom'; import useSeniorProfileQueries from '@hooks/seniorProfileQueries'; const JuniorPromisePage = () => { + const [showModal, setShowModal] = useState(false); + const navigate = useNavigate(); // 바텀 시트 내 버튼& 내용 필터 버튼 @@ -113,11 +118,12 @@ const JuniorPromisePage = () => { {isSeniorCardClicked ? ( <>
{ - setIsSeniorCardClicked(false); - }} + LeftSvg={HeaderLogoIc} + RightSvg={AlarmIc} + onClickRight={() => setShowModal(true)} + bgColor="transparent" /> + @@ -151,6 +157,13 @@ const JuniorPromisePage = () => {