Skip to content

Commit

Permalink
Feat: 홈 화면 구현 끝
Browse files Browse the repository at this point in the history
  • Loading branch information
woojoung1217 committed Nov 20, 2024
1 parent e8f2415 commit cb8c33e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/components/home/CoupleReport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ const CoupleReport = ({ coupleData }: CoupleReportProps) => {
<CoupleReportDescription>난임 스트레스 예상 점수</CoupleReportDescription>
<ChartCover>
<EChartsReact option={option} />
{coupleData?.result && (
<div className="flex-box">
<EmotionGraphContainer></EmotionGraphContainer>
</div>
)}
</ChartCover>
</CoupleReportLineChartContainer>
</CoupleReportContainer>
Expand All @@ -144,6 +149,14 @@ const CoupleReport = ({ coupleData }: CoupleReportProps) => {

export default CoupleReport;

const EmotionGraphContainer = styled.div`
width: 100%;
.flex-box {
display: flex;
}
`;

const ToggleContainer = styled.div`
display: flex;
justify-content: space-between;
Expand Down

0 comments on commit cb8c33e

Please sign in to comment.