Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Fixes BBC Blocks Dark Mode Base64 String Size #4634

Merged
merged 5 commits into from
Apr 8, 2022

Conversation

HarveyPeachey
Copy link
Contributor

@HarveyPeachey HarveyPeachey commented Apr 8, 2022

Part of bbc/simorgh#10004

Overall change: This PR fixes the base 64 string for the dark mode BBC blocks image which is used in placeholders, this takes the normal BBC Blocks logo, replaces the fill colour in the SVG format, and has been converted back into the base 64 format.

Makes the image 3x smaller, from 8.27 KB to 2.70 KB.

Code changes:

  • Replaces BBC blocks dark mode logo with smaller string size base 64 logo
  • Updates snapshot
  • Bumps dependant packages, and updates changelogs

  • (BBC contributors only) This PR follows the repository use guidelines
  • I have assigned myself to this PR and the corresponding issues
  • Automated jest tests added (for new features) or updated (for existing features)
  • This PR requires manual testing

@HarveyPeachey HarveyPeachey changed the title Fixes bbc blocks dark mode memory size Fixes BBC Blocks Dark Mode Base64 String Size Apr 8, 2022
@HarveyPeachey HarveyPeachey marked this pull request as ready for review April 8, 2022 11:18
@HarveyPeachey HarveyPeachey self-assigned this Apr 8, 2022
@HarveyPeachey HarveyPeachey added the cross-team For visibility for both World Service teams (Engage & Media) label Apr 8, 2022
@HarveyPeachey HarveyPeachey merged commit 47e3055 into latest Apr 8, 2022
@HarveyPeachey HarveyPeachey deleted the bbc-blocks-darkmode-fix branch April 8, 2022 13:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cross-team For visibility for both World Service teams (Engage & Media)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants