BUGS-NYU / bugs-nyu.github.io-old

The old website for the BUGS organization hosted through Github Pages
https://bugs-nyu.github.io/bugs-nyu.github.io-old/
MIT License
12 stars 44 forks source link

Make the link buttons of the projects (on the 'Projects' page) actionable #236

Open nedjulius opened 3 years ago

nedjulius commented 3 years ago

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's onClick effect (not the recommended way though)


Contributor Guide