-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into fix/login-flow
- Loading branch information
Showing
34 changed files
with
845 additions
and
164 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## What is this PR? 🔍 | ||
- 무슨 목적/이유로 구현했는지 | ||
|
||
### 🛠️ Issue | ||
- Closes #number | ||
|
||
## Changes 📝 | ||
- 작업한 내용 적어주세요 | ||
|
||
## To Reviewers 📢 | ||
- 이 부분 좀 같이 봐주세요 / 혹은 하고 싶은 말 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import React from 'react'; | ||
|
||
import { Row } from '@components/commons/Flex/Flex'; | ||
import Text from '@components/commons/Text/Text'; | ||
import { LoginButton as Button } from '@routes/Auth/login/Login.styles'; | ||
|
||
import { colors } from '@styles/theme'; | ||
|
||
interface LoginButtonProps { | ||
onClick: () => void; | ||
backgroundColor: string; | ||
color?: string; | ||
Icon: () => React.ReactNode; | ||
buttonText: string; | ||
} | ||
|
||
const LoginButton = ({ | ||
onClick, | ||
backgroundColor, | ||
color = colors.black, | ||
Icon, | ||
buttonText, | ||
}: LoginButtonProps) => ( | ||
<Button onClick={onClick} style={{ backgroundColor }}> | ||
<Row padding={'15px 20px'} justifyContent={'space-between'}> | ||
<Icon /> | ||
<Text size={16} color={color} weight={'bold'}> | ||
{buttonText} | ||
</Text> | ||
<div style={{ width: 18, height: 18 }} /> | ||
</Row> | ||
</Button> | ||
); | ||
|
||
export default LoginButton; |
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
69 changes: 69 additions & 0 deletions
69
src/components/TopicCreate/TopicCreateTextInput.styles.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,69 @@ | ||
import { styled } from 'styled-components'; | ||
|
||
import { colors } from '@styles/theme'; | ||
|
||
export const ReplaceButton = styled.div` | ||
display: flex; | ||
flex-direction: row; | ||
gap: 6px; | ||
align-items: center; | ||
justify-content: space-between; | ||
width: 111px; | ||
height: 18px; | ||
`; | ||
|
||
export const ReplaceIcon = styled.div` | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
width: 14px; | ||
height: 14px; | ||
`; | ||
|
||
export const TextInputContainer = styled.div` | ||
position: relative; | ||
box-sizing: border-box; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
width: 100%; | ||
height: 57px; | ||
overflow: hidden; | ||
background-color: transparent; | ||
border-radius: 10px; | ||
`; | ||
|
||
export const TextInputTextContainer = styled.div` | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
transform: translate(-50%, -50%); | ||
`; | ||
|
||
export const Input = styled.input` | ||
width: 100%; | ||
height: 100%; | ||
padding: 16px; | ||
font-size: 1.8rem; | ||
font-weight: 500; | ||
line-height: 1.4; | ||
color: ${colors.white}; | ||
background-color: rgb(77 59 124 / 40%); | ||
border: none; | ||
border-radius: 10px; | ||
outline: none; | ||
&::placeholder { | ||
color: ${colors.purple}; | ||
} | ||
`; | ||
|
||
export const InputSuffix = styled.div` | ||
position: absolute; | ||
top: 50%; | ||
right: 16px; | ||
transform: translateY(-50%); | ||
`; |
Oops, something went wrong.