Show search image button

This commit is contained in:
NilsUeter
2025-03-03 11:05:16 +01:00
parent b089ba7eaf
commit 04558102db
+16
View File
@@ -389,10 +389,26 @@ const Unit = ({
setImage(resultUrl);
setBgRemoved(true);
}}
title="Very basic background removal. Use a proper online tool for better results."
>
Remove white from image
</button>
)}
{!hasImage && (
<a
className="button print-display-none"
style={{
border: "1px solid #999",
padding: "1px 4px",
fontSize: "0.8rem",
backgroundColor: "#f0f0f0",
}}
href={`https://www.google.com/search?udm=2&q=${name}+warhammer+40k+miniature`}
target="_blank"
>
Search for image
</a>
)}
<label
className="button print-display-none"
style={{