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

Update AddGarden Component #21

Closed
capndave opened this issue Oct 3, 2020 · 4 comments · Fixed by #40
Closed

Update AddGarden Component #21

capndave opened this issue Oct 3, 2020 · 4 comments · Fixed by #40
Assignees
Labels
good first issue Good for newcomers hacktoberfest Work on this for Hacktoberfest!

Comments

@capndave
Copy link
Collaborator

capndave commented Oct 3, 2020

Please update the AddGarden component in the following way:

  • Remove the submit button
  • On a mobile view, the plus icons should appear to the right of the input element and act as the submit button (it shouldn't toggle the view)
  • On a desktop view the submit button should be used. Please place it to the right of the input element.
  • At the top of the html/jsx, there should be either a subcomponent or a declaration of the following:
    a. An arrow icon (see c, below) FaChevronDown icon and text saying "Add Garden". You can add the icon(s) using import { FaChevronDown } from "react-icons/fa
    b. On click, it should toggle formVisible.
    c. When formVisible is true, the component should display the FaChevronRight. If formVisible is false, show FaChevronDown.

Extra Credit

If you want to be extra awesome, feel free to add some tests for the component. You can do those in a separate pull request if you prefer.

@capndave capndave added good first issue Good for newcomers hacktoberfest Work on this for Hacktoberfest! labels Oct 3, 2020
@fernandoamz
Copy link

fernandoamz commented Oct 4, 2020

@capndave, May I take this one?

@capndave
Copy link
Collaborator Author

capndave commented Oct 4, 2020

@fernandoamz Go for it! Thanks.

@fernandoamz
Copy link

fernandoamz commented Oct 5, 2020

@capndave Could you update the tags? It will change from October 3rd https://hacktoberfest.digitalocean.com/hacktoberfest-update

@fernandoamz fernandoamz removed their assignment Oct 6, 2020
@paytonagreen
Copy link
Collaborator

I can work on this today!

@paytonagreen paytonagreen self-assigned this Oct 7, 2020
paytonagreen added a commit that referenced this issue Oct 7, 2020
@paytonagreen paytonagreen mentioned this issue Oct 7, 2020
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest Work on this for Hacktoberfest!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants