-
Notifications
You must be signed in to change notification settings - Fork 3
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
[FE] 회고 페이지 버그 수정 #917
Merged
Merged
[FE] 회고 페이지 버그 수정 #917
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
ea4e32b
:recycle: 회고 작성 페이지와 회고 조회 페이지 분리
anttiey e760eb5
:recycle: 회고 페이지 헤더 페어룸 온보딩 페이지와 레이아웃 통일
anttiey 32bdfd3
:recycle: 회고 폼 페이지 레이아웃 변경
anttiey d64094a
:recycle: 회고 페이지 레이아웃 변경
anttiey 5d7a1e6
:recycle: 회고 전체가 빈값일 때 작성 완료 버튼 비활성화
anttiey a334d9a
:recycle: 회고 작성 완료 시 뒤로 가기 막기
anttiey d38a8f4
:recycle: 버튼이 여러 번 눌렸을 때 API 요청 차단
anttiey 662a2c5
:bug: 잘못 설정된 주석 제거
anttiey 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 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
36 changes: 36 additions & 0 deletions
36
frontend/src/components/Retrospect/Header/Header.styles.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,36 @@ | ||
import styled, { css } from 'styled-components'; | ||
|
||
export const buttonStyles = css` | ||
width: 11rem; | ||
border-color: ${({ theme }) => theme.color.secondary[600]}; | ||
|
||
color: ${({ theme }) => theme.color.secondary[600]}; | ||
|
||
&:hover { | ||
border-color: ${({ theme }) => theme.color.secondary[700]}; | ||
|
||
color: ${({ theme }) => theme.color.secondary[700]}; | ||
} | ||
`; | ||
|
||
export const Layout = styled.div` | ||
display: flex; | ||
justify-content: space-between; | ||
`; | ||
|
||
export const TitleContainer = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1rem; | ||
`; | ||
|
||
export const Title = styled.h1` | ||
color: ${({ theme }) => theme.color.primary[800]}; | ||
font-size: ${({ theme }) => theme.fontSize.h3}; | ||
font-weight: ${({ theme }) => theme.fontWeight.semibold}; | ||
`; | ||
|
||
export const SubTitle = styled.h2` | ||
color: ${({ theme }) => theme.color.primary[700]}; | ||
font-size: ${({ theme }) => theme.fontSize.lg}; | ||
`; |
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,26 @@ | ||
import Button from '@/components/common/Button/Button'; | ||
|
||
import * as S from './Header.styles'; | ||
|
||
interface HeaderProps { | ||
title: string; | ||
subTitle: string; | ||
buttonText: string; | ||
onButtonClick: () => void; | ||
} | ||
|
||
const Header = ({ title, subTitle, buttonText, onButtonClick }: HeaderProps) => { | ||
return ( | ||
<S.Layout> | ||
<S.TitleContainer> | ||
<S.Title>{title}</S.Title> | ||
<S.SubTitle>{subTitle}</S.SubTitle> | ||
</S.TitleContainer> | ||
<Button $css={S.buttonStyles} filled={false} rounded={true} size="sm" color="primary" onClick={onButtonClick}> | ||
{buttonText} | ||
</Button> | ||
</S.Layout> | ||
); | ||
}; | ||
|
||
export default Header; |
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
41 changes: 0 additions & 41 deletions
41
frontend/src/components/Retrospect/RetrospectForm/RetrospectForm.styles.ts
This file was deleted.
Oops, something went wrong.
50 changes: 0 additions & 50 deletions
50
frontend/src/components/Retrospect/RetrospectForm/RetrospectForm.tsx
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
frontend/src/components/Retrospect/RetrospectForm/SkipModal/SkipModal.tsx
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
frontend/src/components/Retrospect/RetrospectHeader/Header/Header.styles.ts
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
frontend/src/components/Retrospect/RetrospectHeader/Header/Header.tsx
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
frontend/src/components/Retrospect/RetrospectHeader/RetrospectHeader.tsx
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
frontend/src/components/Retrospect/RetrospectView/RetrospectView.styles.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
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.
👍