Change 50 pesetas shape to spanish flower
This commit is contained in:
@@ -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} />;
|
||||
}
|
||||
|
||||
@@ -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"),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user