Change 50 pesetas shape to spanish flower

This commit is contained in:
2023-09-22 10:40:52 +01:00
parent 049c0a6f5a
commit b205bb1444
2 changed files with 7 additions and 2 deletions
+6 -2
View File
@@ -111,8 +111,12 @@ export const BaseCoin = ({
export const CoinInstance = (coin: NumistaType) => {
if (
coin.value?.numeric_value === 0.2 &&
coin.value?.currency?.name === "Euro"
(coin.value?.numeric_value === 0.2 &&
coin.value?.currency?.name === "Euro") ||
(coin.value?.numeric_value === 50 &&
coin.value?.currency?.name === "Peseta" &&
coin.min_year &&
coin.min_year >= 1990)
) {
return <EuroCents20 {...coin} />;
}
+1
View File
@@ -68,6 +68,7 @@ const generateImage = async (id: string) => {
path.join("./public", coin.reverse.picture),
"-resize",
"256x256!",
...(coin.orientation === "coin" ? ["-rotate", "180"] : []),
path.join("./public/photos/joined", id + "-reverse.jpg"),
]);