Citizen Engagement page: Use image
instead of card-image-src
#4159
Closed
11 of 12 tasks
Labels
Complexity: Small
Take this type of issues after the successful merge of your second good first issue
Feature: Refactor JS / Liquid
Page is working fine - JS / Liquid needs changes to become consistent with other pages
P-Feature: Citizen Engagement
https://www.hackforla.org/citizen-engagement
role: front end
Tasks for front end developers
size: 0.25pt
Can be done in 0.5 to 1.5 hours
Milestone
Dependency
Overview
We need to refactor the code on the Citizen Engagement page to use
image
instead ofcard-image-src
so that we aren't duplicating information.Details
image
andcard-image-src
are fields in the project's Markdown files in_project
directory. (Note: Not all of the project Markdown files havecard-image-src
yet.)image
andcard-image-src
fields both have the path to the project's logo image. Since this information is the same, we don't need both fields. So, we will be removing thecard-image-src
fields from the Markdown files in_projects
directory.alt=""
) because the project name is displayed next to the logo. So, we will be removing thecard-image-alt
fields from the Markdown files in_projects
directory.Action Items
_includes/program-area-pages-cards.html
, do the following:card-image-src:
andcard-image-alt:
fields and the content of each of those fields in the following files:card-image-src
andcard-image-alt
. If you find any files with that, update the code in those files accordingly.Merge Team, Technical Lead, or Product Manager
Dependency
section are closed. If they are all closed, move that issue (Create each program area page automatically using a layout #3328) into theNew Issue Approval
column, remove theDependency
label on it, and add aready for dev lead
label to it.Resources/Instructions
The text was updated successfully, but these errors were encountered: