-
Notifications
You must be signed in to change notification settings - Fork 3
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 #918 from woowacourse-teams/FE/dev
[FE] 🚀 테스트 서버 배포
- Loading branch information
Showing
41 changed files
with
404 additions
and
358 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
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
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
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.
Oops, something went wrong.