-
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.
(feat): add sign up page, rename register to signup
- Loading branch information
Showing
15 changed files
with
328 additions
and
233 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export { Home } from "./home/home.page"; | ||
export { Signin } from "./signin/signin.page"; | ||
export { Register } from "./register/register.page"; | ||
export { Signup } from "./signup/signup.page"; | ||
export { Settings } from "./settings/settings.page"; |
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
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,22 @@ | ||
import { Card } from "@nextui-org/react"; | ||
import React, { FC } from "react"; | ||
import { SignupCardHeader } from "./card_header.signup"; | ||
import { SignupCardBody } from "./card_body.signup"; | ||
import { SignupCardFooter } from "./card_footer.signup"; | ||
|
||
interface IProps {} | ||
|
||
/** | ||
* @author | ||
* @function @SignupCard | ||
**/ | ||
|
||
export const SignupCard: FC<IProps> = (props) => { | ||
return ( | ||
<Card className="signin__card bg-secondaryBG w-[428px]"> | ||
<SignupCardHeader /> | ||
<SignupCardBody /> | ||
<SignupCardFooter /> | ||
</Card> | ||
); | ||
}; |
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,29 @@ | ||
import { Button, CardBody, Divider } from "@nextui-org/react"; | ||
import React, { FC } from "react"; | ||
import { SignupCardForm } from "./card_form.signup"; | ||
import { BsGoogle } from "react-icons/bs"; | ||
import { BiDotsVerticalRounded, BiMenu } from "react-icons/bi"; | ||
|
||
interface IProps {} | ||
|
||
/** | ||
* @author | ||
* @function @SignupCardBody | ||
**/ | ||
|
||
export const SignupCardBody: FC<IProps> = (props) => { | ||
return ( | ||
<CardBody className="px-10"> | ||
<SignupCardForm /> | ||
<Divider className="mt-[23px] mb-[17px]" /> | ||
<div className="buttons flex"> | ||
<Button isDisabled className="mt-[14px]" fullWidth> | ||
<BsGoogle size={24} /> Google | ||
</Button> | ||
<Button isDisabled isIconOnly className="mt-[14px] ml-2"> | ||
<BiDotsVerticalRounded size={24} /> | ||
</Button> | ||
</div> | ||
</CardBody> | ||
); | ||
}; |
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 { CardFooter } from "@nextui-org/react"; | ||
import React, { FC } from "react"; | ||
|
||
interface IProps {} | ||
|
||
/** | ||
* @author | ||
* @function @SignupCardFooter | ||
**/ | ||
|
||
export const SignupCardFooter: FC<IProps> = (props) => { | ||
return ( | ||
<CardFooter className="px-10 mb-5 opacity-50"> | ||
<p>By signing up, you agree to our EULA and Privacy Policy.</p> | ||
</CardFooter> | ||
); | ||
}; |
Oops, something went wrong.