-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/woowacourse-teams/2024-r…
…eview-me into fe/feature/266-add-function-to-review-group-data-modal
- Loading branch information
Showing
23 changed files
with
608 additions
and
46 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 |
---|---|---|
|
@@ -3,5 +3,4 @@ dist | |
|
||
yarn-error.log | ||
.env | ||
# Sentry Config File | ||
.env.sentry-build-plugin |
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
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,10 +1,15 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const CheckboxItem = styled.div``; | ||
export const CheckboxItem = styled.div` | ||
display: flex; | ||
margin-bottom: 1rem; | ||
`; | ||
|
||
export const CheckboxLabel = styled.label` | ||
font-weight: ${({ theme }) => theme.fontWeight.bold}; | ||
display: flex; | ||
align-items: center; | ||
gap: 0.7rem; | ||
align-items: center; | ||
font-size: ${({ theme }) => theme.fontSize.basic}; | ||
line-height: 1.5; | ||
`; |
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
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 |
---|---|---|
|
@@ -4,6 +4,5 @@ export const LandingPage = styled.div` | |
display: flex; | ||
flex-direction: column; | ||
gap: 7.7rem; | ||
margin-top: 4rem; | ||
`; |
14 changes: 14 additions & 0 deletions
14
frontend/src/pages/ReviewWritingFormPage/components/QuestionCard/index.tsx
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,14 @@ | ||
import { QuestionCardStyleType } from '@/types'; | ||
|
||
import * as S from './styles'; | ||
|
||
interface QuestionCardProps { | ||
questionType: QuestionCardStyleType; | ||
question: string; | ||
} | ||
|
||
const QuestionCard = ({ questionType, question }: QuestionCardProps) => { | ||
return <S.QuestionCard questionType={questionType}>{question}</S.QuestionCard>; | ||
}; | ||
|
||
export default QuestionCard; |
8 changes: 8 additions & 0 deletions
8
frontend/src/pages/ReviewWritingFormPage/components/QuestionCard/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,8 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
import { QuestionCardStyleType } from '@/types'; | ||
|
||
export const QuestionCard = styled.span<{ questionType: QuestionCardStyleType }>` | ||
font-size: ${({ theme }) => theme.fontSize.basic}; | ||
color: ${({ questionType, theme }) => (questionType === 'guideline' ? theme.colors.placeholder : theme.colors.black)}; | ||
`; |
20 changes: 20 additions & 0 deletions
20
frontend/src/pages/ReviewWritingFormPage/components/ReviewWritingCard/index.tsx
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,20 @@ | ||
import { EssentialPropsWithChildren } from '@/types'; | ||
|
||
import * as S from './styles'; | ||
|
||
interface ReviewWritingCardProps { | ||
title: string; | ||
} | ||
|
||
const ReviewWritingCard = ({ title, children }: EssentialPropsWithChildren<ReviewWritingCardProps>) => { | ||
return ( | ||
<S.Container> | ||
<S.Header> | ||
<S.Title>{title}</S.Title> | ||
</S.Header> | ||
<S.Main>{children}</S.Main> | ||
</S.Container> | ||
); | ||
}; | ||
|
||
export default ReviewWritingCard; |
23 changes: 23 additions & 0 deletions
23
frontend/src/pages/ReviewWritingFormPage/components/ReviewWritingCard/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,23 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const Container = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
`; | ||
|
||
export const Header = styled.div` | ||
width: 100%; | ||
height: 5rem; | ||
padding: 1rem 2rem; | ||
background-color: ${({ theme }) => theme.colors.lightPurple}; | ||
`; | ||
|
||
export const Main = styled.div` | ||
padding: 2rem; | ||
`; | ||
|
||
export const Title = styled.span` | ||
margin-bottom: 2rem; | ||
font-size: ${({ theme }) => theme.fontSize.mediumSmall}; | ||
font-weight: ${({ theme }) => theme.fontWeight.semibold}; | ||
`; |
2 changes: 2 additions & 0 deletions
2
frontend/src/pages/ReviewWritingFormPage/components/index.tsx
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,2 @@ | ||
export { default as QuestionCard } from './QuestionCard'; | ||
export { default as ReviewWritingCard } from './ReviewWritingCard'; |
Oops, something went wrong.