-
Notifications
You must be signed in to change notification settings - Fork 9
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 #50 from thdwlsgus0/feature/layout
feature/#8/title, 수식, 템플릿 전체 레이아웃 html 작성(기호와 resizing은 아직 넣지 않았습니다.)
- Loading branch information
Showing
15 changed files
with
147 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
import * as StyledComponent from './style'; | ||
|
||
export interface NameProps { | ||
title?: string; | ||
} | ||
|
||
const Title = ({ title }: NameProps) => { | ||
return ( | ||
<StyledComponent.TitleContainer>{title}</StyledComponent.TitleContainer> | ||
); | ||
}; | ||
|
||
export default Title; |
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,9 @@ | ||
import styled from 'styled-components'; | ||
import colors from '@src/utils/colors'; | ||
|
||
export const TitleContainer = styled.div` | ||
font-size: 20px; | ||
font-weight: bold; | ||
padding: 10px 10px; | ||
border-bottom: 1px solid ${colors.borderGrey}; | ||
`; |
12 changes: 12 additions & 0 deletions
12
src/components/leftsection/inputSelectionSection/InputBottomSelectionSection.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,12 @@ | ||
import React from 'react'; | ||
import * as StyledComponent from 'styled-components'; | ||
|
||
const InputBottomSelectionSection = () => { | ||
return ( | ||
<> | ||
<div /> | ||
</> | ||
); | ||
}; | ||
|
||
export default InputBottomSelectionSection; |
12 changes: 12 additions & 0 deletions
12
src/components/leftsection/inputSelectionSection/InputTopSelectionSection.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,12 @@ | ||
import React from 'react'; | ||
import * as StyledComponent from './style'; | ||
|
||
const InputTopSelectionSection = () => { | ||
return ( | ||
<> | ||
<StyledComponent.InputTopSelectionSectionContainer /> | ||
</> | ||
); | ||
}; | ||
|
||
export default InputTopSelectionSection; |
19 changes: 19 additions & 0 deletions
19
src/components/leftsection/inputSelectionSection/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,19 @@ | ||
import React from 'react'; | ||
import Title from '@src/components/common/title'; | ||
import MULTIPLY from '@src/utils/svg/leftsection/inputselection/multiply.svg'; | ||
import * as StyledComponent from './style'; | ||
|
||
const InputSelectionSectionContainer = () => { | ||
return ( | ||
<> | ||
<StyledComponent.InputSectionContainer> | ||
<Title title="입력 선택" /> | ||
<StyledComponent.InputTopSelectionSectionContainer> | ||
<MULTIPLY /> | ||
</StyledComponent.InputTopSelectionSectionContainer> | ||
</StyledComponent.InputSectionContainer> | ||
</> | ||
); | ||
}; | ||
|
||
export default InputSelectionSectionContainer; |
15 changes: 15 additions & 0 deletions
15
src/components/leftsection/inputSelectionSection/style.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,15 @@ | ||
import styled from 'styled-components'; | ||
import colors from '@src/utils/colors'; | ||
|
||
export const InputSectionContainer = styled.div` | ||
background-color: ${colors.containerBackground}; | ||
width: 95%; | ||
height: 40%; | ||
margin-top: 10px; | ||
border: 1px solid ${colors.borderGrey}; | ||
`; | ||
export const InputTopSelectionSectionContainer = styled.div` | ||
width: 100%; | ||
height: 44%; | ||
border-bottom: 1px solid ${colors.borderGrey}; | ||
`; |
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 React from 'react'; | ||
import Title from '@src/components/common/title'; | ||
import * as StyledComponent from './style'; | ||
|
||
const MathSectionContainer = () => { | ||
return ( | ||
<> | ||
<StyledComponent.MathSectionContainer> | ||
<Title title="수식" /> | ||
</StyledComponent.MathSectionContainer> | ||
</> | ||
); | ||
}; | ||
export default MathSectionContainer; |
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,10 @@ | ||
import styled from 'styled-components'; | ||
import colors from '@src/utils/colors'; | ||
|
||
export const MathSectionContainer = styled.div` | ||
background-color: ${colors.containerBackground}; | ||
width: 95%; | ||
height: 25%; | ||
margin-top: 14px; | ||
border: 1px solid ${colors.borderGrey}; | ||
`; |
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,15 @@ | ||
import React from 'react'; | ||
import Title from '@src/components/common/title'; | ||
import * as StyledComponent from './style'; | ||
|
||
const TemplateSectionContainer = () => { | ||
return ( | ||
<> | ||
<StyledComponent.TemplateSectionContainer> | ||
<Title title="템플릿" /> | ||
</StyledComponent.TemplateSectionContainer> | ||
</> | ||
); | ||
}; | ||
|
||
export default TemplateSectionContainer; |
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,10 @@ | ||
import styled from 'styled-components'; | ||
import colors from '@src/utils/colors'; | ||
|
||
export const TemplateSectionContainer = styled.div` | ||
background-color: ${colors.containerBackground}; | ||
width: 95%; | ||
height: 25%; | ||
margin-top: 14px; | ||
border: 1px solid ${colors.borderGrey}; | ||
`; |
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
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.