Draft: Resolve "Migrate element with 'btn-link' class in in app/views/help/index.html.haml to Pajamas compliant component"
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.
What does this MR do and why?
This MR tries to remove element which is using btn-link class and use Pajamas::ButtonComponent instead in app/views/help/index.html.haml
Some useful links I referred to,
https://gitlab-org.gitlab.io/frontend/tailwind-documentation/padding
https://design.gitlab.com/components/button/
https://gitlab-org.gitlab.io/gitlab-ui/?path=/docs/base-button--docs
On design.gitlab.com, I could not find the syntax for button for .html.haml files. HTML, Vue, Ruby syntax is available. I still believe that more classes which I have added can be eliminated by leveraging the options/props in component.
Screenshots
TBA
Closes to #479792
Edited by Sujal Gupta