-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
197 additions
and
27 deletions.
There are no files selected for viewing
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
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,39 @@ | ||
import * as S from "./style"; | ||
import HintText2 from "@components/common/hintText/HintText2"; | ||
import { ResultCard } from "./_components/ResultCard"; | ||
import Button from "@components/common/button/Button"; | ||
|
||
const FIRST_MOCK_TEXT: string[] = [ | ||
"모든 인원이 커뮤니케이션을 좋아하는 팀이에요. 작업할 때 매우 소통을 중요하게 여기는 팀입니다. 실시간 커뮤 툴을 병행해서 사용하는 것이 좋을 것 같아요.", | ||
"대부분이 빠른 피드백을 선호하는 애자일 방식을 선호해요.", | ||
]; | ||
|
||
const SECOND_MOCK_TEXT: string[] = [ | ||
"정기적으로 학습한 내용을 공유하는 시간을 가지는 게 좋을 것 같아요. 특히 A와 B는 최신 기술을 도입하는 데에, C와 D는 기존 알던 기술을 활용하는 데에 가치를 두고 있으니, 토론해보는 게 좋을 듯 해요!", | ||
"A, C는 온라인을 B, D는 오프라인 만남을 주로 선호하고 있어요. 프로젝트 기간동안 서로에게 무리가 없도록 일정을 잘 조율하는 것이 매우 중요해요.", | ||
]; | ||
|
||
const Result: React.FC = () => { | ||
return ( | ||
<S.Container> | ||
<S.ContentWrapper> | ||
<HintText2 | ||
headline="AI가 분석한 팀의 성향입니다." | ||
paragraph="각 팀원들이 답변한 내용을 토대로 팀의 성향을 진단해줘요. | ||
우리 팀 성향이 맞는지 확인해보고, 팀원들과 상의해볼까요?" | ||
/> | ||
<S.ContentWrapper> | ||
<ResultCard | ||
title="AI가 진단한 F4 팀의 성향 요약" | ||
contents={FIRST_MOCK_TEXT} | ||
/> | ||
<ResultCard title="F4 팀 방향성 조언" contents={SECOND_MOCK_TEXT} /> | ||
</S.ContentWrapper> | ||
</S.ContentWrapper> | ||
|
||
<Button name="다음" link={`/next`} $width="100%" /> | ||
</S.Container> | ||
); | ||
}; | ||
|
||
export default Result; |
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,19 @@ | ||
import * as S from "./style"; | ||
|
||
interface ResultCardProps { | ||
title: string; | ||
contents: string[]; | ||
} | ||
|
||
export const ResultCard = ({ title, contents }: ResultCardProps) => { | ||
return ( | ||
<S.ResultCard> | ||
<S.ResultTitle>{title}</S.ResultTitle> | ||
<S.ResultContentWrapper> | ||
{contents.map((content, index) => ( | ||
<S.ResultContent key={index}>{content}</S.ResultContent> | ||
))} | ||
</S.ResultContentWrapper> | ||
</S.ResultCard> | ||
); | ||
}; |
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,32 @@ | ||
import styled from "styled-components"; | ||
|
||
export const ResultCard = styled.div` | ||
border-radius: 20px; | ||
background-color: #e9ecef; | ||
width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
padding: 1rem; | ||
gap: 1rem; | ||
`; | ||
|
||
export const ResultTitle = styled.h1` | ||
color: #99bc85; | ||
font-family: Pretendard; | ||
font-size: 16px; | ||
font-style: normal; | ||
font-weight: 700; | ||
line-height: 16px; | ||
letter-spacing: -0.1px; | ||
`; | ||
|
||
export const ResultContentWrapper = styled.ul` | ||
width: 100%; | ||
list-style: square; | ||
display: flex; | ||
flex-direction: column; | ||
padding: 0 1rem; | ||
gap: 0.5rem; | ||
`; | ||
|
||
export const ResultContent = styled.li``; |
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,20 @@ | ||
import styled from "styled-components"; | ||
|
||
export const Container = styled.div` | ||
margin-top: 5%; | ||
width: 90%; | ||
min-height: 100vh; | ||
display: flex; | ||
justify-content: space-around; | ||
align-items: center; | ||
flex-direction: column; | ||
gap: 2rem; | ||
`; | ||
|
||
export const ContentWrapper = styled.div` | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 2rem; | ||
flex-direction: column; | ||
`; |
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
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