-
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.
Merge pull request #120 from bounswe/bugra-feature
Bugra feature
- Loading branch information
Showing
8 changed files
with
293 additions
and
19 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
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,56 @@ | ||
.forgotPassword-container { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
background-color: #312f60; /* Adjust the color to match your design */ | ||
} | ||
|
||
.forgotPassword-form { | ||
background-color: #8899f9; | ||
padding: 20px; | ||
border-radius: 20px; | ||
width: 300px; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
text-align: center; | ||
} | ||
|
||
.forgotPassword-form input { | ||
display: block; | ||
width: 80%; | ||
margin: 10px auto; | ||
padding: 10px; | ||
border: none; | ||
border-radius: 20px; | ||
} | ||
|
||
.input-item { | ||
color: #c4a6dd; | ||
background-color: #c4a6dd; | ||
} | ||
|
||
.forgotPassword-form button { | ||
margin-top: 20px; | ||
padding: 10px 20px; | ||
background-color: #c4a6dd; | ||
color: black; | ||
border: none; | ||
border-radius: 20px; | ||
cursor: pointer; | ||
} | ||
.forgotPassword-header h1 { | ||
margin-bottom: 20px; | ||
color: white; | ||
font-size: 16px; | ||
} | ||
|
||
.logo { | ||
max-width: 150px; | ||
height: auto; | ||
border-radius: 20px; | ||
} | ||
|
||
.forgot-password-epxlanation{ | ||
font-size: 6px; | ||
} | ||
|
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,38 @@ | ||
import React, { useState } from 'react'; | ||
import './ForgotPassword.css'; // Similar styling as # | ||
|
||
function Login() { | ||
const [email, setemail] = useState(''); | ||
|
||
const handleSubmit = (event) => { | ||
event.preventDefault(); | ||
// Handle the login logic here, typically sending a request to backend | ||
console.log('Logging in', { email}); | ||
}; | ||
|
||
return ( | ||
<div className="forgotPassword-container"> | ||
<div className="forgotPassword-form"> | ||
<div className="forgotPassword-header"> | ||
<img src="/logo.png" alt="Logo" className="logo" /> | ||
<h1>Forgot Password</h1> | ||
</div> | ||
<div className = "forgot-password-epxlanation"> | ||
<h1>Type your email so that we can send you a verification code to reset your password</h1> | ||
</div> | ||
<form onSubmit={handleSubmit}> | ||
<input | ||
type="text" | ||
placeholder="email" | ||
value={email} | ||
onChange={(e) => setemail(e.target.value)} | ||
className="input-item" | ||
/> | ||
<button type="submit">Send Verification</button> | ||
</form> | ||
</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