Skip to content

fix: resolve missing logo asset #8196

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emmanuel-ferdman
Copy link
Contributor

Issue

Description

This small PR fixes the broken missing logo asset in README.md.

Preview

Double check

  • I have tested my parser changes locally with poetry run test_parser "zone_key"
  • I have run pnpx prettier@2 --write . and poetry run format in the top level directory to format my changes.

Signed-off-by: Emmanuel Ferdman <[email protected]>
@@ -1,6 +1,6 @@
<p align="center">
<a href="https://app.electricitymaps.com">
<img alt="Electricity Maps" src="https://raw.githubusercontent.com/electricitymaps/electricitymaps-contrib/master/web/public/images/electricitymaps-logo.svg" width="100" />
<img alt="Electricity Maps" src="https://raw.githubusercontent.com/electricitymaps/electricitymaps-contrib/master/web/public/images/electricity-maps-logo.svg" width="100" />
Copy link
Member

Choose a reason for hiding this comment

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

Looks good but I think we might want to use the social images instead, the dark and light versions so we can switch between the two on github depending on the user preference. Right now you can hardly see the logo on dark mode.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the feedback! Should I update the PR to use the social images with support for light/dark mode? Where can I find them? Let me know how I can help move this forward or what to do with this PR for now.

Copy link
Contributor

Choose a reason for hiding this comment

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

@Alportan do you know where the social images are so @emmanuel-ferdman can use them instead?

Copy link
Contributor

Choose a reason for hiding this comment

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

I remember vaguely talking to Viktor about it a while ago, and I believe it should be these ones 👇

preview_thumbnail_dark preview_thumbnail_light

Copy link
Contributor Author

@emmanuel-ferdman emmanuel-ferdman Jun 10, 2025

Choose a reason for hiding this comment

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

@Alportan The light and dark versions of the ElectricityMap social image are included in the README.md. Just above them, we also display the ElectricityMap logo, which currently only exists in light mode. Viktor suggested adding a dark mode version of the logo as well. If the dark mode logo asset doesn't exist, we can keep the light mode to fix the broken link for now (or just remove the logo section), until we will have a dark mode logo as well. 😄

Here is the logo:

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, I misunderstood. here's the logo for dark mode
electricity-maps-logo-dark

Copy link
Contributor

Choose a reason for hiding this comment

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

@emmanuel-ferdman does that image work for you?

@emmanuel-ferdman
Copy link
Contributor Author

Hi @VIKTORVAV99, can you please update what shall we do with this PR? thanks 🙌

@jbdietrich
Copy link
Contributor

@emmanuel-ferdman I'll take over the review because Viktor is out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants