-
Notifications
You must be signed in to change notification settings - Fork 5
refactor: 마이페이지 정렬 드랍다운 위치 수정 등 #142
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 4 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
45d5fb4
refactor: 마이페이지 정렬 드랍다운 위치 수정, MyPageContent 제거, sm으로 시작하는 CSS 수정 등
cccwon2 d99a2d6
chore: DotLodingSpinner 을 DotLoadingSpinner 로 수정 및 관련 파일 수정
cccwon2 48c56e1
chore: ImageInputPlaceHolder 로 파일명 변경
cccwon2 6331b77
chore: DetailComment 에서 CommentDetail 로 파일명 및 컴포넌트명 변경
cccwon2 51d814e
refactor: 알바 목록, 알바 토크 무한 스크롤 버그 수정
cccwon2 5e2133d
chore: detail 폴더 제거 및 [albatalkId] 폴더명으로 변경
cccwon2 4d137b9
design: 알바토크, 알바목록 UI 수정
cccwon2 939842c
conflict: 충돌 해결
cccwon2 64bf305
fix: 빌드 오류 수정
cccwon2 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
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
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
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 was deleted.
Oops, something went wrong.
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 |
|---|---|---|
| @@ -1,7 +1,19 @@ | ||
| "use client"; | ||
|
|
||
| import MyPageContent from "./components/MyPageContent"; | ||
| import { useSearchParams } from "next/navigation"; | ||
| import PostsSection from "./components/sections/PostsSection"; | ||
| import CommentsSection from "./components/sections/CommentsSection"; | ||
| import ScrapsSection from "./components/sections/ScrapsSection"; | ||
|
|
||
| export default function MyPage() { | ||
| return <MyPageContent />; | ||
| const searchParams = useSearchParams(); | ||
| const currentTab = searchParams.get("tab") || "posts"; | ||
|
|
||
| const TabContent = { | ||
| posts: <PostsSection />, | ||
| comments: <CommentsSection />, | ||
| scrap: <ScrapsSection />, | ||
| }[currentTab]; | ||
|
|
||
| return TabContent; | ||
| } |
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
게시글 상세 페이지는 albatalk/id 로 해도 될 것 같은데 한 depth (/detail ) 더 추가한 이유가 있을까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
albatalk/[id] 로 바꿀께요.