Standardize public images on WebP and add conversion tooling
All checks were successful
Deploy Sokko G / deploy (push) Successful in 20s

This commit is contained in:
Shinuwa 2026-10-23 12:12:02 +02:00
parent 75592d7d7a
commit ca39b76282
883 changed files with 503 additions and 90 deletions

View file

@ -133,9 +133,9 @@ export function ToolboxIconPicker({ toolbox, onChange, tutorialTarget = "" }) {
onChange(path, "");
close();
}}
aria-label={`Utiliser l'icône ${path.split("/").pop().replace(".png", "")}`}
aria-label={`Utiliser l'icône ${path.split("/").pop().replace(/\.[^.]+$/, "")}`}
aria-pressed={!toolbox.customCover && path === icon}
title={path.split("/").pop().replace(".png", "")}
title={path.split("/").pop().replace(/\.[^.]+$/, "")}
>
<img src={path} alt="" aria-hidden="true" loading="lazy" />
</button>