-
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
270 additions
and
46 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,83 @@ | ||
import formStyle from "../styles/SellerForm.module.css"; | ||
const SellerForm = () => { | ||
return ( | ||
<div className={formStyle.wrapper}> | ||
<div className={formStyle.imageBox}> | ||
|
||
</div> | ||
<div className={formStyle.content}> | ||
<div className={formStyle.formBox}> | ||
<form action=""> | ||
<h2>Become a Seller</h2> | ||
<div className={formStyle.inputBox}> | ||
<label htmlFor="accountbank">Account Bank:</label> | ||
<input | ||
className="input" | ||
type="text" | ||
placeholder="Account Bank" | ||
required | ||
/> | ||
</div> | ||
<div className={formStyle.inputBox}> | ||
<label htmlFor="accountnumber">Account Number:</label> | ||
<input | ||
className="input" | ||
type="number" | ||
placeholder="Account Number" | ||
required | ||
/> | ||
</div> | ||
<div className={formStyle.inputBox}> | ||
<label htmlFor="storename">Store Name:</label> | ||
<input | ||
className="input" | ||
type="text" | ||
placeholder="Store Name" | ||
required | ||
/> | ||
</div> | ||
<div className={formStyle.inputBox}> | ||
<label htmlFor="starttime">Start Time:</label> | ||
<input | ||
className="input" | ||
type="time" | ||
placeholder="Start Time" | ||
required | ||
/> | ||
</div> | ||
<div className={formStyle.inputBox}> | ||
<label htmlFor="closingtime">Closing Time:</label> | ||
<input | ||
className="input" | ||
type="time" | ||
placeholder="Closing Time" | ||
required | ||
/> | ||
</div> | ||
<div className={formStyle.inputBox}> | ||
<label htmlFor="latitude">Latitude:</label> | ||
<input | ||
className="input" | ||
type="text" | ||
placeholder="Latitude" | ||
required | ||
/> | ||
</div> | ||
<div className={formStyle.inputBox}> | ||
<label htmlFor="longitude">Longitude:</label> | ||
<input | ||
className="input" | ||
type="text" | ||
placeholder="Longitude" | ||
required | ||
/> | ||
</div> | ||
|
||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default SellerForm |
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,7 @@ | ||
import SellerForm from "../components/SellerForm" | ||
|
||
export default function Seller() { | ||
return ( | ||
<SellerForm/> | ||
) | ||
} |
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,110 @@ | ||
.wrapper{ | ||
position: relative; | ||
width: 100%; | ||
height: 100vh; | ||
display: flex; | ||
} | ||
|
||
.wrapper .imageBox{ | ||
|
||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
.wrapper .content{ | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 100%; | ||
height: 100%; | ||
z-index: 1; | ||
|
||
} | ||
|
||
.wrapper .content .formBox{ | ||
width: 50%; | ||
padding: 40px; | ||
|
||
margin: 50px; | ||
} | ||
|
||
.wrapper .content .formBox h2{ | ||
color: orange; | ||
font-weight: 600; | ||
font-size: 1.5em; | ||
text-transform: uppercase; | ||
margin-bottom: 20px; | ||
border-bottom: 4px solid orange; | ||
display: inline-block; | ||
letter-spacing: 1px; | ||
} | ||
|
||
.wrapper .content .formBox .inputBox{ | ||
margin-bottom: 20px; | ||
} | ||
|
||
.wrapper .content .formBox .inputBox{ | ||
margin-bottom: 20px; | ||
} | ||
|
||
.wrapper .content .formBox .inputBox input{ | ||
width: 100%; | ||
padding: 10px 20px; | ||
outline: none; | ||
font-weight: 400; | ||
border: 1px solid orange; | ||
font-size: 16px; | ||
letter-spacing: 1px; | ||
color: orange; | ||
background: transparent; | ||
border-radius: 30px; | ||
} | ||
|
||
.wrapper .content .formBox .inputBox input[type="submit"]{ | ||
background: orange; | ||
color: white; | ||
outline: none; | ||
border: none; | ||
font-weight: 500; | ||
cursor: pointer; | ||
} | ||
.wrapper .content .formBox .inputBox input[type="submit"]:hover{ | ||
background: teal; | ||
} | ||
.wrapper .content .formBox .inputBox p{ | ||
color: teal; | ||
} | ||
|
||
.wrapper .content .formBox .inputBox p a{ | ||
color: teal; | ||
} | ||
|
||
.formGroup button{ | ||
white-space: nowrap; | ||
} | ||
@media (max-width: 768px){ | ||
.wrapper .imageBox{ | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.wrapper .content{ | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 100%; | ||
height: 100%; | ||
z-index: 1; | ||
} | ||
.wrapper .content .formBox{ | ||
width: 100%; | ||
padding: 40px; | ||
background: rgb(255 255 255 / 0.9); | ||
margin: 50px; | ||
} | ||
} |