-
Notifications
You must be signed in to change notification settings - Fork 2
fix: QA 반영 #112
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
fix: QA 반영 #112
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
5dc06a9
feat: ToastUI 적용
nirii00 e029eca
fix: letterBoard length 없음 문제 해결
nirii00 518f938
Fix:
nirii00 dd1f1e1
fix: 추가 커밋
nirii00 a3ed6fa
fix: 내 게시물 삭제 아이콘 표시, query key 중복 오류 해결
nirii00 b9fdd04
fix: 파비콘 경로 수정
nirii00 d4ba388
fix: 새로고침시 데이터 바로 반영
nirii00 ba48253
fix: 탈퇴한 회원 로그인 페이지로 리디렉션
nirii00 9ca7baa
Feat: Menu 버튼 추가
nirii00 e2d7417
fix: build 오류 해결
nirii00 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 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 |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| import MenuRoundedIcon from '@mui/icons-material/MenuRounded'; | ||
| import EditNoteRoundedIcon from '@mui/icons-material/EditNoteRounded'; | ||
| import MarkunreadOutlinedIcon from '@mui/icons-material/MarkunreadOutlined'; | ||
| import CalendarTodayOutlinedIcon from '@mui/icons-material/CalendarTodayOutlined'; | ||
|
|
||
| import { useState } from 'react'; | ||
| import { Link } from 'react-router'; | ||
| import { twMerge } from 'tailwind-merge'; | ||
|
|
||
| export default function MenuButton() { | ||
| const [isOpen, setIsOpen] = useState(false); | ||
|
|
||
| return ( | ||
| <> | ||
| <div className="flex w-full max-w-150 justify-end pr-5 text-center"> | ||
| <Link | ||
| to="/letter/box" | ||
| className={twMerge( | ||
| 'bg-primary-3 fixed bottom-[220px] z-50 h-12 w-12 rotate-360 content-center rounded-full text-white transition-all duration-200 hover:scale-105 active:scale-90', | ||
| isOpen | ||
| ? 'translate-y-0 rotate-0 opacity-100' | ||
| : 'translate-y-[120%] rotate-180 opacity-0', | ||
| )} | ||
| > | ||
| <MarkunreadOutlinedIcon fontSize="small" onClick={() => setIsOpen(false)} /> | ||
| </Link> | ||
| <Link | ||
| to="/board/letter" | ||
| className={twMerge( | ||
| 'bg-primary-3 fixed bottom-[160px] z-50 h-12 w-12 rotate-360 content-center rounded-full text-white transition-all duration-200 hover:scale-105 active:scale-90', | ||
| isOpen | ||
| ? 'translate-y-0 rotate-0 opacity-100' | ||
| : 'translate-y-[120%] rotate-180 opacity-0', | ||
| )} | ||
| > | ||
| <CalendarTodayOutlinedIcon fontSize="small" onClick={() => setIsOpen(false)} /> | ||
| </Link> | ||
| <Link | ||
| to="/letter/write" | ||
| className={twMerge( | ||
| 'bg-primary-3 fixed bottom-[100px] z-50 h-12 w-12 rotate-360 content-center rounded-full text-white transition-all duration-200 hover:scale-105 active:scale-90', | ||
| isOpen | ||
| ? 'translate-y-0 rotate-0 opacity-100' | ||
| : 'translate-y-[120%] rotate-180 opacity-0', | ||
| )} | ||
| > | ||
| <EditNoteRoundedIcon fontSize="medium" onClick={() => setIsOpen(false)} /> | ||
| </Link> | ||
|
|
||
| <div | ||
| className={twMerge( | ||
| 'bg-primary-3 fixed bottom-[30px] z-50 h-13 w-13 content-center rounded-full text-white transition-all duration-200 hover:scale-105 active:scale-90', | ||
| isOpen ? 'rotate-90' : 'rotate-0', | ||
| )} | ||
| > | ||
| <MenuRoundedIcon onClick={() => setIsOpen((state) => !state)} /> | ||
| </div> | ||
| </div> | ||
| </> | ||
| ); | ||
| } | ||
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
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.
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.
오잉 mui 아이콘 사용하셨군용