-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 프로젝트 전체 폴더 구조 세팅 - 메인 페이지 전체 레이아웃 기본 세팅 - 이외 변경사항 : index.html 파일의 title 프로젝트명으로 수정 (StockHolm) Issues #29
- Loading branch information
1 parent
58eb6cd
commit 0676dab
Showing
10 changed files
with
16,306 additions
and
1,919 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
Large diffs are not rendered by default.
Oops, something went wrong.
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,7 +1,8 @@ | ||
import "./App.css"; | ||
import MainPage from "./page/MainPage"; | ||
|
||
function App() { | ||
return <div></div>; | ||
return <MainPage />; | ||
} | ||
|
||
export default App; |
Empty file.
Empty file.
Empty file.
Empty file.
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,55 @@ | ||
import { styled } from "styled-components"; | ||
|
||
const MainPage = () => { | ||
return ( | ||
<Container> | ||
<Header /> | ||
<Main> | ||
<LeftSection></LeftSection> | ||
<CentralSection></CentralSection> | ||
<RightSection></RightSection> | ||
</Main> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default MainPage; | ||
|
||
const Container = styled.div` | ||
width: 100vw; | ||
height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
`; | ||
|
||
const Header = styled.header` | ||
width: 100%; | ||
height: 51px; | ||
border: 1px solid black; | ||
`; | ||
|
||
const Main = styled.main` | ||
width: 100%; | ||
height: 100%; | ||
display: flex; | ||
flex-direction: row; | ||
`; | ||
|
||
const LeftSection = styled.section` | ||
min-width: 248px; | ||
height: 100%; | ||
border: 1px solid black; | ||
`; | ||
|
||
const RightSection = styled.section` | ||
flex: 3.3 0 0; | ||
min-width: 400px; | ||
height: 100%; | ||
border: 1px solid black; | ||
`; | ||
|
||
const CentralSection = styled.section` | ||
flex: 6.7 0 0; | ||
min-width: 630px; | ||
height: 100%; | ||
`; |
Empty file.