Skip to content

Setup landing page #84

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

Merged
merged 5 commits into from
Feb 19, 2020
Merged

Setup landing page #84

merged 5 commits into from
Feb 19, 2020

Conversation

angelocordon
Copy link
Contributor

@angelocordon angelocordon commented Feb 17, 2020

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Documentation Update

Description

Update Landing Page UI with registration/authentication form and copy.

Related Tickets & Documents

Closes #3

Before & After

Before
image

After
image

image

@angelocordon angelocordon added the do not merge Notify maintainers not to merge a PR (yet) label Feb 17, 2020
@angelocordon angelocordon self-assigned this Feb 17, 2020
@angelocordon
Copy link
Contributor Author

@lpatmo - just a heads up, this may tie into your #65 PR; may look into how we can merge the two together. This is primarily just the UI work.

Use Authform component as a container to handle presentational logic
for SignUpForm and LoginForm.
Add PropTypes module and proptypes to components.
@angelocordon angelocordon changed the title [WIP] Setup landing page Setup landing page Feb 18, 2020
@angelocordon angelocordon requested a review from lpatmo February 18, 2020 01:38
@angelocordon angelocordon added enhancement New feature or request and removed do not merge Notify maintainers not to merge a PR (yet) labels Feb 18, 2020
@angelocordon angelocordon requested review from sebbel and tgrrr February 18, 2020 01:41
Copy link
Member

@lpatmo lpatmo left a comment

Choose a reason for hiding this comment

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

This looks awesome! Thanks Angelo! :)

};

return (
<Box component={Paper} elevetion={3} padding={3}>
Copy link
Member

Choose a reason for hiding this comment

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

Is elevetion meant to be elevation?


return (
<Box component={Paper} elevetion={3} padding={3}>
{activeSignUpForm && <SignUpForm toggleActiveForm={toggleActiveForm} />}
Copy link
Member

Choose a reason for hiding this comment

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

Interesting approach -- I'm used to writing {activeSignUpForm ? <SignUpForm toggleActiveForm={toggleActiveForm} /> : <LoginForm>}
, but this is fine :)

@angelocordon
Copy link
Contributor Author

@lpatmo @sebbel - fixed up changed based on feedback - please merge if acceptable

@lpatmo lpatmo merged commit 3051895 into master Feb 19, 2020
@angelocordon angelocordon deleted the issue-3-setup-landing-page branch March 3, 2020 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set up Landing Page
3 participants