Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
feat :: MainView
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyun0220 committed Aug 26, 2024
1 parent bd75f82 commit c94b9a1
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 1 deletion.
Binary file added crescendo-web/.DS_Store
Binary file not shown.
Binary file modified crescendo-web/src/image/.DS_Store
Binary file not shown.
Binary file added crescendo-web/src/image/button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added crescendo-web/src/image/var.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 53 additions & 1 deletion crescendo-web/src/pages/Main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,56 @@
background-color: #895D3C;
width: 100%;
height: 15px;
}
margin-bottom: 10px;
}
.container {
display: flex;
flex-direction: column; /* 세로 방향으로 배치 */
align-items: center; /* 수평 가운데 정렬 */
justify-content: flex-start; /* 상단에 붙이기 */
height: 100vh; /* 전체 화면 높이 */
padding: 0; /* 패딩 제거 */
margin: 0; /* 기본 여백 제거 */
box-sizing: border-box; /* 패딩과 테두리가 전체 크기에 포함되도록 설정 */
}
.text {
background-color: none;
border-radius: 50px;
border: solid 0.2px #714C2F;
height: 42px;
width: 380px;
margin-top: 10px;
font-size: 20px;
}
h4 {
font-size: 24px;
color: #714C2F;
margin-right: 150px;
}
h5 {
font-size: 24px;
color: #714C2F;
margin-right: 260px;
}
.Todo {
background-color: none;
border-radius: 20px;
border: solid 1px #714C2F;
width: 380px;
height: 273px;
}
.underline {
background-color: #714C2F;
width: 380px;
height: 2px;
}
.plus {
width: 80px;
height: 80px;
border-radius: 50%;;
}
.under {
position: fixed;
margin-top: 700px;
margin-left: 340px;
}
13 changes: 13 additions & 0 deletions crescendo-web/src/pages/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,20 @@ import "./Main.css";

function Main() {
return (
<div className="container">
<div className="box"></div>
<img src={require("../image/var.png")} width="440px"/>
<input className="text"></input>
<h4>오늘의 추천 Todo 🔥</h4>
<div className="Todo"></div>
<h5>My Todo</h5>
<div className="underline"></div>
<div className="under">
<button className="plus">
<img src={require("../image/button.png")} className="plus"></img>
</button>
</div>
</div>
);
}

Expand Down
Binary file added images/.DS_Store
Binary file not shown.

0 comments on commit c94b9a1

Please sign in to comment.