-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added forgot password page * added container Co-authored-by: Aniket Kaushik <aniket@saeloun.com>
- Loading branch information
1 parent
c1fb960
commit 31b85ca
Showing
3 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
app/javascript/components/Account/ForgotPasswordPage/index.tsx
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,46 @@ | ||
import * as React from "react"; | ||
|
||
import Container from "../../Container"; | ||
|
||
const ForgotPasswordPage = () => ( | ||
<Container> | ||
<h2 className="font-medium text-center text-3xl lg:text-4xl text-miru-1000 mb-5"> | ||
Miru | ||
</h2> | ||
<div className="p-5 2xl:p-10 shadow-xl rounded-lg"> | ||
<h2 className="text-miru-1000 lg:mb-3 text-base font-medium"> | ||
Forgot Password | ||
</h2> | ||
|
||
<form> | ||
<div className="field"> | ||
<label htmlFor="email" className="text-xs text-miru-1000"> | ||
</label> | ||
<br /> | ||
<input | ||
type="email" | ||
className="h-8 w-full focus:outline-none bg-miru-200 text-sm" | ||
id="email" | ||
/> | ||
</div> | ||
|
||
<div className="actions"> | ||
<button | ||
type="submit" | ||
className="mt-5 h-8 w-full bg-miru-400 font-bold text-white text-base hover:bg-miru-1000" | ||
> | ||
RESET PASSWORD | ||
</button> | ||
</div> | ||
</form> | ||
<div className="text-center m-2"> | ||
<p className="text-center text-miru-400 text-xs hover:text-miru-1000"> | ||
<a href="/login">Sign In</a> | ||
</p> | ||
</div> | ||
</div> | ||
</Container> | ||
); | ||
|
||
export default ForgotPasswordPage; |
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,9 @@ | ||
import * as React from "react"; | ||
|
||
const Container = ({ children }) => ( | ||
<div className="pt-10/100 px-10 xsm:px-20/100 sm:px-26/100 md:px-30/100 lg:px-32/100 xl:px-36/100"> | ||
<div className="font-jakartasans">{children}</div> | ||
</div> | ||
); | ||
|
||
export default Container; |