-
-
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 #101 from bakaqc/feature/implement-user-list_thang
add: login admin
- Loading branch information
Showing
40 changed files
with
459 additions
and
130 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,36 @@ | ||
import InputForLogin from '../InputForLogin'; | ||
import React from 'react'; | ||
|
||
interface LoginInputFieldProps { | ||
id: string; | ||
label: string; | ||
type: string; | ||
invalidField: { name: string; msg: string }[]; | ||
value: string; | ||
setValue: (value: any) => void; | ||
setInvalidField: (value: any) => void; | ||
} | ||
|
||
const LoginInputField: React.FC<LoginInputFieldProps> = ({ | ||
id, | ||
label, | ||
type, | ||
invalidField, | ||
value, | ||
setValue, | ||
setInvalidField, | ||
}) => { | ||
return ( | ||
<InputForLogin | ||
id={id} | ||
label={label} | ||
type={type} | ||
invalidField={invalidField} | ||
value={value} | ||
setValue={setValue} | ||
setInvalidField={setInvalidField} | ||
/> | ||
); | ||
}; | ||
|
||
export default LoginInputField; |
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,17 @@ | ||
import { NavLink } from 'react-router-dom'; | ||
|
||
import { path } from '@/utils/constant'; | ||
|
||
const RegisterSection = () => ( | ||
<div className="flex items-center justify-between"> | ||
<p className="text-sm">Don't have an account?</p> | ||
<NavLink | ||
to={path.REGISTER_USER} | ||
className="rounded border border-red-500 px-4 py-2 text-sm text-red-500 hover:bg-red-50" | ||
> | ||
Register | ||
</NavLink> | ||
</div> | ||
); | ||
|
||
export default RegisterSection; |
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,17 @@ | ||
const RightColumn = () => ( | ||
<div className="flex items-center justify-center rounded-b-lg bg-gradient-to-r from-yellow-500 via-orange-500 to-amber-700 lg:w-6/12 lg:rounded-e-lg lg:rounded-bl-none"> | ||
<div className="px-6 py-8 text-white md:px-8"> | ||
<h4 className="mb-6 text-xl font-semibold"> | ||
We are more than just a company | ||
</h4> | ||
<p className="text-sm"> | ||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | ||
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim | ||
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea | ||
commodo consequat. | ||
</p> | ||
</div> | ||
</div> | ||
); | ||
|
||
export default RightColumn; |
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 was deleted.
Oops, something went wrong.
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.