Skip to content

Commit 84c1cad

Browse files
committed
accept cryptocurrency donations + re-organize support dropdown
1 parent 42dcd13 commit 84c1cad

File tree

8 files changed

+77
-5
lines changed

8 files changed

+77
-5
lines changed

src/support-vuejs/index.md

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,63 @@
33
Vue.js is an MIT licensed open source project and completely free to use.
44
However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing. You can support Vue.js development via the following methods:
55

6+
## One-time Donations
7+
8+
We accept donations through these channels:
9+
10+
<div id="one-time-donations">
11+
<a href="https://www.paypal.me/evanyou" target="_blank"><img src="/images/paypal.png" style="width:100px"></a><a href="#btc"><svg width="38" height="38" viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><circle fill="#FFAD02" cx="19" cy="19" r="19"></circle><path d="M24.7 19.68a3.63 3.63 0 0 0 1.47-2.06c.74-2.77-.46-4.87-3.2-5.6l.89-3.33a.23.23 0 0 0-.16-.28l-1.32-.35a.23.23 0 0 0-.28.15l-.89 3.33-1.75-.47.88-3.32a.23.23 0 0 0-.16-.28l-1.31-.35a.23.23 0 0 0-.28.15l-.9 3.33-3.73-1a.23.23 0 0 0-.27.16l-.36 1.33c-.03.12.04.25.16.28l.22.06a1.83 1.83 0 0 1 1.28 2.24l-1.9 7.09a1.83 1.83 0 0 1-2.07 1.33.23.23 0 0 0-.24.12l-.69 1.24a.23.23 0 0 0 0 .2c.02.07.07.12.14.13l3.67.99-.89 3.33c-.03.12.04.24.16.27l1.32.35c.12.03.24-.04.28-.16l.89-3.32 1.76.47-.9 3.33c-.02.12.05.24.16.27l1.32.35c.12.03.25-.04.28-.16l.9-3.32.87.23c2.74.74 4.83-.48 5.57-3.25.35-1.3-.05-2.6-.92-3.48zm-5.96-5.95l2.64.7a1.83 1.83 0 0 1 1.28 2.24 1.83 1.83 0 0 1-2.23 1.3l-2.64-.7.95-3.54zm1.14 9.8l-3.51-.95.95-3.54 3.51.94a1.83 1.83 0 0 1 1.28 2.24 1.83 1.83 0 0 1-2.23 1.3z" fill="#FFF"></path></g></svg> BTC
12+
</a><a href="#bch"><svg width="38" height="38" viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><circle fill="#8DC451" cx="19" cy="19" r="19"></circle><path d="M24.5 16.72c.37-.76.48-1.64.25-2.52-.75-2.76-2.84-3.98-5.58-3.25l-.89-3.32a.23.23 0 0 0-.28-.16l-1.32.35a.23.23 0 0 0-.16.27l.9 3.33-1.76.47-.9-3.32a.23.23 0 0 0-.27-.16l-1.32.35a.23.23 0 0 0-.16.28l.9 3.32-3.74 1a.23.23 0 0 0-.16.29l.35 1.32c.04.12.16.2.28.17l.22-.06c.97-.26 1.97.32 2.23 1.3l1.9 7.08c.25.93-.25 1.87-1.13 2.2a.23.23 0 0 0-.14.21l.02 1.43c0 .07.04.13.1.18.05.04.12.05.19.04l3.67-.99.9 3.33c.03.12.15.19.27.15l1.31-.35c.12-.03.2-.16.16-.28l-.88-3.32 1.75-.47.9 3.33c.03.12.15.19.27.15l1.32-.35c.12-.03.19-.16.16-.28l-.9-3.32.88-.24c2.75-.73 3.95-2.83 3.2-5.6a3.63 3.63 0 0 0-2.54-2.56zm-8.13-2.17l2.63-.7c.97-.26 1.97.32 2.23 1.3.27.97-.3 1.98-1.28 2.24l-2.63.7-.95-3.54zm5.88 7.91l-3.5.94-.96-3.54 3.51-.94c.97-.26 1.97.32 2.24 1.3.26.98-.32 1.98-1.29 2.24z" fill="#FFF"></path></g></svg> BCH
13+
</a><a href="#eth"><svg xmlns="http://www.w3.org/2000/svg" width="38" height="38" viewBox="0 0 32 32"><g fill="none" fill-rule="evenodd"><ellipse cx="16" cy="16" fill="#6F7CBA" rx="16" ry="16"></ellipse><path fill="#FFF" d="M10.13 17.76c-.1-.15-.06-.2.09-.12l5.49 3.09c.15.08.4.08.56 0l5.58-3.08c.16-.08.2-.03.1.11L16.2 25.9c-.1.15-.28.15-.38 0l-5.7-8.13zm.04-2.03a.3.3 0 0 1-.13-.42l5.74-9.2c.1-.15.25-.15.34 0l5.77 9.19c.1.14.05.33-.12.41l-5.5 2.78a.73.73 0 0 1-.6 0l-5.5-2.76z"></path></g></svg> ETH
14+
</a><a href="#ltc"><svg xmlns="http://www.w3.org/2000/svg" width="38" height="38" viewBox="0 0 38 38"><g fill="none" fill-rule="evenodd"><circle cx="19" cy="19" r="19" fill="#B5B5B5" fill-rule="nonzero"></circle><path fill="#FFF" d="M12.29 28.04l1.29-5.52-1.58.67.63-2.85 1.64-.68L16.52 10h5.23l-1.52 7.14 2.09-.74-.58 2.7-2.05.8-.9 4.34h8.1l-.99 3.8z"></path></g></svg> LTC
15+
</a>
16+
</div>
17+
18+
{% raw %}
19+
<div id="coin-details" v-if="type && coins[type]">
20+
<p>{{ coins[type].name }} Address:<br>{{ coins[type].address }}</p>
21+
<img :src="'/images/coin-' + type + '.png'">
22+
</div>
23+
{% endraw %}
24+
25+
<script>
26+
var coins = new Vue({
27+
el: '#coin-details',
28+
data: {
29+
type: window.location.hash.slice(1),
30+
coins: {
31+
btc: {
32+
name: 'Bitcoin',
33+
address: '14MEpy5a9MwDZa9CUzrfDhTU8dy2KKJ5mU'
34+
},
35+
bch: {
36+
name: 'Bitcoin Cash',
37+
address: '15gftB3fwumFRWGWFhVzTgc4nhM5w1F2Tu'
38+
},
39+
eth: {
40+
name: 'Ethereum',
41+
address: '0x3411356C1f0Bf5D859464eD2AC54DD2C222519B7'
42+
},
43+
ltc: {
44+
name: 'Litecoin',
45+
address: 'LUcHis3B8SFtEeZtuCaZoqsyN9XFAKmbCP'
46+
}
47+
}
48+
}
49+
})
50+
window.addEventListener('hashchange', function () {
51+
coins.type = window.location.hash.slice(1)
52+
})
53+
</script>
54+
55+
## Recurring Pledges
56+
57+
Recurring pledges come with exclusive perks, e.g. having your name listed in the Vue GitHub repository, or have your company logo placed on this website.
58+
659
- [Become a backer or sponsor via Patreon](https://www.patreon.com/evanyou) (goes directly to support Evan You's full-time work on Vue)
760

861
- [Become a backer or sponsor via OpenCollective](https://opencollective.com/vuejs) (goes into a fund with transparent expense models supporting community efforts and events)
962

10-
- [One-time donation via PayPal](https://www.paypal.me/evanyou).
11-
1263
## Current Premium Sponsors:
1364

1465
### Platinum

themes/vue/layout/partials/support_vue_dropdown.ejs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<a class="nav-link">Support Vue</a><span class="arrow"></span>
33
<ul class="nav-dropdown">
44
<li><ul>
5-
<li><a href="https://vue.threadless.com" target="_blank" class="nav-link">Shop</a></li>
6-
<li><a href="https://opencollective.com/vuejs" target="_blank" class="nav-link">Support Us on OpenCollective</a></li>
7-
<li><a href="https://www.patreon.com/evanyou" target="_blank" class="nav-link">Support Evan on Patreon</a></li>
5+
<li><a href="/support-vuejs/#One-time-Donations" class="nav-link">One-time Donations</a></li>
6+
<li><a href="/support-vuejs/#Recurring-Pledges" target="_blank" class="nav-link">Recurring Pledges</a></li>
7+
<li><a href="https://vue.threadless.com" target="_blank" class="nav-link">T-Shirt Shop</a></li>
88
</ul></li>
99
</ul>
1010
</li>

themes/vue/source/css/_sponsor.styl

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,24 @@
6969
img
7070
max-height 80px
7171
margin-right 20px
72+
73+
#one-time-donations
74+
a, svg
75+
display inline-block
76+
vertical-align middle
77+
a
78+
margin 20px
79+
color $medium
80+
svg
81+
margin-right 5px
82+
83+
#coin-details
84+
text-align center
85+
border-radius 4px
86+
padding 30px
87+
font-weight bold
88+
img
89+
width 200px
90+
p
91+
padding 0
92+
margin 0 0 20px

themes/vue/source/images/coin-bch.png

12.5 KB
Loading

themes/vue/source/images/coin-btc.png

12.3 KB
Loading

themes/vue/source/images/coin-eth.png

12.5 KB
Loading

themes/vue/source/images/coin-ltc.png

12 KB
Loading

themes/vue/source/images/paypal.png

6.79 KB
Loading

0 commit comments

Comments
 (0)