Currently, only the labels of the buttons of the projects on the 'Projects' page are wrapped in <a> tag. Pressing outside of the button label does nothing, even though the button indicates actionable behavior.
Desired Behavior
Pressing on the button outside of the label should open the desired link.
Implementation
There are a few possible solutions. The button element could be wrapped in <a> tag with the link; the styling for the <a> tag could be changed to look like a button; history.push could be used as the button's onClick effect (not the recommended way though)
Current Behavior
Currently, only the labels of the buttons of the projects on the 'Projects' page are wrapped in
<a>
tag. Pressing outside of the button label does nothing, even though the button indicates actionable behavior.Desired Behavior
Pressing on the button outside of the label should open the desired link.
Implementation
There are a few possible solutions. The button element could be wrapped in
<a>
tag with the link; the styling for the<a>
tag could be changed to look like a button;history.push
could be used as the button'sonClick
effect (not the recommended way though)Contributor Guide