Refactor usage of button component on links