-
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.
* seminar 타입 정리 * 잘못된 번역 수정 * PostEditor에 메인-중요 안내용 제목 추가 * 공지사항 수정페이지 titleForMain 적용 * 새소식 수정페이지 titleForMain 적용 * titleForMain 마저 적용 * 세미나 리팩토링 및 버그 수정 * 검색 결과 없을 때 화면 추가 * 글 작성 버튼들 추가 * AdjPostNav에 편집 버튼 추가 * AdjPostNav에 삭제 버튼 추가 * deleteIds 마저 적용 * emptyStringtoNull 적용 * isPrivate 기본값 수정 * console.log 제거 * POST reservation api 연결 * /search 페이지 추가 * 통합검색 searchForm 적용 * SearchSubNav 추가 * SectionTitle 구현 * SectionSubtitle, MoreResultLink 구현 * 세미나 목록에서 keyword가 반영 안되는 문제 수정 * 검색 관련 api 추가 * 세미나 검색결과 row 추가 * NoticeRow 구현 * SearchSubNav에 실제 데이터 추가 * NewsRow에 본문 bold 기능 추가 * hideBorder 옵션 row들에 추가 * deploy 옵션 수정 * 변경된 페이지들 리팩토링 * suneditor 스타일 수정 * /faculty 빗금 배경색 수정 * /undergraduate/courses 학점 정렬 버그 수정 * /faculty/[id]에서 올바른 연구실로 가도록 수정 * reservation 수정 * ReservationPreview 타입 추가 * 예약 관련 수정, ReservationDetail 추가 * 대중교통으로 오는 법 표에서 스타일 제거 * 예약 삭제 api 연결 * 시설 안내 사진 적용 * 시설 안내 호버 범위 수정 * index.ts 복구 * 연락처 링크 수정
- Loading branch information
Showing
84 changed files
with
1,253 additions
and
452 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
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,86 @@ | ||
import { getRequest } from '.'; | ||
|
||
export const getNoticeSearch = (params: { | ||
keyword: string; | ||
number: number; | ||
}): Promise<NoticeSearchResult> => getRequest('/notice/totalSearch', params); | ||
|
||
export const getNewsSearch = (params: { | ||
keyword: string; | ||
number: number; | ||
}): Promise<NewsSearchResult> => getRequest('/news/totalSearch', params); | ||
|
||
// export const getNoticeSearch = async (params: { | ||
// keyword: string; | ||
// number: number; | ||
// }): Promise<NoticeSearchResult> => ({ | ||
// total: 10, | ||
// results: [ | ||
// { | ||
// id: 1, | ||
// title: 'TITLE', | ||
// createdAt: new Date().toISOString(), | ||
// partialDescription: '12345678912345 789', | ||
// boldStartIndex: 3, | ||
// boldEndIndex: 7, | ||
// }, | ||
// { | ||
// id: 2, | ||
// title: 'TITLE2', | ||
// createdAt: new Date().toISOString(), | ||
// partialDescription: '12345678912345 789', | ||
// boldStartIndex: 0, | ||
// boldEndIndex: 4, | ||
// }, | ||
// { | ||
// id: 3, | ||
// title: 'TITLE3', | ||
// createdAt: new Date().toISOString(), | ||
// partialDescription: '12345678912345 789', | ||
// boldStartIndex: 0, | ||
// boldEndIndex: 4, | ||
// }, | ||
// ], | ||
// }); | ||
|
||
// export const getNewsSearch = async (params: { | ||
// keyword: string; | ||
// number: number; | ||
// }): Promise<NewsSearchResult> => ({ | ||
// total: 3, | ||
// results: [ | ||
// { | ||
// id: 1, | ||
// title: 'TITLE1', | ||
// date: new Date().toISOString(), | ||
// partialDescription: | ||
// "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.", | ||
// boldStartIndex: 3, | ||
// boldEndIndex: 7, | ||
// tags: ['TAG1', 'TAG2'], | ||
// imageUrl: null, | ||
// }, | ||
// { | ||
// id: 2, | ||
// title: 'TITLE2', | ||
// date: new Date().toISOString(), | ||
// partialDescription: | ||
// "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.", | ||
// boldStartIndex: 3, | ||
// boldEndIndex: 7, | ||
// tags: ['TAG1', 'TAG2'], | ||
// imageUrl: null, | ||
// }, | ||
// { | ||
// id: 3, | ||
// title: 'TITLE3', | ||
// date: new Date().toISOString(), | ||
// partialDescription: | ||
// "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.", | ||
// boldStartIndex: 3, | ||
// boldEndIndex: 7, | ||
// tags: ['TAG1', 'TAG2'], | ||
// imageUrl: null, | ||
// }, | ||
// ], | ||
// }); |
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
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.