robosats/frontend/src/components/PaymentMethods
KoalaSat 293c0b604d Refactor contexts and models (#921)
* Add SVG icons for map pins

* Add federation basis and new coordinator form (#793)

* Add new coordinator entry issue form

* Add Federation basis

* Fix eslint errors from F2F and fix languages

* Redo eslint @typescript-eslint/strict-boolean-expressions

* Robot Page working

* Contexts Working

* Garage Working

* CurrentOrder working

* Federation model working

---------

Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Co-authored-by: Reckless_Satoshi <90936742+Reckless-Satoshi@users.noreply.github.com>
2023-12-02 10:40:59 +00:00
..
Icons Small style fixes, add sinpe as payment method 2023-05-26 04:56:43 -07:00
index.ts Functional UnsafeAlert and other Icons (#371) 2023-03-02 14:20:30 +00:00
MethodList.ts Small style fixes, add sinpe as payment method 2023-05-26 04:56:43 -07:00
README.md Functional UnsafeAlert and other Icons (#371) 2023-03-02 14:20:30 +00:00
StringAsIcons.tsx Refactor contexts and models (#921) 2023-12-02 10:40:59 +00:00

About

Scripts taken from https://github.com/hsjoberg/blixt-wallet/blob/master/contrib/service-image/ for creating images to be used as payment method icons.

How to use

  1. Run cd Icons and ./gen-webp.sh to generate the WebP files to used
  2. Run cd Icons and ./gen-code.sh to generate code to either be used in react js source files
  3. Copy/Paste and replace the dict from frontend/src/components/PaymentMethods/Icons/code/code.js to frontend/src/components/PaymentMethods/Icons/index.tsx
  4. Add the new entry to paymentMethods or swapMethods array in frontend/src/components/PaymentMethods/MethodList.ts

Trademarks belong to their respective owners

All services names, trademarks and registered trademarks / copyrights are properties of their respective owners. All company, product and service names used in the Robotic Satoshis Open Source Project are for identification purposes only. Use of these names, trademarks / copyrights and brands does not imply endorsement or association. If you own any of the trademarks and want to remove it from the Robotic Satoshis Open Source Project you can file a claim and it will be promptly processed.