cnumr / cnumr/EcoIndex

Improve the ecoIndex badge integration from the results page

Open
#324 1 comment 1 reaction 1 assignee Claimed by @bgatellier View on GitHub
enhancement Front keep open
Dominant language
JavaScript
Stars
92
Forks
22
Avg merge
29m
Merged PRs (30d)
4

Description

# 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](https://camo.githubusercontent.com/918166535619e96eafe96ed933a7c90510813b6230c2ddaf342c3bd9baef8131/68747470733a2f2f63646e2e6a7364656c6976722e6e65742f67682f636e756d722f65636f696e6465785f626164676540322e322f6173736574732f7376672f6c696768742f412e737667) ![image](https://camo.githubusercontent.com/d97f3849844007f91953835425a54499e499c161e05304c290eadf19cdc27b87/68747470733a2f2f63646e2e6a7364656c6976722e6e65742f67682f636e756d722f65636f696e6465785f626164676540322e322f6173736574732f7376672f6461726b2f412e737667)

- 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.