-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
13-4 [FE] [논문 상세 - 논문 정보] 검색한 논문의 제목, 저자, DOI, 인용논문 목록을 보여주고, DOI 클릭 …
…시 논문 원본으로 이동한다. (#76)
- Loading branch information
Showing
21 changed files
with
363 additions
and
56 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import styled from 'styled-components'; | ||
|
||
interface IProps { | ||
icon: JSX.Element; | ||
onClick: React.MouseEventHandler; | ||
} | ||
|
||
const IconButton = ({ icon, onClick }: IProps) => { | ||
return ( | ||
<Button type="button" onClick={onClick}> | ||
{icon} | ||
</Button> | ||
); | ||
}; | ||
|
||
const Button = styled.button` | ||
background-color: transparent; | ||
cursor: pointer; | ||
`; | ||
|
||
export default IconButton; |
This file was deleted.
Oops, something went wrong.
8 changes: 5 additions & 3 deletions
8
...tend/src/components/AutoCompletedList.tsx → ...c/components/search/AutoCompletedList.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
2 changes: 1 addition & 1 deletion
2
...end/src/components/RecentKeywordsList.tsx → .../components/search/RecentKeywordsList.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
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 |
---|---|---|
@@ -1,7 +1,3 @@ | ||
export const PATH_MAIN = '/'; | ||
export const PATH_SEARCH_LIST = '/search-list'; | ||
export const PATH_DETAIL = '/detail'; | ||
|
||
export const createSearchQuery = (keyword: string) => { | ||
return `${PATH_SEARCH_LIST}?keyword=${keyword}&page=1&rows=20`; | ||
}; |
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,12 @@ | ||
const PreviousButtonIcon = () => { | ||
return ( | ||
<svg width="20" height="20" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<path | ||
d="M2.69531 11.3965C1.88151 12.0068 1.88151 12.998 2.69531 13.6084L15.1953 22.9834C16.0091 23.5938 17.3307 23.5938 18.1445 22.9834C18.9583 22.373 18.9583 21.3818 18.1445 20.7715L7.11589 12.5L18.138 4.22852C18.9518 3.61816 18.9518 2.62695 18.138 2.0166C17.3242 1.40625 16.0026 1.40625 15.1888 2.0166L2.6888 11.3916L2.69531 11.3965Z" | ||
fill="#ffffff" | ||
/> | ||
</svg> | ||
); | ||
}; | ||
|
||
export default PreviousButtonIcon; |
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.