diff --git a/CHANGELOG.md b/CHANGELOG.md index f4d7bf2..d8638bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.5.8] - 24 October 2024 +### Fixed +- Add funding + ## [0.5.7] - 26 August 2024 ### Fixed - Wrong composer dependencies diff --git a/Config/Frontend/Funding.php b/Config/Frontend/Funding.php new file mode 100644 index 0000000..4b6992e --- /dev/null +++ b/Config/Frontend/Funding.php @@ -0,0 +1,17 @@ +toHtml(); + } +} + diff --git a/composer.json b/composer.json index 76b12e1..6b90733 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "yireo/magento2-next-gen-images", "license": "OSL-3.0", - "version": "0.5.7", + "version": "0.5.8", "type": "magento2-module", "homepage": "https://www.yireo.com/software/magento-extensions/next-gen-images", "description": "Magento 2 module to add NextGen images support to the Magento frontend", @@ -48,5 +48,23 @@ "files": [ "registration.php" ] - } + }, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jissereitsma" + }, + { + "type": "github", + "url": "https://github.com/sponsors/yireo" + }, + { + "type": "paypal", + "url": "https://www.paypal.me/yireo" + }, + { + "type": "other", + "url": "https://www.buymeacoffee.com/jissereitsma" + } + ] } diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml index 47ffa2e..8b064a2 100644 --- a/etc/adminhtml/system.xml +++ b/etc/adminhtml/system.xml @@ -10,6 +10,10 @@ Yireo_NextGenImages::config + + + Yireo\NextGenImages\Config\Frontend\Funding + Magento\Config\Model\Config\Source\Yesno diff --git a/view/adminhtml/templates/config/funding.phtml b/view/adminhtml/templates/config/funding.phtml new file mode 100644 index 0000000..b10234d --- /dev/null +++ b/view/adminhtml/templates/config/funding.phtml @@ -0,0 +1,48 @@ + +
+ +
+

Consider sponsoring this extension

+

+ This extension is totally free. It takes time to develop and maintain though, all on a voluntary basis. + If you are using this extension in a Magento shop that earns you money (either as an agency, as a developer + or as a merchant), + please consider sponsoring me and/or Yireo via GitHub. It would be appreciated and would help me to build + even more cool things. +

+ +
+
+ +