-
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.
- Loading branch information
Showing
16 changed files
with
814 additions
and
9 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
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,15 @@ | ||
export const boothComment = [ | ||
{ | ||
id: 1, | ||
nickname: "닉네임1", | ||
created_at: "8/23 13:57", | ||
content: "맛있는데 가격이 너무 비싸요ㅜㅜㅜㅜ", | ||
}, | ||
{ | ||
id: 2, | ||
nickname: "닉네임2", | ||
created_at: "8/23 20:46", | ||
content: | ||
"너무 맛있었어요!! 내년에 또 해주세요~~ \n 댓글이 두줄일때 어쩌구저쩌구", | ||
}, | ||
]; |
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,22 @@ | ||
export const boothMenu = [ | ||
{ | ||
id: 1, | ||
name: "메뉴 이름1", | ||
price: 1000, | ||
}, | ||
{ | ||
id: 2, | ||
name: "메뉴 이름2", | ||
price: 2000, | ||
}, | ||
{ | ||
id: 3, | ||
name: "메뉴 이름3", | ||
price: 3000, | ||
}, | ||
{ | ||
id: 4, | ||
name: "메뉴 이름4", | ||
price: 4000, | ||
}, | ||
]; |
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,47 @@ | ||
import styled from "styled-components"; | ||
import star from "../../images/stars/star3.svg"; | ||
import { PyeongChang_Peace } from "../../components/Text"; | ||
|
||
const PartTitle = ({ title }) => { | ||
return ( | ||
<> | ||
<PartTitleContainer> | ||
<PartTitleTextContainer> | ||
<Star src={star} /> | ||
<PyeongChang_Peace size="16px" weight="300" color="var(--green3)"> | ||
{title} | ||
</PyeongChang_Peace> | ||
</PartTitleTextContainer> | ||
<Border /> | ||
</PartTitleContainer> | ||
</> | ||
); | ||
}; | ||
|
||
export default PartTitle; | ||
|
||
const PartTitleContainer = styled.div` | ||
width: 100%; | ||
height: 55px; | ||
padding: 0 20px; | ||
margin-top: 10px; | ||
`; | ||
|
||
const PartTitleTextContainer = styled.div` | ||
display: flex; | ||
align-items: center; | ||
margin-top: 30px; | ||
`; | ||
|
||
const Star = styled.img` | ||
width: 18px; | ||
height: 30px; | ||
margin-right: 10px; | ||
`; | ||
|
||
const Border = styled.div` | ||
border-bottom: 1px solid var(--gray); | ||
width: 100%; | ||
height: 0; | ||
margin-top: 7px; | ||
`; |
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,62 @@ | ||
import React from "react"; | ||
import styled from "styled-components"; | ||
|
||
// import font | ||
import { PyeongChang_Peace } from "../components/Text"; | ||
|
||
// import image | ||
import { ReactComponent as Backbutton } from "../images/navbar/back.svg"; | ||
|
||
const TitleBar = ({ children }) => { | ||
return ( | ||
<> | ||
<Background> | ||
<TopBar> | ||
<ButtonWrapper> | ||
<Backbutton></Backbutton> | ||
</ButtonWrapper> | ||
<TextWrapper> | ||
<PyeongChang_Peace weight="700" size="22px"> | ||
{children} | ||
</PyeongChang_Peace> | ||
</TextWrapper> | ||
</TopBar> | ||
</Background> | ||
<hr | ||
style={{ marginTop: "16px", backgroundColor: "#EAEAEA", width: "100%" }} | ||
/> | ||
</> | ||
); | ||
}; | ||
|
||
export default TitleBar; | ||
|
||
const TopBar = styled.div` | ||
display: flex; | ||
width: 100%; | ||
`; | ||
|
||
const ButtonWrapper = styled.div` | ||
/* position: absolute; | ||
z-index: 100; */ | ||
display: flex; | ||
align-items: center; | ||
margin-left: 16px; | ||
`; | ||
|
||
const TextWrapper = styled.div` | ||
display: inline; | ||
width: fit-content; | ||
margin: 0 auto; | ||
padding-right: 16px; | ||
`; | ||
|
||
const Background = styled.div` | ||
position: relative; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
padding-top: 47px; | ||
width: 100%; | ||
`; |
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
Oops, something went wrong.