Skip to content

Commit 6305445

Browse files
author
Dhruva Shaw
committed
update
1 parent a132811 commit 6305445

File tree

2 files changed

+72
-19
lines changed

2 files changed

+72
-19
lines changed

_includes/footer.liquid

Lines changed: 72 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,42 @@
11
{% if site.footer_fixed %}
22
<footer class="fixed-bottom" role="contentinfo">
33
<div class="container mt-0">
4-
<div id="paypal-container-KQD5A49V45C38"></div>
5-
<script>
6-
paypal
7-
.HostedButtons({
8-
hostedButtonId: 'KQD5A49V45C38',
9-
})
10-
.render('#paypal-container-KQD5A49V45C38');
11-
</script>
4+
<div>
5+
<style>
6+
.pp-KQD5A49V45C38 {
7+
text-align: center;
8+
border: none;
9+
border-radius: 0.25rem;
10+
min-width: 11.625rem;
11+
padding: 0 2rem;
12+
height: 2.625rem;
13+
font-weight: bold;
14+
background-color: #ffd140;
15+
color: #000000;
16+
font-family: 'Helvetica Neue', Arial, sans-serif;
17+
font-size: 1rem;
18+
line-height: 1.25rem;
19+
cursor: pointer;
20+
}
21+
</style>
22+
<form
23+
action="https://www.paypal.com/ncp/payment/KQD5A49V45C38"
24+
method="post"
25+
target="_blank"
26+
style="display:inline-grid;justify-items:center;align-content:start;gap:0.5rem;"
27+
>
28+
<input class="pp-KQD5A49V45C38" type="submit" value="Donate Now">
29+
<img src="https://www.paypalobjects.com/images/Debit_Credit_APM.svg" alt="cards">
30+
<section style="font-size: 0.75rem;">
31+
Powered by
32+
<img
33+
src="https://www.paypalobjects.com/paypal-ui/logos/svg/paypal-wordmark-color.svg"
34+
alt="paypal"
35+
style="height:0.875rem;vertical-align:middle;"
36+
>
37+
</section>
38+
</form>
39+
</div>
1240
</div>
1341
<div class="container mt-0">
1442
&copy; Copyright {{ site.time | date: '%Y' }}
@@ -29,14 +57,42 @@
2957
{% include newsletter.liquid %}
3058
{% endif %}
3159
<div class="container">
32-
<div id="paypal-container-KQD5A49V45C38"></div>
33-
<script>
34-
paypal
35-
.HostedButtons({
36-
hostedButtonId: 'KQD5A49V45C38',
37-
})
38-
.render('#paypal-container-KQD5A49V45C38');
39-
</script>
60+
<div>
61+
<style>
62+
.pp-KQD5A49V45C38 {
63+
text-align: center;
64+
border: none;
65+
border-radius: 0.25rem;
66+
min-width: 11.625rem;
67+
padding: 0 2rem;
68+
height: 2.625rem;
69+
font-weight: bold;
70+
background-color: #ffd140;
71+
color: #000000;
72+
font-family: 'Helvetica Neue', Arial, sans-serif;
73+
font-size: 1rem;
74+
line-height: 1.25rem;
75+
cursor: pointer;
76+
}
77+
</style>
78+
<form
79+
action="https://www.paypal.com/ncp/payment/KQD5A49V45C38"
80+
method="post"
81+
target="_blank"
82+
style="display:inline-grid;justify-items:center;align-content:start;gap:0.5rem;"
83+
>
84+
<input class="pp-KQD5A49V45C38" type="submit" value="Donate Now">
85+
<img src="https://www.paypalobjects.com/images/Debit_Credit_APM.svg" alt="cards">
86+
<section style="font-size: 0.75rem;">
87+
Powered by
88+
<img
89+
src="https://www.paypalobjects.com/paypal-ui/logos/svg/paypal-wordmark-color.svg"
90+
alt="paypal"
91+
style="height:0.875rem;vertical-align:middle;"
92+
>
93+
</section>
94+
</form>
95+
</div>
4096
</div>
4197
<div class="container">
4298
<a href="/policies/tandc/">Terms and Conditions</a> | <a href="/policies/privacy/">Privacy Policy</a> |

_layouts/default.liquid

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
<meta http-equiv="refresh" content="3; url={{ redirect }}">
1414
{% endif %}
1515
{% include head.liquid %}
16-
<script
17-
src="https://www.paypal.com/sdk/js?client-id=BAAB9LFf_xjBic-O6NBfv15xjkAZDLMUQ-Xuo8_1XqlJqXkXd6w4ClOiVPXSvTIBk3tVmTF81bGP0-TMw4&components=hosted-buttons&disable-funding=venmo&currency=USD"
18-
></script>
1916
</head>
2017

2118
<!-- Body -->

0 commit comments

Comments
 (0)