-
Notifications
You must be signed in to change notification settings - Fork 5
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
35 changed files
with
2,069 additions
and
108 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.
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
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
34 changes: 34 additions & 0 deletions
34
FITple-Frontend/src/components/BrandNumberSearch/BrandNumberSearch.jsx
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,34 @@ | ||
import { | ||
SearchBox, | ||
Searchtitle, | ||
SearchInputBox, | ||
SearchIconBox, | ||
Container, | ||
TitleContainer, | ||
Xiconbox, | ||
} from "./BrandNumberSearch.style"; | ||
import SearchIcon from "/assets/SearchIcon.svg"; | ||
import XIcon from "/assets/Xicon.svg"; | ||
|
||
const BrandNumberSearch = ({ onClose }) => { | ||
const handleClose = () => { | ||
onClose(); | ||
}; | ||
return ( | ||
<Container> | ||
<TitleContainer> | ||
<Searchtitle>제품번호 검색</Searchtitle> | ||
<Xiconbox onClick={handleClose}> | ||
<img src={XIcon} /> | ||
</Xiconbox> | ||
</TitleContainer> | ||
<SearchBox> | ||
<SearchIconBox> | ||
<img src={SearchIcon} /> | ||
</SearchIconBox> | ||
<SearchInputBox type="text" placeholder="제품번호를 입력하세요." /> | ||
</SearchBox> | ||
</Container> | ||
); | ||
}; | ||
export default BrandNumberSearch; |
67 changes: 67 additions & 0 deletions
67
FITple-Frontend/src/components/BrandNumberSearch/BrandNumberSearch.style.js
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,67 @@ | ||
import styled from "styled-components"; | ||
export const Container = styled.div` | ||
display: flex; | ||
position: absolute; | ||
justify-content: flex-start; | ||
flex-direction: column; | ||
width: 430px; | ||
height: 600px; | ||
background-color: white; | ||
border-radius: 20px; | ||
margin-left: 450px; | ||
`; | ||
export const TitleContainer = styled.div` | ||
display: flex; | ||
position: relative; | ||
justify-content: flex-end; | ||
margin-top: 30px; | ||
margin-bottom: 30px; | ||
`; | ||
export const Xiconbox = styled.div` | ||
display: flex; | ||
justify-content: flex-end; | ||
margin-right: 20px; | ||
margin-left: 110px; | ||
cursor: pointer; | ||
`; | ||
export const SearchBox = styled.div` | ||
height: 61px; | ||
width: 400px; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
position: relative; | ||
margin-left: 20px; | ||
`; | ||
export const SearchInputBox = styled.input` | ||
width: 100%; | ||
height: 100%; | ||
font-size: 16px; | ||
font-weight: 500; | ||
box-sizing: border-box; | ||
border: 4px solid #838383; | ||
border-radius: 30px; | ||
padding-left: 20px; | ||
color: #838383; | ||
outline: none; | ||
box-shadow: 0px 1px 3px #0000001a, 0px 5px 5px #00000017, | ||
0px 11px 6px #0000000d, 0px 19px 8px #00000003, 0px 29px 8px #00000000; | ||
`; | ||
|
||
export const SearchIconBox = styled.button` | ||
background: none; | ||
border: none; | ||
cursor: pointer; | ||
position: absolute; | ||
padding: 0px; | ||
right: 20px; | ||
`; | ||
//브랜드검색글씨 | ||
export const Searchtitle = styled.div` | ||
align-items: center; | ||
font-size: 24px; | ||
font-family: "SUIT Variable", sans-serif; | ||
font-weight: 700; | ||
color: #0276fe; | ||
margin-left: 30px; | ||
`; |
34 changes: 34 additions & 0 deletions
34
FITple-Frontend/src/components/BrandSearch/BrandSearch.jsx
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,34 @@ | ||
import { | ||
SearchBox, | ||
Searchtitle, | ||
SearchInputBox, | ||
SearchIconBox, | ||
Container, | ||
TitleContainer, | ||
Xiconbox, | ||
} from "./BrandSearch.style"; | ||
import SearchIcon from "/assets/SearchIcon.svg"; | ||
import XIcon from "/assets/Xicon.svg"; | ||
|
||
const BrandSearch = ({ onClose }) => { | ||
const handleClose = () => { | ||
onClose(); | ||
}; | ||
return ( | ||
<Container> | ||
<TitleContainer> | ||
<Searchtitle>브랜드 검색</Searchtitle> | ||
<Xiconbox onClick={handleClose}> | ||
<img src={XIcon} /> | ||
</Xiconbox> | ||
</TitleContainer> | ||
<SearchBox> | ||
<SearchIconBox> | ||
<img src={SearchIcon} /> | ||
</SearchIconBox> | ||
<SearchInputBox placeholder="브랜드를 입력하세요." /> | ||
</SearchBox> | ||
</Container> | ||
); | ||
}; | ||
export default BrandSearch; |
Oops, something went wrong.