-
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.
Merge pull request #277 from Team-Lecue/SP1/Home
오랜만에 데브데브 머지 !!!!!
- Loading branch information
Showing
20 changed files
with
301 additions
and
64 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
33 changes: 33 additions & 0 deletions
33
src/Home/components/NoBookmarkList/NoBookmarkList.style.ts
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,33 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const ListWrapper = styled.section` | ||
display: flex; | ||
gap: 2rem; | ||
justify-content: center; | ||
align-items: center; | ||
flex-direction: column; | ||
padding: 3rem 0; | ||
`; | ||
|
||
export const DescriptionWrapper = styled.article` | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
flex-direction: column; | ||
`; | ||
|
||
export const Description = styled.p` | ||
color: ${({ theme }) => theme.colors.BG}; | ||
${({ theme }) => theme.fonts.Body2_M_14}; | ||
`; | ||
|
||
export const NavigateBtn = styled.button` | ||
padding: 0.8rem 2.8rem; | ||
border: 0.1rem solid ${({ theme }) => theme.colors.BG}; | ||
border-radius: 0.6rem; | ||
background-color: ${({ theme }) => theme.colors.white}; | ||
color: ${({ theme }) => theme.colors.BG}; | ||
${({ theme }) => theme.fonts.Body4_SB_14}; | ||
`; |
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,28 @@ | ||
import { useNavigate } from 'react-router'; | ||
|
||
import * as S from './NoBookmarkList.style'; | ||
|
||
const NoBookmarkList = () => { | ||
const navigate = useNavigate(); | ||
|
||
const handleClickNavigateBtn = () => { | ||
navigate('/mypage'); | ||
}; | ||
|
||
return ( | ||
<S.ListWrapper> | ||
<S.DescriptionWrapper> | ||
<S.Description>아직 즐겨찾기한 레큐북이 없어요.</S.Description> | ||
<S.Description> | ||
자주 보고 싶은 레큐북을 즐겨찾기 해보세요. | ||
</S.Description> | ||
</S.DescriptionWrapper> | ||
|
||
<S.NavigateBtn type="button" onClick={handleClickNavigateBtn}> | ||
레큐북 보러가기 | ||
</S.NavigateBtn> | ||
</S.ListWrapper> | ||
); | ||
}; | ||
|
||
export default NoBookmarkList; |
Empty file.
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
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.