-
Notifications
You must be signed in to change notification settings - Fork 0
feat: 마이페이지 전체 구현 #63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
aa3ae65
feat: Mypage 메인화면 구현
heeeeyong 9838b83
fix: 마이페이지 메인화면 요구사항 구현 요구사항에 맞춰서 수정
heeeeyong de8395c
feat: NavBar 연결
heeeeyong 36aab92
feat: 알림설정 페이지 구현
heeeeyong a731066
feat: 마이페이지 > 저장 페이지 구현
heeeeyong 9d3a09b
fix: 알림설정 페이지 교체
heeeeyong 7a90ddc
feat: 마이페이지 회원탈퇴 플로우 구현
heeeeyong 3aabbf7
feat: 마이페이지 편집 페이지구현
heeeeyong 727660f
Merge branch 'develop' into feature/mypage
heeeeyong File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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.
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.
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.
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.
Empty file.
This file contains hidden or 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,50 @@ | ||
| import { colors, typography } from '@/styles/global/global'; | ||
| import styled from '@emotion/styled'; | ||
| import rightArrow from '../../assets/common/right-Chevron.svg'; | ||
|
|
||
| export interface MenuButtonProps { | ||
| src: string; | ||
| name: string; | ||
| textColor?: string; | ||
| isButton?: boolean; | ||
| onClick?: () => void; | ||
| } | ||
|
|
||
| const MenuButton = ({ src, name, isButton, onClick }: MenuButtonProps) => { | ||
| return ( | ||
| <Wrapper onClick={onClick}> | ||
| <div className="main"> | ||
| <img src={src} /> | ||
| <div>{name}</div> | ||
| </div> | ||
| {isButton && <img src={rightArrow} />} | ||
| </Wrapper> | ||
| ); | ||
| }; | ||
|
|
||
| const Wrapper = styled.div` | ||
| display: flex; | ||
| min-width: 280px; | ||
| width: 100%; | ||
| height: 56px; | ||
| padding: 16px 12px; | ||
| justify-content: space-between; | ||
| align-items: center; | ||
| gap: 16px; | ||
| border-radius: 12px; | ||
| background-color: ${colors.darkgrey.dark}; | ||
| cursor: pointer; | ||
|
|
||
| color: ${colors.white}; | ||
| font-size: ${typography.fontSize.base}; | ||
| font-weight: ${typography.fontWeight.semibold}; | ||
| line-height: 24px; | ||
|
|
||
| .main { | ||
| display: flex; | ||
| flex-direction: row; | ||
| gap: 8px; | ||
| } | ||
| `; | ||
|
|
||
| export default MenuButton; | ||
This file contains hidden or 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 hidden or 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 hidden or 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,25 @@ | ||
| import type { Book } from '@/types/book'; | ||
|
|
||
| export const mockBooks: Book[] = [ | ||
| { | ||
| isbn: 11234131, | ||
| title: '채식주의자', | ||
| author: '한강', | ||
| publisher: '창비', | ||
| coverUrl: 'https://image.yes24.com/goods/17122707/XL', | ||
| }, | ||
| { | ||
| isbn: 21234123, | ||
| title: '채소 마스터 클래스', | ||
| author: '백지혜', | ||
| publisher: '세미콜론', | ||
| coverUrl: 'https://image.yes24.com/goods/109378551/XL', | ||
| }, | ||
| { | ||
| isbn: 31324122, | ||
| title: '채소 식탁', | ||
| author: '김경민', | ||
| publisher: '래디시', | ||
| coverUrl: 'https://image.yes24.com/goods/117194041/XL', | ||
| }, | ||
| ]; |
This file contains hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.