Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete refactor/standardization of all buttons within Home Page #3422

Merged
merged 1 commit into from
Jul 25, 2022

Conversation

Zak234
Copy link
Contributor

@Zak234 Zak234 commented Jul 22, 2022

Fixes #2104

What changes did you make and why did you make them ?

-Made the 8 changes detailed in the issue which removed the button tag from donate-button.html, footer.html and contact-us.html. This was to help standardize the code.
-Changed the display for class btn--donate-footer from block to table so the donate button in the footer showed up correctly.
-Changed the display for class column from flex to block so that the Getting Started and Transport buttons were correctly formatted under their text.
-Added a new class in _cards.css called page-card-md-VWU and applied it to the Volunteer With Us card along with editing the volunteerWithUs class to give the card proper formatting and spacing.
-Edited the margin for btn--donate-header so that the donate button has proper spacing in the header
-Added padding for btn--donate-header when on smaller screens so that the text is properly displayed in the donate button.
-Commented code out in header-links as it was messing with the location of the donate button on smaller screens and the code was not observably affecting the other classes the class was applied to

Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)

None, the website should look the same.

@github-actions
Copy link

Want to review this pull request? Take a look at this documentation for a step by step guide!

From your project repository, check out a new branch and test the changes.

git checkout -b Zak234-refactor-home-page-buttons-#2104 gh-pages
git pull https://github.com/Zak234/website.git refactor-home-page-buttons-#2104

@github-actions github-actions bot added Feature: Design system Feature: Refactor HTML P-Feature: Home page https://www.hackforla.org/ role: front end Tasks for front end developers size: 1pt Can be done in 4-6 hours Complexity: Medium labels Jul 22, 2022
@BeckettOBrien BeckettOBrien self-requested a review July 23, 2022 20:11
@BeckettOBrien
Copy link
Member

BeckettOBrien commented Jul 23, 2022

Availability: 5 Hours
ETA: EOD 7/23/22

Copy link
Member

@BeckettOBrien BeckettOBrien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have access to the google sheet linked in the issue but the changes are to the right lines of the right files and the site looks the same. Good job!

@blulady blulady self-requested a review July 24, 2022 17:06
@blulady
Copy link
Member

blulady commented Jul 24, 2022

ETA: 7.24.22
Availability: 7.24.22, 7.25.22

@blulady
Copy link
Member

blulady commented Jul 25, 2022

Hey, was this the issue that you were showing us those slight visual variations on? If it is, could you grab some screenshots of the differences for documentation?

@Zak234
Copy link
Contributor Author

Zak234 commented Jul 25, 2022

I fixed those, it should look the same now.

Copy link
Member

@blulady blulady left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The branches are correct. The linked issue is correct. The pr addresses the issues from the issue. There are a few lines that don't match the recommendation code, if you had to make these changes in order to get the code to look the same, I'll merge it but if it was an error let's update it. In line 4 of _includes/donate-button.html "btn--default" is left out from the recommendation code. There is a change on _includes/forms/contact-us.html that is not included in the recommended file

.

Copy link
Member

@blulady blulady left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently you did need to make those changes.

@blulady blulady merged commit 13f89e9 into hackforla:gh-pages Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Complete refactor/standardization of all buttons within Home Page
3 participants