Irudiak erakusten ditu (#8)

* feat: atzealde irudia erakusten du

* feat: cloudinary sartzen du

* feat: kartela erakusten du

* chore: typescript errorea ekiditen du

* feat: irisgarritasuna hobetzen du

* feat: modalaren estiloa hobetzendu

* feat: og image aldatzen du
This commit is contained in:
Aitor Urrutia
2023-07-04 17:47:40 +02:00
committed by GitHub
parent de10cfc551
commit 2a48360784
12 changed files with 323 additions and 36 deletions

16
back/config/env/production/plugins.js vendored Normal file
View File

@@ -0,0 +1,16 @@
module.exports = ({ env }) => ({
upload: {
config: {
provider: "cloudinary",
providerOptions: {
cloud_name: env("CLOUDINARY_NAME"),
api_key: env("CLOUDINARY_KEY"),
api_secret: env("CLOUDINARY_SECRET"),
},
actionOptions: {
upload: {},
delete: {},
},
},
},
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

View File

@@ -13,6 +13,7 @@
"@strapi/plugin-graphql": "^4.11.3",
"@strapi/plugin-i18n": "4.11.3",
"@strapi/plugin-users-permissions": "4.11.3",
"@strapi/provider-upload-cloudinary": "^4.11.3",
"@strapi/strapi": "4.11.3",
"pg": "^8.11.1",
"pg-connection-string": "^2.6.1",

View File

@@ -14,6 +14,20 @@
},
"eguna": {
"type": "date"
},
"atzealde_irudia": {
"allowedTypes": [
"images"
],
"type": "media",
"multiple": false
},
"kartela": {
"allowedTypes": [
"images"
],
"type": "media",
"multiple": false
}
}
}