Skip to content

Hard Code a New Win to the About Page #8491

@nadiaspn0503

Description

@nadiaspn0503

Overview

We need to manually pick a new Win and hard code it on the about page so that the Win is current.

Details

The randomizer can't get worked on until the homepage branch is merged into the gh-pages branch

Action Items

  • Locate the current hard-coded Win content on the About page.
    • Currently the old Win is hard-coded in the file /_includes/about-page/about-card-accomplishments.html
                </div>
                <div class="bottom-right-column wins-column-width-right">
                    <div class="wins-card-mobile"><a href="https://hackforla.org/wins" target="_blank" rel="noopener noreferrer"><img src="/assets/images/about/wins-card-mobile.svg" alt="Wins card: contributors' names, teams and roles, and testimonials of their accomplishments." ></a></div>
                    <div class="wins-card-desktop"><a href="https://hackforla.org/wins" target="_blank" rel="noopener noreferrer"><img src="/assets/images/about/wins-card-desktop.svg" alt="Wins card: contributors' names, teams and roles, and testimonials of their accomplishments." ></a></div>
                </div>
    
  • The current win is an image coming from these files for the desktop and mobile views respectively:
    • /assets/images/about/wins-card-desktop.svg
    • /assets/images/about/wins-card-mobile.svg
  • Manually select a new/current Win to feature on the About page.
  • Create desktop and mobile supported versions of the image of the Win
  • Replace the existing Win images with the new desktop and mobile images from a more recent Win.
    • The new desktop and mobile images will replace the old desktop and mobile images in:
      • /assets/images/about/wins-card-desktop.svg
      • /assets/images/about/wins-card-mobile.svg
  • The image files are already coded into the /_includes/about-page/about-card-accomplishments.html file, so no changes need to be made to this file.
  • Use Docker to test changes locally, in both desktop and mobile views
  • Add/commit the changes
  • Create a Pull Request

Resources/Instructions

Metadata

Metadata

Assignees

No one assigned

    Labels

    DraftIssue is still in the process of being createdP-Feature: Wins Pagehttps://www.hackforla.org/wins/role: back end/devOpsTasks for back-end developersrole: front endTasks for front end developerssize: 0.25ptCan be done in 0.5 to 1.5 hours

    Type

    No type

    Projects

    Status

    New Issue Approval

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions