-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'test' of https://github.com/marina-yhm/readyBusinessFront…
… into test
- Loading branch information
Showing
27 changed files
with
960 additions
and
46 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,52 @@ | ||
import React, { useState } from "react"; | ||
import { useRecoilValue } from "recoil"; | ||
import { storeState } from "../../../Atom/status"; | ||
import StoreOff from "../../../assets/icons/Header/CloseLight.svg"; //영업종료 | ||
import LOGO from "../../../assets/icons/Header/LOGO.svg"; //로고 | ||
import StoreOn from "../../../assets/icons/Header/OpenLight.svg"; //영업중 | ||
import SoundOff from "../../../assets/icons/Header/SoundOff.svg"; //소리끔 | ||
import SoundOn from "../../../assets/icons/Header/SoundOn.svg"; //소리켬 | ||
import "./Header.css"; | ||
|
||
const Header = () => { | ||
const Store = useRecoilValue(storeState); | ||
const [Sound, setSound] = useState(1); | ||
|
||
const onClickHandler = (e) => { | ||
setSound(!Sound); | ||
}; | ||
|
||
return ( | ||
<div className="header2"> | ||
<div className="header2-wrapper"> | ||
<div> | ||
<img src={LOGO} className="LOGO" alt="LOGO" /> | ||
</div> | ||
<div className="head-container2"> | ||
{!Store ? ( | ||
<div className="store-group"> | ||
<div className="store-img__wrapper"><img src={StoreOn} alt="Open" /></div> | ||
<div className="header-font">영업중</div> | ||
</div> | ||
) : ( | ||
<div className="store-group"> | ||
<div className="store-img__wrapper"><img src={StoreOff} alt="Close" /></div> | ||
<div className="header-font">영업종료 </div> | ||
</div> | ||
)} | ||
{Sound ? ( | ||
<div className="header-img-wrapper"> | ||
<img src={SoundOn} onClick={onClickHandler} alt="SoundOn" /> | ||
</div> | ||
) : ( | ||
<div className="header-img-wrapper"> | ||
<img src={SoundOff} onClick={onClickHandler} alt="SoundOff" /> | ||
</div> | ||
)} | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Header; |
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,19 @@ | ||
const InvenBox = ({handleModal, invenProps: {category, name, soldOut}}) => { | ||
return( | ||
<> | ||
<div className={`mainInven-category-content__box ${soldOut ? 'selected' : ''}`}> | ||
<span className="mainInven-category-content__span1"> | ||
{!soldOut ? ( | ||
<div className="mainInven-category-checkbox" onClick={handleModal}></div> | ||
) : ( | ||
<div className="mainInven-category-checkbox selected"></div> | ||
)} | ||
</span> | ||
<span className="mainInven-category-content__span2">{category}</span> | ||
<span className="mainInven-category-content__span3">{name}</span> | ||
</div> | ||
</> | ||
); | ||
} | ||
|
||
export default InvenBox; |
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,6 +1,7 @@ | ||
.navbar { | ||
width: 8.875rem; | ||
height: 46.25rem; | ||
/* height: 42.5rem; */ | ||
background-color: #2e2d2d; | ||
|
||
display: flex; | ||
|
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,44 @@ | ||
.orderWait { | ||
display: flex; | ||
flex-wrap: wrap; | ||
align-content: flex-start; | ||
|
||
width: 100%; | ||
/* height: 100%; */ | ||
overflow-y: auto; | ||
} | ||
|
||
.listTable { | ||
display: flex; | ||
flex-wrap: wrap; | ||
align-content: flex-start; | ||
|
||
width: 100%; | ||
|
||
margin: auto; | ||
} | ||
|
||
.indexTable { | ||
color: #4f4f4f; | ||
font-family: "Light"; | ||
font-size: 1.375rem; | ||
font-style: normal; | ||
font-weight: 600; | ||
line-height: 100%; /* 1.375rem */ | ||
} | ||
|
||
.Wait-Row { | ||
display: flex; | ||
flex-wrap: wrap; | ||
align-content: center; | ||
|
||
width: 100%; | ||
height: 3.125rem; | ||
margin: auto; | ||
color: #4f4f4f; | ||
font-family: "Light"; | ||
font-size: 1.375rem; | ||
font-style: normal; | ||
font-weight: 600; | ||
line-height: 100%; /* 1.375rem */ | ||
} |
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,75 @@ | ||
.rounded-rectangle { | ||
width: 100%; /* 너비 설정 */ | ||
height: 97%; /* 높이 설정 */ | ||
background-color: #F5F5F5; /* 배경색 설정 */ | ||
border-radius: 1.875rem; /* 모서리를 둥글게 만드는 값 */ | ||
color: #000; /* 텍스트 색상 설정 */ | ||
box-shadow: 0px 0.25rem 0.375rem rgba(0, 0, 0, 0.25); | ||
} | ||
|
||
.Box { | ||
width: 100%; /* 너비 설정 */ | ||
height: 100%; /* 높이 설정 */ | ||
/* height: 42.5rem; */ | ||
/* padding-top: 5%; */ | ||
/* padding-left: 0; */ | ||
} | ||
|
||
.receiptHeader { | ||
padding-top: 10%; | ||
padding-left: 10%; | ||
display: flex; | ||
} | ||
|
||
.receipt-header { | ||
color: #000; | ||
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); | ||
font-family: "Bold"; | ||
font-size: 1.75rem; | ||
font-weight: 800; | ||
line-height: 130%; /* 2.275rem */ | ||
letter-spacing: -0.0175rem; | ||
} | ||
|
||
.receipt-btn__wrapper{ | ||
/* width: 80%; | ||
margin: 0 auto; */ | ||
height: 100%; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.receiptButton { | ||
display: flex; | ||
height: 5.5rem; | ||
} | ||
|
||
.receiptTextBox { | ||
display: flex; | ||
justify-content: space-between; | ||
|
||
padding: 3% 7% 1% 7%; | ||
} | ||
|
||
|
||
.receipt-text { | ||
color: #4f4f4f; | ||
font-family: "Light"; | ||
font-size: 1.25rem; | ||
font-weight: 600; | ||
line-height: 130%; /* 1.625rem */ | ||
font-size: 1.25rem; | ||
font-family: "SemiBold"; | ||
letter-spacing: -0.0125rem; | ||
} | ||
|
||
.receipt-divider { | ||
width: 19.4375rem; | ||
height: 0rem; | ||
|
||
border-top: 1px solid #838383; /* 색상과 굵기를 조절할 수 있습니다. */ | ||
margin: 20px 0; /* 위아래 여백을 조절할 수 있습니다. */ | ||
|
||
transform: translate(10%, -50%); | ||
} |
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 @@ | ||
.inven-wrapper{ | ||
display: flex; | ||
|
||
} | ||
|
||
nav{ | ||
width: 8.875rem; | ||
height: 46.25rem; | ||
/* height: 42.5rem; */ | ||
z-index: 1; | ||
} | ||
|
||
main{ | ||
width: calc(100vw - 8.875rem); | ||
} |
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.