Skip to content

Commit

Permalink
Use custom paypal button to avoid tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhageloh committed Feb 18, 2024
1 parent 5facdba commit e134e50
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,17 +129,17 @@ <H1>Support Übersicht</H1>
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="locale.x" value="en_US" />
<input
type="image"
src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif"
border="0"
id="paypal"
type='submit'
class='donate button'
name="submit"
value="Donate"
title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button"
/>
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
in <b>USD $</b> using PayPal
</form>
<div>
<a id='donate' class='button' title="Donate via bunq" href='https://bunq.me/uebersicht'>Donate</a> in <b>EUR €</b> using bunq
<a class='donate button' title="Donate via bunq" href='https://bunq.me/uebersicht'>Donate</a> in <b>EUR €</b> using bunq
</div>
</div>
<em>Thank you!</em>
Expand Down
2 changes: 1 addition & 1 deletion main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 18 additions & 3 deletions styl/main.styl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ h3
.center
text-align: center

a.button, a.button:link, a.button:visited
.button, .button:link, .button:visited
font-size: 14px
font-weight: 400
padding: 5px 10px
Expand Down Expand Up @@ -126,7 +126,7 @@ main
text-align: center
font-size: 0

a.button, a.button:link, a.button:visited
.button, .button:link, .button:visited
margin-right: 10px
color: #152033;
padding: 10px 20px
Expand Down Expand Up @@ -206,13 +206,28 @@ main
justify-content: space-between
margin-bottom: 20px

a#donate
.donate
width: 92px
box-sizing: border-box
text-align: center
margin-right: 5px
border-radius: 20px
padding: 3px
line-height: 1.5em
border-color: transparent
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1)
cursor: pointer
background-color: #152033
color: #fff

&:hover
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2)

#paypal
background: #FFD140
color: #003087
font-weight: bold


input
vertical-align: middle
Expand Down

0 comments on commit e134e50

Please sign in to comment.