Skip to content

Commit eb9f231

Browse files
re-fortkazupon
authored andcommitted
accept cryptocurrency donations + re-organize support dropdown (vuejs#575)
1 parent 70a9452 commit eb9f231

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 は MIT ライセンスのオープンソース・プロジェクトで、どなたでも無料で利用できます。
44
しかしながら、プロジェクトの維持と新機能の開発には一定の労力を要するので、適度な資本の後ろ盾なしには持続することができません。以下の方法で Vue.js の開発を支援できます。
55

6+
## 1回きりの支援
7+
8+
これらの経路で寄付を受け入れています:
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+
## 継続的な支援
56+
57+
継続的な支援には専用の特典が付いています。例えば、あなたの名前が Vue の GitHub リポジトリに記載されたり、またはこのウェブサイトにあなたの会社のロゴが置かれます。
58+
659
- [Patreon で後援者またはスポンサーになる](https://www.patreon.com/evanyou) (Vue での Evan You のフルタイムワークをサポートします)
760

861
- [OpenCollective で後援者またはスポンサーになる](https://opencollective.com/vuejs) (コミュニティの活動とイベントをサポートする透明な経費モデルで、支援金は基金に入ります)
962

10-
- [PayPal での1回限りの寄付](https://www.paypal.me/evanyou).
11-
1263
## 現在のプレミアムスポンサー:
1364

1465
### プラチナ

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">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">ショップ</a></li>
6-
<li><a href="https://opencollective.com/vuejs" target="_blank" class="nav-link">OpenCollective で支援する</a></li>
7-
<li><a href="https://www.patreon.com/evanyou" target="_blank" class="nav-link">Patreon で Evan を支援する</a></li>
5+
<li><a href="/support-vuejs/#1回きりの支援" class="nav-link">1回きりの支援</a></li>
6+
<li><a href="/support-vuejs/#継続的な支援" target="_blank" class="nav-link">継続的な支援</a></li>
7+
<li><a href="https://vue.threadless.com" target="_blank" class="nav-link">Tシャツ ショップ</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)