-
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.
* fix: 피드백 페이지 쿼리키 변경 * fix: router.refresh()제거 * fix: 피드백 관련 데이터 next캐싱 제거 * feat: 배경 그라데이션 색상 수정 * feat: 피드백 데이터 1초 단위 리패치 적용 * feat: 피드백 데이터 생성 실패 시에 사용되는 경고카드 생성 * fix: Navbar이동 시, 데이터 갱신이 되지 않는 오류 수정 * fix: 발표 삭제 후, 목록이 비었을 때 안내 모달창이 발생하지 않는 버그 수정 * feat: 비어있는 피드백 목록에 사용되는 페이지 생성 * fix: 발표 생성할 때 이미지가 없는 빈 슬라이드가 추가되는 버그 수정 * fix: 발표 자료 수정 이후 캐싱 데이터를 사용 해버리는 현상 제거 * chore: 피드백 채점 결과_실패(FAIL) 타입 추가 * chore: 인피니티 스크롤에 사용되는 함수 인자(pageParam) 옵셔널 타입 제거 * feat: 발표 연습의 마지막 페이지를 표시하는 컴포넌트 생성 * fix: CardList.tsx 의 overflow속성 제거 * fix: 발표 업로드 페이지 이미지 짤림 현상 해결 * feat: 총 발표시간>알람 시간 유효성 로직 추가 * refacotr: 불필요한 코드 제거 * refactor: 1초단위 피드백 리패치 로직 일부 수정
- Loading branch information
Showing
35 changed files
with
404 additions
and
160 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
24 changes: 24 additions & 0 deletions
24
src/app/(afterlogin)/(common_navbar)/_components/_Feedback/EmptyFeedback.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,24 @@ | ||
@import '@/styles/globals'; | ||
@import '@/styles/mixins'; | ||
|
||
.container { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
gap: 10px; | ||
min-width: 1440px; | ||
width: 100dvw; | ||
height: calc(100dvh - 68px); | ||
|
||
p { | ||
font-size: $font-1; | ||
} | ||
|
||
a { | ||
margin: 20px; | ||
|
||
@include button_size_web; | ||
@include button_theme_default; | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
src/app/(afterlogin)/(common_navbar)/_components/_Feedback/EmptyFeedback.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,15 @@ | ||
import React from 'react'; | ||
import styles from './EmptyFeedback.module.scss'; | ||
import Link from 'next/link'; | ||
|
||
const EmptyFeedback = () => { | ||
return ( | ||
<div className={styles.container}> | ||
<p>아직 연습할 발표가 없네요!</p> | ||
<p>완성도 있는 발표를 위해 연습을 시작해볼까요?</p> | ||
<Link href={'/upload/new'}>발표 연습 시작하기</Link> | ||
</div> | ||
); | ||
}; | ||
|
||
export default EmptyFeedback; |
14 changes: 14 additions & 0 deletions
14
src/app/(afterlogin)/(common_navbar)/_components/_Feedback/FailFeedback.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,14 @@ | ||
@import '@/styles/globals'; | ||
@import '@/styles/mixins'; | ||
|
||
.container { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
flex-direction: column; | ||
background-color: $gray-0; | ||
width: 100%; | ||
height: 100%; | ||
gap: 20px; | ||
border-radius: 16px; | ||
} |
13 changes: 13 additions & 0 deletions
13
src/app/(afterlogin)/(common_navbar)/_components/_Feedback/FailFeedback.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,13 @@ | ||
import React from 'react'; | ||
import styles from './FailFeedback.module.scss'; | ||
import { IoIosWarning } from 'react-icons/io'; | ||
const FailFeedback = () => { | ||
return ( | ||
<div className={styles.container}> | ||
<IoIosWarning size={60} /> | ||
<h3>피드백 데이터 생성에 실패했습니다.</h3> | ||
</div> | ||
); | ||
}; | ||
|
||
export default FailFeedback; |
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
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.