-
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
1 parent
36b2e38
commit 2cf5a8f
Showing
6 changed files
with
106 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,30 @@ | ||
import styled from "styled-components"; | ||
import { flexColumn } from "styles/flex"; | ||
import { COLOR } from "styles/color"; | ||
|
||
export const Title = styled.div` | ||
box-shadow: 0px -4px 4px rgba(0, 0, 0, 0.25); | ||
font-size: 2rem; | ||
font-weight: bold; | ||
padding: 16px 10px 0px 10px; | ||
`; | ||
|
||
export const Content = styled.div` | ||
${flexColumn}; | ||
align-items: center; | ||
justify-content: space-between; | ||
width: 100%; | ||
height: 380px; | ||
padding: 15px 19px; | ||
div { | ||
margin-bottom: 10px; | ||
width: 100%; | ||
color: ${COLOR.DARK_GRAY}; | ||
display: flex; | ||
justify-content: space-between; | ||
p { | ||
font-weight: 500; | ||
color: ${COLOR.BLACK}; | ||
} | ||
} | ||
`; |
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,45 @@ | ||
import Header from "#components/Header/Header"; | ||
import Button from "#components/Button/Button"; | ||
import useMap from "#hooks/useMap"; | ||
import { Content, Title } from "./RecruitDetail.styles"; | ||
|
||
const RecruitDetail = () => { | ||
const { renderMap } = useMap({ | ||
height: `${window.innerHeight - 500}px`, | ||
center: { lat: 33.450701, lng: 126.570667 }, | ||
}); | ||
return ( | ||
<> | ||
<Header loggedIn={true} text="모집 상세"></Header> | ||
{renderMap()} | ||
<Title>달려~달려~</Title> | ||
<Content> | ||
<div> | ||
<span>출발점</span> | ||
<p>잠실동 33-3</p> | ||
</div> | ||
<div> | ||
<span>페이스</span> | ||
<p>3'30"/km</p> | ||
</div> | ||
<div> | ||
<span>집합 일시</span> | ||
<p>2022년 11월 11일 오후 07시</p> | ||
</div> | ||
<div> | ||
<span>게시자</span> | ||
<p>gchoi96</p> | ||
</div> | ||
<div> | ||
<span>참가 현황</span> | ||
<p>1 / 5</p> | ||
</div> | ||
<Button width="fit" onClick={() => alert("참여 API 날림~")}> | ||
참여하기 | ||
</Button> | ||
</Content> | ||
</> | ||
); | ||
}; | ||
|
||
export default RecruitDetail; |