-
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
271bb97
commit b1f12cb
Showing
4 changed files
with
61 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import "./Login.scss"; | ||
|
||
const Login = () => { | ||
return ( | ||
<div className="login-container"> | ||
<div className="card-container"> | ||
<img src={"https://t3.ftcdn.net/jpg/03/39/70/90/360_F_339709048_ZITR4wrVsOXCKdjHncdtabSNWpIhiaR7.jpg"} height="250px" /> | ||
<div> | ||
<input placeholder="Username" type={"text"} className="input-style"/> | ||
</div> | ||
<div> | ||
<input placeholder="Password" type={"password"} className="input-style"/> | ||
</div> | ||
<button className="button-style">Login</button> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default Login; |
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,39 @@ | ||
.login-container { | ||
height: 100vh; | ||
width: 100vw; | ||
background-image: url("https://wallpaperaccess.com/full/2905071.jpg"); | ||
object-fit: contain; | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
background-size: cover; | ||
|
||
.card-container { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
padding: 20px; | ||
margin: 20vh 0 0 10vw; | ||
background-color: white; | ||
width: max-content; | ||
|
||
.input-style { | ||
border: 1px solid lightgray; | ||
font-size: 1rem; | ||
padding: 15px 50px; | ||
margin: 5% 0; | ||
} | ||
|
||
.button-style { | ||
display: flex; | ||
justify-content: center; | ||
width: max-content; | ||
padding: 15px 50px; | ||
border-radius: 15px; | ||
background-color: #6439ff; | ||
margin-top: 3%; | ||
color: white; | ||
font-weight: bold; | ||
font-family: "Nunito"; | ||
} | ||
} | ||
} |
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