Adding a new logo we can use in stripe.
This commit is contained in:
parent
747bc0b19a
commit
95f9eeae86
|
@ -24,7 +24,7 @@ object index {
|
|||
moreJs = frag(
|
||||
script(src := "https://checkout.stripe.com/checkout.js"),
|
||||
jsTag("checkout.js"),
|
||||
embedJsUnsafe(s"""lichess.checkout("$stripePublicKey");""")
|
||||
embedJsUnsafe(s"""lichess.checkout("$stripePublicKey", "//${env.net.assetDomain.value}/assets/logo/lichess-stripe.png");""")
|
||||
),
|
||||
openGraph = lila.app.ui
|
||||
.OpenGraph(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
lichess.checkout = function (publicKey) {
|
||||
lichess.checkout = function (publicKey, logo) {
|
||||
|
||||
var $checkout = $('div.plan_checkout');
|
||||
var lifetime = {
|
||||
|
@ -91,7 +91,7 @@ lichess.checkout = function (publicKey) {
|
|||
var stripeHandler = StripeCheckout.configure({
|
||||
key: publicKey,
|
||||
name: 'lichess.org',
|
||||
image: 'https://lichess1.org/assets/logo/lichess-favicon-512.png',
|
||||
image: logo,
|
||||
locale: 'auto',
|
||||
allowRememberMe: false,
|
||||
zipCode: false,
|
||||
|
|
BIN
public/logo/lichess-stripe.png
Normal file
BIN
public/logo/lichess-stripe.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
Loading…
Reference in a new issue