-
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.
- Loading branch information
1 parent
7495a13
commit 7238ae9
Showing
8 changed files
with
166 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,6 @@ | |
} | ||
|
||
.error { | ||
font-size: 0.6rem; | ||
color: #FF453A; | ||
margin-top: 4px; | ||
font-size: 0.67rem; | ||
color: #ff453a; | ||
} |
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
Empty file.
45 changes: 45 additions & 0 deletions
45
app/(route)/mypage/_components/ideaCard/ideaCard.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,45 @@ | ||
.wrapper { | ||
width: 100%; | ||
} | ||
|
||
.rowWrapper { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
justify-content: space-between; | ||
} | ||
|
||
.columnWrapper { | ||
display: flex; | ||
flex-direction: column; | ||
background-color: var(--gray-100); | ||
padding: 13px 17px; | ||
border-radius: 11px; | ||
cursor: pointer; | ||
width: 100%; | ||
} | ||
|
||
.ideaTitle { | ||
font-size: 0.98rem; | ||
font-weight: 700; | ||
letter-spacing: 0.03px; | ||
} | ||
|
||
.ideaTool { | ||
font-size: 0.7rem; | ||
} | ||
|
||
.btnWrapper { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 70px; | ||
height: 40px; | ||
font-weight: 500; | ||
font-size: 0.9rem; | ||
color: white; | ||
background-color: var(--purple-700); | ||
border-radius: 9px; | ||
|
||
margin-left: 10px; | ||
} |
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,24 @@ | ||
import Link from 'next/link' | ||
import S from './ideaCard.module.css' | ||
|
||
//TODO: 아이디어 명과 사용한 툴이 들어가게 됩니다. | ||
//TODO: 완료된 아이디어일 경우 결과 페이지(/result)로 이동합니다. | ||
//TODO: 진행중인 아이디어일 경우 투자 지표 페이지(/indicators)로 이동합니다. | ||
function IdeaCard() { | ||
return ( | ||
<div className={S.wrapper}> | ||
<Link href="/indicators"> | ||
<div className={S.rowWrapper}> | ||
<div className={S.columnWrapper}> | ||
<span className={S.ideaTitle}>아이디어 제목</span> | ||
<p className={S.ideaTool}>아이디어 툴</p> | ||
</div> | ||
|
||
<div className={S.btnWrapper}>열람</div> | ||
</div> | ||
</Link> | ||
</div> | ||
) | ||
} | ||
|
||
export default IdeaCard |
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,26 @@ | ||
.wrapper { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
padding: 0 18px; | ||
padding-bottom: 50px; | ||
} | ||
|
||
.sectionTitle { | ||
font-size: 1.3rem; | ||
font-weight: 700; | ||
margin-top: 26px; | ||
} | ||
|
||
.sectionSubTitle { | ||
font-size: 0.86rem; | ||
font-weight: 300; | ||
} | ||
|
||
.ideaCardWrapper { | ||
display: flex; | ||
flex-direction: column; | ||
|
||
gap: 17px; | ||
margin: 12px 0 40px 0; | ||
} |
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 |
---|---|---|
@@ -1,5 +1,31 @@ | ||
import Nav from '@/app/_common/nav' | ||
import Title from '@/app/_common/text/title' | ||
import IdeaCard from './_components/ideaCard' | ||
import S from './mypage.module.css' | ||
|
||
//TODO: 사용자 명, 아이디어 검증 수가 들어갑니다. | ||
//TODO: 완료된 아이디어, 입력 전 아이디어를 불러옵니다.(get) | ||
function Mypage() { | ||
return | ||
return ( | ||
<> | ||
<div className={S.wrapper}> | ||
<Nav /> | ||
<Title title="아이디어" /> | ||
|
||
<span className={S.sectionTitle}>완료</span> | ||
<p className={S.sectionSubTitle}>투자 지표를 완료한 아이디어</p> | ||
<div className={S.ideaCardWrapper}> | ||
<IdeaCard /> | ||
</div> | ||
|
||
<span className={S.sectionTitle}>입력 전</span> | ||
<p className={S.sectionSubTitle}>투자 지표를 입력하지 않은 아이디어</p> | ||
<div className={S.ideaCardWrapper}> | ||
<IdeaCard /> | ||
</div> | ||
</div> | ||
</> | ||
) | ||
} | ||
|
||
export default Mypage |