Skip to content

Commit

Permalink
select-method
Browse files Browse the repository at this point in the history
  • Loading branch information
yueunfive committed Dec 16, 2023
1 parent 329b032 commit 00db13d
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 73 deletions.
1 change: 1 addition & 0 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const Footer: React.FC = () => {
};

const FooterWrap = styled.div`
height: 156px;
box-sizing: border-box;
padding: 40px 0;
background-color: #121212;
Expand Down
149 changes: 76 additions & 73 deletions src/pages/SelectMethod.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,35 @@ export default function SelectMethod() {
<>
<Header />
<SelectMethodWrap>
<h2 className="select_title">회고 진행 방식을 선택해주세요</h2>
<div className="select_container">
<div className="select1">
<button
onClick={() => {
handleSelect("guideline");
goToSelectRetro();
}}
>
회고 유형 가이드라인
</button>
<p>
선택한 맞춤 회고 유형에 대한 <br /> 가이드라인을 제공합니다.
</p>
</div>
<div className="select2">
<button
onClick={() => {
handleSelect("step-by-step");
goToSelectRetro();
}}
>
Step by Step
</button>
<p>
회고를 처음하는 분들을 위해 <br /> 단계별 안내를 제공합니다.
</p>
<div className="select-method-container">
<h2 className="select_title">회고 진행 방식을 선택해주세요</h2>
<div className="select_container">
<div className="select1">
<button
onClick={() => {
handleSelect("guideline");
goToSelectRetro();
}}
>
회고 유형 가이드라인
</button>
<p>
선택한 맞춤 회고 유형에 대한 <br /> 가이드라인을 제공합니다.
</p>
</div>
<div className="select2">
<button
onClick={() => {
handleSelect("step-by-step");
goToSelectRetro();
}}
>
Step by Step
</button>
<p>
회고를 처음하는 분들을 위해 <br /> 단계별 안내를 제공합니다.
</p>
</div>
</div>
</div>
</SelectMethodWrap>
Expand All @@ -56,61 +58,62 @@ export default function SelectMethod() {
}

const SelectMethodWrap = styled.div`
padding: 187px 310px;
box-sizing: border-box;
background-color: #121212;
text-align: center;
height: 100%;
height: calc(100vh - 246px);
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 50px;
.select-method-container {
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 50px;
.select_title {
color: var(--text-high-emphasis, rgba(255, 255, 255, 0.87));
font-size: 32px;
font-style: normal;
font-weight: 700;
line-height: normal;
margin: 0;
}
.select_title {
color: var(--text-high-emphasis, rgba(255, 255, 255, 0.87));
font-size: 32px;
font-style: normal;
font-weight: 700;
line-height: normal;
margin: 0;
}
.select_container {
display: flex;
justify-content: center;
gap: 80px;
}
.select_container {
display: flex;
justify-content: center;
gap: 80px;
}
.select_container button {
width: 269px;
height: 53px;
padding-top: 16px;
padding-bottom: 16px;
box-sizing: border-box;
border-radius: 16px;
border: 1px solid var(--text-high-emphasis, rgba(255, 255, 255, 0.87));
background: rgba(255, 255, 255, 0.1);
.select_container button {
width: 269px;
height: 53px;
padding-top: 16px;
padding-bottom: 16px;
box-sizing: border-box;
border-radius: 16px;
border: 1px solid var(--text-high-emphasis, rgba(255, 255, 255, 0.87));
background: rgba(255, 255, 255, 0.1);
color: var(--text-high-emphasis, rgba(255, 255, 255, 0.87));
text-align: center;
font-size: 18px;
font-style: normal;
font-weight: 600;
line-height: normal;
}
color: var(--text-high-emphasis, rgba(255, 255, 255, 0.87));
text-align: center;
font-size: 18px;
font-style: normal;
font-weight: 600;
line-height: normal;
}
.select_container button:hover {
background: rgba(255, 255, 255, 0);
}
.select_container button:hover {
background: rgba(255, 255, 255, 0);
}
.select_container p {
color: var(--text-medium-emphasis, rgba(255, 255, 255, 0.6));
text-align: center;
font-size: 18px;
font-style: normal;
font-weight: 600;
line-height: normal;
margin-top: 30px;
.select_container p {
color: var(--text-medium-emphasis, rgba(255, 255, 255, 0.6));
text-align: center;
font-size: 18px;
font-style: normal;
font-weight: 600;
line-height: normal;
margin-top: 30px;
}
}
`;

0 comments on commit 00db13d

Please sign in to comment.