Fixed paypal buttons

This commit is contained in:
benweet 2018-02-01 23:15:14 +00:00
parent f66f120afc
commit 4d07cbb1e3
5 changed files with 16 additions and 13 deletions

View File

@ -4,7 +4,7 @@ const verifier = require('google-id-token-verifier');
const BUCKET_NAME = process.env.USER_BUCKET_NAME || 'stackedit-users'; const BUCKET_NAME = process.env.USER_BUCKET_NAME || 'stackedit-users';
const PAYPAL_URI = process.env.PAYPAL_URI || 'https://www.paypal.com/cgi-bin/webscr'; const PAYPAL_URI = process.env.PAYPAL_URI || 'https://www.paypal.com/cgi-bin/webscr';
const PAYPAL_RECEIVER_EMAIL = process.env.PAYPAL_RECEIVER_EMAIL || 'stackedit.project@gmail.com'; const PAYPAL_RECEIVER_EMAIL = process.env.PAYPAL_RECEIVER_EMAIL || 'stackedit.sales@gmail.com';
const GOOGLE_CLIENT_ID = process.env.GOOGLE_CLIENT_ID; const GOOGLE_CLIENT_ID = process.env.GOOGLE_CLIENT_ID;
const s3Client = new AWS.S3(); const s3Client = new AWS.S3();

View File

@ -40,7 +40,7 @@
<div class="tour-step__inner" v-else-if="step === 'end'"> <div class="tour-step__inner" v-else-if="step === 'end'">
<h2>Enjoy!</h2> <h2>Enjoy!</h2>
<p>If you like StackEdit, please rate 5 stars on the <a target="_blank" href="https://chrome.google.com/webstore/detail/stackedit/iiooodelglhkcpgbajoejffhijaclcdg/reviews">Chrome Web Store</a>.</p> <p>If you like StackEdit, please rate 5 stars on the <a target="_blank" href="https://chrome.google.com/webstore/detail/stackedit/iiooodelglhkcpgbajoejffhijaclcdg/reviews">Chrome Web Store</a>.</p>
<p>You can also star the project on <a target="_blank" href="https://github.com/benweet/stackedit">GitHub</a>.</p> <p>You can also star the project on <a target="_blank" href="https://github.com/benweet/stackedit">GitHub</a> and join the <a target="_blank" href="https://community.stackedit.io/">community</a>.</p>
<div class="tour-step__button-bar"> <div class="tour-step__button-bar">
<button class="button" @click="finish">Ok</button> <button class="button" @click="finish">Ok</button>
</div> </div>
@ -138,13 +138,13 @@ export default {
position: absolute; position: absolute;
} }
$tour-step-background: mix(#fafafa, $selection-highlighting-color, 80%); $tour-step-background: mix(#f3f3f3, $selection-highlighting-color, 75%);
$tour-step-width: 240px; $tour-step-width: 220px;
.tour-step__inner { .tour-step__inner {
position: absolute; position: absolute;
background-color: $tour-step-background; background-color: $tour-step-background;
padding: 1.75em 1.75em 1.25em; padding: 1.25em;
font-size: 0.9em; font-size: 0.9em;
line-height: 1.33; line-height: 1.33;
width: $tour-step-width; width: $tour-step-width;

View File

@ -7,6 +7,8 @@
<a target="_blank" href="https://github.com/benweet/stackedit/">GitHub repo</a> <a target="_blank" href="https://github.com/benweet/stackedit/">GitHub repo</a>
<a target="_blank" href="https://github.com/benweet/stackedit/issues">issue tracker</a> <a target="_blank" href="https://github.com/benweet/stackedit/issues">issue tracker</a>
<br> <br>
<a target="_blank" href="https://community.stackedit.io/">Community</a>
<br>
<a target="_blank" href="https://chrome.google.com/webstore/detail/stackedit/iiooodelglhkcpgbajoejffhijaclcdg">Chrome app</a> thanks for your review! <a target="_blank" href="https://chrome.google.com/webstore/detail/stackedit/iiooodelglhkcpgbajoejffhijaclcdg">Chrome app</a> thanks for your review!
<br> <br>
StackEdit on <a target="_blank" href="https://twitter.com/stackedit/">Twitter</a> StackEdit on <a target="_blank" href="https://twitter.com/stackedit/">Twitter</a>
@ -14,9 +16,9 @@
<h3>FAQ</h3> <h3>FAQ</h3>
<div class="faq" v-html="faq"></div> <div class="faq" v-html="faq"></div>
<hr> <hr>
<small>Licensed under an Licensed under an
<a target="_blank" href="http://www.apache.org/licenses/LICENSE-2.0">Apache License</a><br> <a target="_blank" href="http://www.apache.org/licenses/LICENSE-2.0">Apache License</a><br>
<a target="_blank" href="privacy_policy.html">Privacy Policy</a></small> <a target="_blank" href="privacy_policy.html">Privacy Policy</a>
</div> </div>
<div class="modal__button-bar"> <div class="modal__button-bar">
<button class="button" @click="config.resolve()">Close</button> <button class="button" @click="config.resolve()">Close</button>

View File

@ -43,10 +43,10 @@ export default {
return { return {
buttons: sponsorToken ? [ buttons: sponsorToken ? [
makeButton('TDAPH47B3J2JW', '$5', '3 months sponsorship'), makeButton('EZM658LWLLG6C', '$5', '3 months sponsorship'),
makeButton('6CTKPKF8868UA', '$15', '1 year sponsorship', '-25%'), makeButton('EL2GN2LPZGBJ4', '$15', '1 year sponsorship', '-25%'),
makeButton('A5ZDYW6SYDLBE', '$25', '2 years sponsorship', '-37%'), makeButton('3FH26ATC3M48A', '$25', '2 years sponsorship', '-37%'),
makeButton('3DMD3TT2RDPQA', '$50', '5 years sponsorship', '-50%'), makeButton('PY8WT7L3M4KSY', '$50', '5 years sponsorship', '-50%'),
] : [], ] : [],
}; };
}, },

View File

@ -5,8 +5,8 @@
<icon-close></icon-close> <icon-close></icon-close>
</button> </button>
<div class="modal__sponsor-button" v-if="showSponsorButton"> <div class="modal__sponsor-button" v-if="showSponsorButton">
Please consider StackEdit is open source! Please consider
<a class="not-tabbable" href="javascript:void(0)" @click="sponsor">sponsoring StackEdit</a> for just $5. <a class="not-tabbable" href="javascript:void(0)" @click="sponsor">sponsoring</a> for just $5.
</div> </div>
<slot></slot> <slot></slot>
</div> </div>
@ -72,6 +72,7 @@ export default {
color: darken($error-color, 10%); color: darken($error-color, 10%);
background-color: transparentize($error-color, 0.85); background-color: transparentize($error-color, 0.85);
border-radius: $border-radius-base; border-radius: $border-radius-base;
font-size: 0.9em;
padding: 0.75em 1.5em; padding: 0.75em 1.5em;
margin-bottom: 1.2em; margin-bottom: 1.2em;
} }