-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rename : Rename pull_request_template.md to pull_request_template.md * feat : 전역 스타일링 설정 * feat : #2-1 화면 구성 * fix : Logo를 컴포넌트로 변경 * fix : 모달 컴포넌트 오류 수정 * feat : #2-1 화면 구성 * feat : #2-1 화면 구성 --------- Co-authored-by: ChoiSangwon <[email protected]>
- Loading branch information
1 parent
305dba7
commit 9571712
Showing
20 changed files
with
425 additions
and
39 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import styled from 'styled-components' | ||
import TYPO from '@/styles/typo/TYPO' | ||
|
||
export const Container = styled.div` | ||
display: flex; | ||
justify-content: right; | ||
gap: 0rem 1rem; | ||
width: 12.5rem; | ||
height: 2.25rem; | ||
` | ||
|
||
export const Access = styled.div` | ||
${TYPO.MEDIUM_M} | ||
display: flex; | ||
align-items: center; | ||
justify-content: right; | ||
cursor: pointer; | ||
` |
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,17 @@ | ||
import * as styles from './Access.styles' | ||
|
||
interface AccessComponentProps { | ||
leftButton: string | ||
rightButton: string | ||
} | ||
|
||
const Access = ({ leftButton, rightButton }: AccessComponentProps) => { | ||
return ( | ||
<styles.Container> | ||
<styles.Access>{leftButton}</styles.Access> | ||
<styles.Access>{rightButton}</styles.Access> | ||
</styles.Container> | ||
) | ||
} | ||
|
||
export default Access |
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,21 @@ | ||
import styled from 'styled-components' | ||
import TYPO from '@/styles/typo/TYPO' | ||
|
||
export const Container = styled.div` | ||
display: flex; | ||
gap: 0rem 1rem; | ||
justify-content: left; | ||
padding: 0rem 1rem 0rem 1rem; | ||
width: 100%; | ||
height: max-content; | ||
` | ||
|
||
export const Id = styled.div` | ||
${TYPO.BOLD_R} | ||
line-height: 2rem; | ||
` | ||
|
||
export const Context = styled.div` | ||
${TYPO.LIGHT_R} | ||
line-height: 2rem; | ||
` |
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,17 @@ | ||
import * as styles from './Chatting.styles' | ||
|
||
interface AccessComponentProps { | ||
id: string | ||
context: string | ||
} | ||
|
||
const AccessComponent = ({ id, context }: AccessComponentProps) => { | ||
return ( | ||
<styles.Container> | ||
<styles.Id>{id}</styles.Id> | ||
<styles.Context>{context}</styles.Context> | ||
</styles.Container> | ||
) | ||
} | ||
|
||
export default AccessComponent |
File renamed without changes.
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,17 @@ | ||
import styled from 'styled-components' | ||
|
||
interface LogoProps { | ||
logo: string | ||
} | ||
|
||
export const Logo = styled.img<LogoProps>` | ||
width: 12.5rem; | ||
height: ${(props) => { | ||
if (props.logo === 'wide') { | ||
return '6.25rem' | ||
} else { | ||
return '12.5rem' | ||
} | ||
}}; | ||
cursor: pointer; | ||
` |
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,13 @@ | ||
import * as styles from './Logo.styles' | ||
|
||
interface LogoComponentProps { | ||
logo: 'wide' | 'box' | ||
} | ||
|
||
const Logo = ({ logo }: LogoComponentProps) => { | ||
const src = logo === 'wide' ? '/src/assets/images/wide-logo.svg' : '/src/assets/images/box-logo.svg' | ||
|
||
return <styles.Logo src={src} logo={logo} /> | ||
} | ||
|
||
export default Logo |
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,4 +1,5 @@ | ||
import { useState } from 'react' | ||
|
||
import * as styles from './LoginModal.styles' | ||
|
||
interface LoginModalProps { | ||
|
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
Oops, something went wrong.