-
Notifications
You must be signed in to change notification settings - Fork 8
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
…ayout 수정사항까지 잘 반영된 부분 확인했습니다. 역시 꼼꼼하십니다^^
- Loading branch information
Showing
25 changed files
with
640 additions
and
39 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,77 @@ | ||
import Image from 'next/image'; | ||
import Link from 'next/link'; | ||
import React from 'react'; | ||
import AgendaTag from 'components/agenda/utils/AgendaTag'; | ||
import styles from 'styles/agenda/Home/AgendaList.module.scss'; | ||
|
||
const AgendaList = () => { | ||
return ( | ||
<div className={styles.agendaListContainer}> | ||
<div className={styles.agendaListTextWrapper}>AGENDA LIST</div> | ||
<div className={styles.agendaListItemContainer}> | ||
<AgendaListBtn /> | ||
<AgendaListBtn /> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
const AgendaListBtn = () => { | ||
return ( | ||
<Link href={`/agenda/1`}> | ||
<button className={styles.agendaListItemBtn}> | ||
<div className={styles.agendaInfoContainer}> | ||
<div className={styles.agendaDateBox}> | ||
<div className={styles.agendaDateMonth}>12</div> | ||
<div className={styles.agendaDateDay}>31</div> | ||
</div> | ||
|
||
<div className={styles.agendaInfoWrapper}> | ||
<div className={styles.agendaItemTitleBox}>PUSH SWAP 경진대회</div> | ||
|
||
<div className={styles.agendaItemTimeBox}> | ||
<div className={styles.agendaItemTimeWrapper}> | ||
<div className={styles.imageWrapper}> | ||
<Image | ||
src='/image/agenda/Time.svg' | ||
width={15} | ||
height={15} | ||
alt='Time' | ||
className={styles.imageBox} | ||
/> | ||
</div> | ||
<div>12.31</div> | ||
<div>14:00 ~ 17:00</div> | ||
</div> | ||
|
||
<div className={styles.agendaItemTimeWrapper}> | ||
<div className={styles.imageWrapper}> | ||
<Image | ||
src='/image/agenda/People.svg' | ||
width={15} | ||
height={15} | ||
alt='count' | ||
className={styles.imageBox} | ||
/> | ||
</div> | ||
<div>20/100</div> | ||
</div> | ||
</div> | ||
|
||
<div className={styles.agendaItemTagBox}> | ||
<AgendaTag tagName='공식' /> | ||
<AgendaTag tagName='팀' /> | ||
<AgendaTag tagName='과제' /> | ||
</div> | ||
</div> | ||
</div> | ||
<div className={styles.agendaItemDeadLineBox}> | ||
<div className={styles.agendaDeadLineText}>모집마감</div> | ||
<div className={styles.agendaDeadLine}>D-2</div> | ||
</div> | ||
</button> | ||
</Link> | ||
); | ||
}; | ||
|
||
export default AgendaList; |
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,27 @@ | ||
import Image from 'next/image'; | ||
import Link from 'next/link'; | ||
import styles from 'styles/agenda/Home/AgendaTitle.module.scss'; | ||
|
||
const AgendaTitle = () => { | ||
return ( | ||
<div className={styles.agendaTitleContainer}> | ||
<div>AGENDA</div> | ||
<Link href={`/agenda/create`}> | ||
<button className={styles.agendaCreateBtn}> | ||
<div>개최신청</div> | ||
<div className={styles.imageWrapper}> | ||
<Image | ||
src='/image/agenda/ArrowRight.svg' | ||
width={35} | ||
height={35} | ||
alt='Create Agenda' | ||
className={styles.imageBox} | ||
/> | ||
</div> | ||
</button> | ||
</Link> | ||
</div> | ||
); | ||
}; | ||
|
||
export default AgendaTitle; |
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,21 @@ | ||
import Image from 'next/image'; | ||
import styles from 'styles/agenda/Home/MyAgendaBtn.module.scss'; | ||
|
||
const MyAgendaBtn = () => { | ||
return ( | ||
<button className={styles.myagendaBtn}> | ||
<div>my agenda</div> | ||
<div className={styles.imageWrapper}> | ||
<Image | ||
src='/image/agenda/ArrowRight.svg' | ||
width={35} | ||
height={35} | ||
alt='Go To My Agenda' | ||
className={styles.imageBox} | ||
/> | ||
</div> | ||
</button> | ||
); | ||
}; | ||
|
||
export default MyAgendaBtn; |
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,29 @@ | ||
import styles from 'styles/agenda/utils/AgendaTag.module.scss'; | ||
|
||
interface AgendaTagProps { | ||
tagName: string; | ||
} | ||
|
||
const AgendaTag: React.FC<AgendaTagProps> = ({ tagName }) => { | ||
let backgroundColor; | ||
switch (tagName) { | ||
case '공식': | ||
backgroundColor = '#39B8FF'; | ||
break; | ||
case '팀': | ||
backgroundColor = '#FF5D5D'; | ||
break; | ||
case '과제': | ||
backgroundColor = '#FFB039'; | ||
break; | ||
default: | ||
backgroundColor = '#000000'; | ||
} | ||
return ( | ||
<div className={styles.agendaTag} style={{ backgroundColor }}> | ||
#{tagName} | ||
</div> | ||
); | ||
}; | ||
|
||
export default AgendaTag; |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.