Adding a new logo we can use in stripe.

This commit is contained in:
Lakin Wecker 2019-12-28 09:05:26 -07:00
parent 747bc0b19a
commit 95f9eeae86
3 changed files with 3 additions and 3 deletions

View file

@ -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(

View file

@ -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,

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB