-
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.
* feat: 피드백 썸네일 임시 이미지 적용 * feat: 피드백 목록 단일 카드 정보 생성 * feat: 발표 연습 시작 api 적용 * fix: 최근 발표API 임시 주석처리 * feat: 최근 발표 섹션 복구 * feat: 홈 화면에서 바로 연습 시작시, 발표 시작 api적용 * fix: 발표 마지막 페이지 슬라이드 녹음본 저장 로직 추가 * fix: 누락된 api명세 및 UI문구 수정 * feat: 배경 그라데이션 적용 * feat: 발화 속도 피드백 페이지 구현 * fix: Navbar버튼과 모달 버튼 스타일 중첩 제거
- Loading branch information
Showing
37 changed files
with
486 additions
and
154 deletions.
There are no files selected for viewing
5 changes: 4 additions & 1 deletion
5
src/app/(afterlogin)/(common_navbar)/_components/CardInfo.module.scss
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,11 +1,14 @@ | ||
@import '@/styles/globals'; | ||
@import '@/styles/mixins'; | ||
|
||
.info { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 5px; | ||
|
||
&__title { | ||
margin: 0 0 12px; | ||
font-size: $h2; | ||
|
||
@include line(2); | ||
} | ||
} |
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
6 changes: 6 additions & 0 deletions
6
...pp/(afterlogin)/(common_navbar)/_components/_Feedback/FeedbackCardDescription.module.scss
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,6 @@ | ||
@import '@/styles/globals'; | ||
@import '@/styles/mixins'; | ||
|
||
.generateDate { | ||
color: $gray-6; | ||
} |
18 changes: 18 additions & 0 deletions
18
src/app/(afterlogin)/(common_navbar)/_components/_Feedback/FeedbackCardDescription.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,18 @@ | ||
import { FeedbackListTypeGuard } from '@/types/guards'; | ||
import { CardListType } from '@/types/service'; | ||
import styles from './FeedbackCardDescription.module.scss'; | ||
|
||
interface Props { | ||
listInfo: CardListType; | ||
} | ||
|
||
const FeedbackCardDescription = ({ listInfo }: Props) => { | ||
return ( | ||
listInfo && | ||
FeedbackListTypeGuard(listInfo) && ( | ||
<p className={styles.generateDate}>{listInfo.practiceDate}</p> | ||
) | ||
); | ||
}; | ||
|
||
export default FeedbackCardDescription; |
17 changes: 17 additions & 0 deletions
17
src/app/(afterlogin)/(common_navbar)/_components/_Feedback/FeedbackScoreButton.module.scss
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,17 @@ | ||
@import '@/styles/globals'; | ||
@import '@/styles/mixins'; | ||
|
||
.action { | ||
@include pure-button; | ||
@include button_theme_inverted; | ||
|
||
width: 100%; | ||
height: 100%; | ||
border-radius: 100px; | ||
font-size: 20px; | ||
|
||
&__box { | ||
width: 67px; | ||
height: 36px; | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
src/app/(afterlogin)/(common_navbar)/_components/_Feedback/FeedbackScoreButton.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,26 @@ | ||
import React from 'react'; | ||
import styles from './FeedbackScoreButton.module.scss'; | ||
import { FeedbackListType } from '@/types/service'; | ||
|
||
interface Props { | ||
status: FeedbackListType['page']['content'][0]['status']; | ||
score: number; | ||
onClick: () => void; | ||
} | ||
|
||
const FeedbackScoreButton = ({ status, score, onClick }: Props) => { | ||
return ( | ||
<div className={styles.action__box}> | ||
<button | ||
className={styles.action} | ||
onClick={() => { | ||
status === 'DONE' && onClick(); | ||
}} | ||
> | ||
{status === 'DONE' ? `${score}점` : '채점중'} | ||
</button> | ||
</div> | ||
); | ||
}; | ||
|
||
export default FeedbackScoreButton; |
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
Oops, something went wrong.