-
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.
- Loading branch information
Showing
6 changed files
with
122 additions
and
8 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,37 @@ | ||
export const post = [ | ||
{ | ||
"id": 1, | ||
"title": "취업", | ||
"author": "yeoul", | ||
"content": "급여", | ||
"isLike": true, | ||
}, | ||
{ | ||
"id": 2, | ||
"title": "실업", | ||
"author": "yeoul", | ||
"content": "퇴직", | ||
"isLike": true, | ||
}, | ||
{ | ||
"id": 3, | ||
"title": "보험", | ||
"author": "yeoul", | ||
"content": "고용", | ||
"isLike": true, | ||
}, | ||
{ | ||
"id": 4, | ||
"title": "임금", | ||
"author": "yeoul", | ||
"content": "보험", | ||
"isLike": true, | ||
}, | ||
{ | ||
"id": 5, | ||
"title": "직장 내 괴롭힘", | ||
"author": "yeoul", | ||
"content": "실업", | ||
"isLike": true, | ||
}, | ||
] |
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,28 @@ | ||
.search-container{ | ||
position: relative; | ||
width: 35.875rem; | ||
height: 3.625rem; | ||
background: #FFF; | ||
} | ||
|
||
.search-input{ | ||
width:100%; | ||
height: 100%; | ||
border-radius: 2.5rem; | ||
border: 2px solid #A5A5A5; | ||
color: #999; | ||
text-align: center; | ||
font-feature-settings: 'clig' off, 'liga' off; | ||
font-family: DM Sans; | ||
font-size: 1rem; | ||
font-style: normal; | ||
font-weight: 400; | ||
} | ||
|
||
.search-icon{ | ||
position: absolute; | ||
width: 1.5rem; | ||
height: 1.5rem; | ||
top: 1.3rem; | ||
left: 3rem; | ||
} |
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,18 @@ | ||
const Table = ({ data }) => { | ||
return ( | ||
<table> | ||
<tbody> | ||
<tr> | ||
<th>Title</th> | ||
</tr> | ||
{data.map((item) => ( | ||
<tr key={item.id}> | ||
<td>{item.title}</td> | ||
</tr> | ||
))} | ||
</tbody> | ||
</table> | ||
); | ||
}; | ||
|
||
export default Table; |
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 |
---|---|---|
@@ -1,14 +1,26 @@ | ||
|
||
import SearchBar from "../Component/SearchBar"; | ||
|
||
import styled from 'styled-components'; | ||
|
||
function Search(){ | ||
return( | ||
<div> | ||
<SearchContainer> | ||
<h2>나의 Job을 슬기롭게 일구다</h2> | ||
<p>취업 준비, 혹은 직장 생활 중의 고민거리나 어려움을 나누고 현명하게 해결하세요</p> | ||
<SearchBar /> | ||
</div> | ||
</SearchContainer> | ||
) | ||
} | ||
|
||
export default Search; | ||
export default Search; | ||
|
||
const SearchContainer = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
text-align: center; | ||
margin-top: 2rem; | ||
margin-bottom: 2rem; | ||
` |