Skip to content

Commit

Permalink
Merge pull request #1031 from buckaroo-it/BP-3709-Change-Riverty/Afte…
Browse files Browse the repository at this point in the history
…rpay-logo-to-the-new-Riverty-logo-(Magento-2)

BP-3709-Change "Riverty/Afterpay" logo to the new "Riverty" logo (Magento 2)
  • Loading branch information
SandervdHulst authored Aug 28, 2024
2 parents 2bd9ba7 + 0add818 commit 9b1ca60
Show file tree
Hide file tree
Showing 6 changed files with 201 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Copy payment method icons
run: |
cd "${{ github.workspace }}/Media/Payment methods/SVG/"
rm -f ideal-qr.svg knaken.svg paylink.svg paybybank.svg pos-nfc.svg riverty.svg
rm -f ideal-qr.svg knaken.svg paylink.svg paybybank.svg pos-nfc.svg
cd ${{ github.workspace }}/Media
cp -R "Payment methods/SVG/." ${{ github.workspace }}/view/base/web/images/svg/
- name: Copy creditcards icons
Expand Down
4 changes: 2 additions & 2 deletions Block/Info.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ public function getPayPerEmailMethod()
public function getPaymentLogo(string $method): string
{
$mappings = [
"afterpay2" => "svg/afterpay.svg",
"afterpay20" => "svg/afterpay.svg",
"afterpay2" => "svg/riverty.svg",
"afterpay20" => "svg/riverty.svg",
"capayablein3" => "svg/in3.svg",
"capayablepostpay" => "svg/in3.svg",
"creditcard" => "svg/creditcards.svg",
Expand Down
195 changes: 195 additions & 0 deletions view/base/web/images/svg/riverty.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</label>
</div>
<div class="bk-img-wrap">
<img data-bind="attr: { src: require.toUrl('Buckaroo_Magento2/images/svg/afterpay.svg') }" />
<img data-bind="attr: { src: require.toUrl('Buckaroo_Magento2/images/svg/riverty.svg') }" />
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</label>
</div>
<div class="bk-img-wrap">
<img data-bind="attr: { src: require.toUrl('Buckaroo_Magento2/images/svg/afterpay.svg') }" />
<img data-bind="attr: { src: require.toUrl('Buckaroo_Magento2/images/svg/riverty.svg') }" />
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</label>
</div>
<div class="bk-img-wrap">
<img data-bind="attr: { src: require.toUrl('Buckaroo_Magento2/images/svg/afterpay.svg') }" />
<img data-bind="attr: { src: require.toUrl('Buckaroo_Magento2/images/svg/riverty.svg') }" />
</div>
</div>
</div>
Expand Down

0 comments on commit 9b1ca60

Please sign in to comment.