Closed cpualei closed 2 weeks ago
Welcome @cpualei! We are excited to have you contributing to the project! A couple of things to consider before we can get this fix merged in.
Once get staging updated, we can push your code to staging to test things out. We can merge this in to resolve the immediate request.
We could prioritize moving this into a Contentful field. Since making updates in Contentful requires admin access you will need to work with our team to implement those additional changes. You can email me at jtorreggiani@specollective.org to schedule a time to connect.
Closing as this has become stale
Pull Request Process
Copy and Paste / Write ticket description
made changes to button text for hand and microsurgery specialty card
Hand Trauma department requested for 'Patient' and 'Physician' buttons to read 'Trauma' and 'Congenital/Microsurgery' instead.
Describe the changes you've made to resolve the issue
Added a ternary which checks if the slug reads 'hand-trauma'. If so, change the button text to read 'Trauma'.
Added a ternary which checks if the slug reads 'hand-trauma'. If so, change the button text to read 'Trauma'. Made changes to the 'app/specialties/SpecialtyComponents/SpecialtyCard.tsx' file
Add screenshots of the UI before and after your changes have been made
Before
After
Code Review Checklist