cnumr/EcoIndex

Improve the ecoIndex badge integration from the results page

bgatellier opened this issue · 1 comments

Context

Currently on the result page, the ecoIndex badge concept is explained with a couple of paragraphs, and the user can access to the GitHub page of the project if he wants to, and look for how to integrate the badge.

This set of steps can only be done by determined (and tech-oriented) users.

Objective

Improve the popularity of the ecoIndex badge by:

  • Showing what the badge looks like:

    image image

  • Showing how to integrate it easily on the user's website by displaying an extract of code to copy/paste.

⚠️ The tricky thing is about the UI of such a widget, as the badge is available in 2 technical versions (with and without JavaScript) and 2 themes (light and dark), which leads to 4 possible combinations

Cette issue a été marquée comme inactive car elle n'a pas eu de mise à jour depuis 30 jours. Si elle n'est pas mise à jour d'ici 7 jours, elle sera fermée automatiquement. Pour éviter qu'elle soit fermée, vous pouvez ajouter le label keep open.