Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coded challenge the sign in pages #13

Merged
merged 12 commits into from
Mar 14, 2021
Merged

coded challenge the sign in pages #13

merged 12 commits into from
Mar 14, 2021

Conversation

SirPm
Copy link
Collaborator

@SirPm SirPm commented Feb 4, 2021

No description provided.

Copy link
Contributor

@bragaru-i bragaru-i left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to do a small refactoring.
good job

src/assets/styles/sass/_globalStyles.scss Outdated Show resolved Hide resolved
Comment on lines 20 to 21
if (location.pathname === '/') {
if (location.pathname === '/' || location.pathname === '/sign-in') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe you should try to add sign-in component as a modal?
it could be a modal, that will be displayed on top of Landing page, without any blurry efects for the background.
Needs to create a Modal component, and to make is flexible for all of projects needs.


import styles from './SignIn.modules.scss'

import { ReactComponent as Close } from '../../components/icons/icons-svg/close.svg'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import {CloseIcon} from '../../../path/to/Icon'

…ed FormProvider, created the popup modals for biometric sign in
@bragaru-i bragaru-i self-requested a review February 12, 2021 21:51
@bragaru-i
Copy link
Contributor

please rebase to master and check linting errors


const methods = useForm()
const onFormSubmit = data => {
console.log(data)
Copy link

@truongduchuy truongduchuy Mar 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this line

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if want you want me to do is to remove line 16, 17 and 18, because line 16 is necessary for the react-hook-form to work as it gives me access to methods like the handleSubmit which is used to submit the form, but I assumed its the console.log you wanted me to remove so I removed just that.

…or importing the assets and changing them to absolute paths, making the images for the social media icons an array
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants