Standardizing page card classes and properties across the site to comply with design system #1277
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #958
As the next step (after buttons) in standardizing the HfLA site's reusable components according to the design system, I standardized the page cards across the site to use the same handful of reusable class names, according to this logic.
If all of the page cards edited here still look pretty much the same as they currently do on the website (in both desktop and mobile), that means this pull request is successful.
I added reusable classes to the _cards.scss file with explanations, and changed the page card classes in the scss and html files of the pages listed below. (FYI the Join, Sitemap, and Communities of Practice pages were built after the design system, so I had already asked to use some of the reusable page card classes)
Page cards from the following pages are edited here:
Homepage
Getting Started
Project Description page
Projects meetings page
Join page
Communities of Practice page
Sitemap page
Credits page
I left out the Guide page cards for now because those pages are going through a big transition, so that will be standardized when it's time. I also left out the About page cards for now because they haven't yet been standardized (they are off-center with the side sticky nav, so it's a special case and will need to be standardized with the upcoming Open Roles page, with a similar side sticky filter).