Skip to content

Commit 8bb2f6d

Browse files
committed
added my twitter&weibo links
1 parent 6b8833d commit 8bb2f6d

6 files changed

Lines changed: 22 additions & 6 deletions

File tree

‎README.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ Thanks
2121
* Utils - [generator-webappstarter](https://github.com/unbug/generator-webappstarter)
2222
* [Data Drive Management System](https://github.com/unbug/ddms)
2323

24+
25+
Find me
26+
=================
27+
* Twitter [@unbug](https://twitter.com/unbug)
28+
* 微博 [@听奏](http://weibo.com/unbug)
2429

30+
2531
Programming naming convention
2632
=============================
2733
* [Google Style Guides](https://github.com/google/styleguide)

‎cache.manifest‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# Build: 20160111091842
2+
# Build: 20160112105832
33

44
CACHE:
55
resources/fonts/Dressedless_Three.svg

‎index.html‎

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎static/app/index.html‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,10 @@ <h5 class="variable-wrap" data-id="{id}" data-repo="{repo}" data-val="{val}"><sp
124124
</div>
125125
</section>
126126
<section class="row donate hide">
127-
<header><h6 class="title">Buy me a drink</h6></header>
127+
<header class="title">
128+
<h6 class="lang en">Buy <a href="https://twitter.com/unbug" target="_blank">@unbug</a> a drink</h6>
129+
<h6 class="lang cn">赞助 <a href="http://weibo.com/unbug/" target="_blank">@听奏</a> 这个月的房租</h6>
130+
</header>
128131
<div class="bd">
129132
<img src="resources/images/wechatpay.jpg" class="wechatpay" title="微信付款"/>
130133
<img src="resources/images/zhifubao.png" class="zhifubao" title="支付宝转账"/>

‎static/app/resources/css/style.css‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,13 @@ html,body{
177177
padding-bottom: 10px;
178178
text-align: center;
179179
}
180+
.donate .title .lang{
181+
display: none;
182+
}
183+
.donate .title.cn .cn,
184+
.donate .title.en .en{
185+
display: block;
186+
}
180187
.donate .bd{
181188
display: block;
182189
width: 100%;

‎static/app/src/App.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ $(function () {
765765
function renderDonate(isZh){
766766
isZh = isZh || els.isZHSearchKeyWords;
767767
els.donate.removeClass('hide');
768-
els.donateTitle.html(isZh?'赞助我这个月的房租':'Buy me a drink');
768+
els.donateTitle.removeClass('cn en').addClass(isZh?'cn':'en');
769769
}
770770

771771
function renderAnalytics(param){

0 commit comments

Comments
 (0)