-
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
[#6] step2 νμ΄μ§ ui λ° μΆκ°μ€λͺ ν κΈμ°½ ꡬν
- Loading branch information
Showing
7 changed files
with
217 additions
and
2 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
app/(route)/verification/ibulsin/_components/MoreExplainBtn/index.module.css
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,10 @@ | ||
.question_icon_container { | ||
display: flex; | ||
position:relative; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
.question_icon { | ||
color:var(--purple-700); | ||
cursor: pointer; | ||
} |
30 changes: 30 additions & 0 deletions
30
app/(route)/verification/ibulsin/_components/MoreExplainBtn/index.tsx
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,30 @@ | ||
'use client' | ||
|
||
import React, { useState } from 'react' | ||
import S from './index.module.css' | ||
import { BsFillQuestionCircleFill } from 'react-icons/bs' | ||
import MoreExplainToggle from '../MoreExplainToggle' | ||
|
||
function MoreExplainBtn({ type }: { type: string }) { | ||
const [isHover, setIsHover] = useState(false) | ||
|
||
const handleMouseOver = () => { | ||
setIsHover(true) | ||
} | ||
const handleMouseOut = () => { | ||
setIsHover(false) | ||
} | ||
|
||
return ( | ||
<div className={S.question_icon_container}> | ||
<BsFillQuestionCircleFill | ||
className={S.question_icon} | ||
onMouseOver={handleMouseOver} | ||
onMouseOut={handleMouseOut} | ||
/> | ||
{isHover && <MoreExplainToggle type={type} />} | ||
</div> | ||
) | ||
} | ||
|
||
export default MoreExplainBtn |
15 changes: 15 additions & 0 deletions
15
app/(route)/verification/ibulsin/_components/MoreExplainToggle/index.module.css
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,15 @@ | ||
.toggle_container { | ||
position:absolute; | ||
width: 240px; | ||
top: 20px; | ||
left:10px; | ||
background-color: white; | ||
z-index: 999; | ||
border: 1px solid #c9c9c9; | ||
border-radius: 4px; | ||
padding: 8px; | ||
} | ||
.toggle_container > p { | ||
font-size: 10px; | ||
width: 100%; | ||
} |
41 changes: 41 additions & 0 deletions
41
app/(route)/verification/ibulsin/_components/MoreExplainToggle/index.tsx
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,41 @@ | ||
import React from 'react' | ||
import S from './index.module.css' | ||
|
||
interface MoreExplainToggleProps { | ||
type: string | ||
} | ||
|
||
function MoreExplainToggle({ type }: MoreExplainToggleProps) { | ||
return ( | ||
<div className={S.toggle_container}> | ||
{type === 'marketResponse' && ( | ||
<p> | ||
μμ΄λμ΄: λ·νλ¦μ€(μ΄κΈ° DVD κΈ°λ° λͺ¨λΈ) | ||
<br /> | ||
<br /> | ||
μμ₯νΈμκ°μ€: μ°νΈ λ°°μ‘ κΈ°λ°μ DVD λμ¬ μλΉμ€λ₯Ό μμ μ‘ μκΈμ , λ°λ© | ||
μ§μ° κ³Όνλ£ λ¬΄λ£ μ μ± κ³Ό κ²°ν©νμ¬ λ§μ μ¬λλ€μ΄ λΉλμ€ κ°κ²λ₯Ό μ΄μ©νλ | ||
λμ μ°λ¦¬ μλΉμ€μ κ°μ ν κ²μ΄λ€. | ||
<br /> | ||
<br /> | ||
μ΄μκ°μ΄ μμ₯μ΄ μ°λ¦¬μ μ νμ΄λ μλΉμ€λ₯Ό μ΄λ»κ² λ°μλ€μ΄μ§μ λν΄ | ||
μ νν μ μλ₯Ό λ΄λ¦¬κ³ , ν΄λΉ μμ₯ μμκ° μ‘΄μ¬νλ€λ μ¦κ±°λ₯Ό μ°Ύμλ΄λ κ²μ΄ | ||
μμ₯νΈμκ°μ€μ΄ ν΄μΌ ν μΌμ΄μμ. | ||
</p> | ||
)} | ||
{type === 'XYZ' && ( | ||
<p> | ||
Xλ νμ μμ₯μ λͺ νΌμΌνΈλ₯Ό μ°¨μ§ν μ μμμ§, Yλ μ΄λ€ νμ μμ₯μ λν, | ||
Zλ νμ μμ₯μ΄ μ νμ λν΄ μ΄λ€ λ°©μμΌλ‘ μ΄λ λ²μκΉμ§ νΈμ ν κΉλ₯Ό | ||
μλ―Έν΄μ | ||
<br /> | ||
<br /> | ||
μμ : μ μ΄λ 10%μ λκΈ°μ§ μ§μκ° 100 μ΄μμΈ λμμ μ¬λ μ¬λλ€μ | ||
120λ¬λ¬ μ§λ¦¬ ν΄λμ© μ€μΌ νμ§κΈ°λ₯Ό ꡬ맀ν κ²μ΄λ€. | ||
</p> | ||
)} | ||
</div> | ||
) | ||
} | ||
|
||
export default MoreExplainToggle |
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,64 @@ | ||
.main_container { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
} | ||
.step_info { | ||
color: #FFFFFF; | ||
margin: 24px; | ||
margin-bottom: 32px; | ||
} | ||
.step_info > h3 { | ||
padding: 12px 0; | ||
font-weight: 500; | ||
font-size: 24px; | ||
} | ||
.step_info > p { | ||
font-size: 24px; | ||
} | ||
.survey_container { | ||
background-color: #FFFFFF; | ||
border-top-left-radius: 8px; | ||
border-top-right-radius: 8px; | ||
padding: 12px; | ||
} | ||
.input_container { | ||
margin-bottom: 8px; | ||
} | ||
.input_title_container { | ||
display: flex; | ||
align-items: center; | ||
} | ||
.input_title_container > .input_title { | ||
font-size: 16px; | ||
padding:12px 0; | ||
margin-right: 8px; | ||
} | ||
.input_container > .input_explain { | ||
font-size: 12px; | ||
margin-bottom: 8px; | ||
} | ||
.direction_btns { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
.direction_btns > a { | ||
margin: 0 8px; | ||
} | ||
.prev_btn { | ||
background-color: #FFFFFF; | ||
padding: 12px 20px; | ||
font-size: 14px; | ||
font-weight: bold; | ||
border: 1px solid #DCDCDC; | ||
border-radius: 8px; | ||
} | ||
.next_btn { | ||
background-color: var(--purple-700); | ||
color: #FFFFFF; | ||
padding: 12px 20px; | ||
font-size: 14px; | ||
font-weight: bold; | ||
border-radius: 8px; | ||
} |
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