-
Notifications
You must be signed in to change notification settings - Fork 2
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 #7 from favourite1975/fixing-branch
Fix: minor changes
- Loading branch information
Showing
7 changed files
with
407 additions
and
37 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 |
---|---|---|
|
@@ -8,18 +8,19 @@ import { Post } from '../Utils/request'; | |
import {save as StorageSave} from '../Utils/storage' | ||
|
||
const Login = () => { | ||
const [state, setState] = useState({ | ||
const [state, setState] = useState({ | ||
username:'', | ||
password:'' | ||
}) | ||
|
||
|
||
const [progress, setProgress] = useState({ | ||
error:[false, undefined], | ||
loading:false | ||
}) | ||
return ( | ||
<main className="min-h-screen flex bg-dark text-white"> | ||
<AuthBanner heading='Login to Your Account' suggest={( | ||
<AuthBanner heading='Login to Your Account' subHeading='Welcome Back, Continue from where you stopped' suggest={( | ||
<p className='absolute top-0 text-xs p-4'> | ||
<span className="opacity-80"> Don't Have an Account Yet? ?</span> <Link to='/register' className='text-primary transition-all underline hover:decoration-double'>Sign up</Link> | ||
</p> | ||
|
@@ -46,12 +47,13 @@ const Login = () => { | |
} | ||
|
||
}) | ||
|
||
}}> | ||
|
||
<Input | ||
type="username" | ||
label="Username" | ||
placeholder="[email protected]" | ||
placeholder="praisecode" | ||
onChange={(e:any)=> setState({...state,username:e.target.value})} | ||
icon={<FaEnvelope />} | ||
/> | ||
|
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
Oops, something went wrong.