-
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.
Merge pull request #29 from whatever-mentoring/dev
merge: 배포
- Loading branch information
Showing
68 changed files
with
1,925 additions
and
553 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
REACT_APP_NAVER_CLIENT_ID = 'mp0CQ1x6hXjAn1PDkrgT' | ||
REACT_APP_NAVER_CLIENT_SECRET= 'yZJwVrevKp' | ||
REACT_APP_NAVER_REDIRECT_URI = "http://localhost:3000/oauth" | ||
|
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.
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.
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,9 +1,42 @@ | ||
import { mypageMenuInterface } from 'pages/Mypage'; | ||
import closure from 'store/closure'; | ||
|
||
const userType = closure.getUserType(); | ||
|
||
export const myPageMemu: mypageMenuInterface[] = [ | ||
{ link: 'myQna', icon: 'myQnaIcon', menu: '내 질문', margin: 0 }, | ||
{ link: 'myComment', icon: 'myCommentIcon', menu: '내 댓글', margin: 0 }, | ||
{ link: 'myScrap', icon: 'myScrapIcon', menu: '스크랩', margin: 0 }, | ||
{ link: '', icon: 'newsLetterIcon', menu: '뉴스레터 구독하기', margin: 10 }, | ||
{ link: '', icon: 'logoutIcon', menu: '로그아웃', margin: 10 }, | ||
{ | ||
link: 'myQna', | ||
icon: 'myQnaIcon', | ||
menu: `${userType === 'Juni' ? '내 질문' : '내 답변'}`, | ||
margin: 0, | ||
count: 'questionCount', | ||
}, | ||
{ | ||
link: 'myComment', | ||
icon: 'myCommentIcon', | ||
menu: '내 댓글', | ||
margin: 0, | ||
count: 'commentCount', | ||
}, | ||
{ | ||
link: 'myScrap', | ||
icon: 'myScrapIcon', | ||
menu: '스크랩', | ||
margin: 0, | ||
count: 'scrapCount', | ||
}, | ||
{ | ||
link: '', | ||
icon: 'newsLetterIcon', | ||
menu: '뉴스레터 구독하기', | ||
margin: 10, | ||
count: '', | ||
}, | ||
{ | ||
link: '', | ||
icon: 'logoutIcon', | ||
menu: '로그아웃', | ||
margin: 10, | ||
count: '', | ||
}, | ||
]; |
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.
Oops, something went wrong.