-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[feat/#58] 사이드 네비게이션 및 재촬영 관련 로직 수정, 코드 최적화
- Loading branch information
Showing
15 changed files
with
309 additions
and
135 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import CloseCrewPanelIcon from "@assets/images/posture-snapshot-guide.png" | ||
import { ReactElement } from "react" | ||
import ModalContainer from "../ModalContainer" | ||
|
||
const GoodPostureGuidePopupModal = ({ onClose }: { onClose: () => void }): ReactElement => { | ||
return ( | ||
<ModalContainer onClose={onClose}> | ||
<div className="absolute inset-0 flex items-center justify-center bg-zinc-900/25"> | ||
{/* blur 처리 */} | ||
<div className="flex h-[472px] w-[800px] flex-col items-center rounded-lg bg-white pt-10 shadow-lg"> | ||
<div className="pb-6"> | ||
<div className="text-[30px] font-bold text-[#1E2535]">바른 자세 가이드</div> | ||
</div> | ||
{/* content */} | ||
<div className="flex items-center gap-8 pb-6"> | ||
<div className="flex h-[254px] w-[284px] flex-col items-center justify-end rounded-[17px] bg-[#EFEFF0]"> | ||
<img src={CloseCrewPanelIcon} alt="스냅샷 가이드" /> | ||
</div> | ||
<div className="flex flex-col gap-8"> | ||
<div className="flex gap-3"> | ||
<span className="flex h-6 w-6 justify-center rounded-full bg-[#5A9CFF] text-center font-semibold text-white"> | ||
1 | ||
</span> | ||
<span className="font-[20px] font-semibold text-zinc-800">머리와 목을 일직선으로 곧게 펴기</span> | ||
</div> | ||
<div className="flex gap-3"> | ||
<span className="flex h-6 w-6 justify-center rounded-full bg-[#5A9CFF] text-center font-semibold text-white"> | ||
2 | ||
</span> | ||
<span className="font-[20px] font-semibold text-zinc-800">양쪽 어깨 일직선 유지하기</span> | ||
</div> | ||
<div className="flex gap-3"> | ||
<span className="flex h-6 w-6 justify-center rounded-full bg-[#5A9CFF] text-center font-semibold text-white"> | ||
3 | ||
</span> | ||
<span className="font-[20px] font-semibold text-zinc-800">팔은 책상 위에 수평으로 두기</span> | ||
</div> | ||
<div className="flex gap-3"> | ||
<span className="flex h-6 w-6 justify-center rounded-full bg-[#5A9CFF] text-center font-semibold text-white"> | ||
4 | ||
</span> | ||
<span className="font-[20px] font-semibold text-zinc-800">등과 허리는 등받이에 지지하기</span> | ||
</div> | ||
</div> | ||
</div> | ||
<button className="w-[354px] rounded-full bg-[#1A75FF] py-3 text-white" onClick={onClose}> | ||
확인 | ||
</button> | ||
</div> | ||
</div> | ||
</ModalContainer> | ||
) | ||
} | ||
|
||
export default GoodPostureGuidePopupModal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.