Skip to content

Improve the ecoIndex badge integration from the results page #324

@bgatellier

Description

@bgatellier

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

Metadata

Metadata

Assignees

Labels

FrontIssue relative au frontend du siteenhancementNew feature or requestkeep open

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions