Skip to content

Commit

Permalink
add ad
Browse files Browse the repository at this point in the history
  • Loading branch information
looly committed Nov 9, 2021
1 parent 6c2e876 commit 908229c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
6 changes: 4 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@
// footer
function(hook) {
var ad = [
'<div style="padding: 0em 1em 1em 1em; background-color: #E8ECF1;">特别赞助 by:<a target="_blank" href="http://www.ccflow.org/?from=hutool"><img src="https://cdn.jsdelivr.net/gh/looly/hutool-site/images/ad/ccflow2.png" style="width:100%"></a></div>',
'<br/>'
'<div style="padding: 0em 1em 1em 1em; background-color: #E8ECF1;">特别赞助 by:',
'<a target="_blank" href="http://www.ccflow.org/?from=hutool"><img src="https://cdn.jsdelivr.net/gh/looly/hutool-site/images/ad/ccflow2.png" style="width:100%;margin-top:10px"></a>',
'<a target="_blank" href="https://sourl.cn/ri66pJ?from=hutool"><img src="https://cdn.jsdelivr.net/gh/looly/hutool-site/images/ad/xiaoe/mstj.png" style="width:100%;margin-top:10px"></a>',
'</div><br/>'
].join('');

var footer = [
Expand Down
11 changes: 9 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,13 @@ <h2>A set of tools that keep Java sweet.</h2>
<div>
<a href="https://gitee.com/dromara/hutool/" target="_blank" class="btn btn-primary btn-outline">&nbsp;Gitee&nbsp;</a>
&nbsp;&nbsp;<a href="https://github.com/dromara/hutool/" target="_blank" class="btn btn-primary btn-outline">Github</a>
&nbsp;<a href="https://m.tb.cn/h.ffgEqc5?sm=800215" target="_blank" class="btn btn-primary btn-outline">👕周边商店</a>
&nbsp;<a href="https://m.tb.cn/h.fVxoBOm?sm=2756b2" target="_blank" class="btn btn-primary btn-outline">👕周边商店</a>
</div>
<br/>
<div style="font-size: 1em;color: white;border-top: 1px solid white;padding-top: 20px;">
<div style="font-weight: 600;margin-bottom: 20px;">特别赞助:</div>
<a href="http://www.ccflow.org/?from=hutool" target="_blank"><img src="https://cdn.jsdelivr.net/gh/looly/hutool-site/images/ad/ccflow3.png" height="60px;"></a>
<a href="https://sourl.cn/FfgCLV?from=hutool" target="_blank"><img src="https://cdn.jsdelivr.net/gh/looly/hutool-site/images/ad/xiaoe/small_red.png" height="90px;"></a>
</div>
</div>
</div>
Expand All @@ -106,7 +107,7 @@ <h2>A set of tools that keep Java sweet.</h2>
<a href="#" data-nav-section="contact">加入讨论</a>
<a href="#" data-nav-section="donate">赞助商</a>
<a href="#" data-nav-section="friends">友情链接</a>
<span><a href="https://m.tb.cn/h.ffgEqc5?sm=800215" onclick="window.location.href='https://m.tb.cn/h.ffgEqc5?sm=800215'" style="color: red;">👕周边商店</a></span>
<span><a href="https://m.tb.cn/h.fVxoBOm?sm=2756b2" onclick="window.location.href='https://m.tb.cn/h.fVxoBOm?sm=2756b2'" style="color: red;">👕周边商店</a></span>
</div>
</div>
</div>
Expand Down Expand Up @@ -332,6 +333,9 @@ <h2>赞助商</h2>
<div class="col-md-12">
<a target="_blank" href="http://www.ccflow.org/?from=hutool"><img src="https://cdn.jsdelivr.net/gh/looly/hutool-site/images/ad/ccflow2.png" style="width:100%"></a>
</div>
<div class="col-md-12" style="margin-top: 2em;">
<a target="_blank" href="https://sourl.cn/qcZ528?from=hutool"><img src="https://cdn.jsdelivr.net/gh/looly/hutool-site/images/ad/xiaoe/xly.png" style="width:100%"></a>
</div>
<div class="col-md-12" style="margin-top: 2em;">
<a target="_blank" href="https://www.tulingxueyuan.cn/?from=hutool"><img src="https://cdn.jsdelivr.net/gh/looly/hutool-site/images/ad/yuanmaxueyuan.jpg" style="width:100%"></a>
</div>
Expand Down Expand Up @@ -435,6 +439,9 @@ <h2>友情开源项目</h2>
<div class="col-md-2 friend">
<a target="_blank" href="http://www.ccflow.org/?from=hutool"><img src="https://cdn.jsdelivr.net/gh/looly/hutool-site/images/friends/ccflow.png"></a>
</div>
<div class="col-md-2 friend">
<a target="_blank" href="https://sourl.cn/FfgCLV?from=hutool" target="_blank"><img src="https://cdn.jsdelivr.net/gh/looly/hutool-site/images/ad/xiaoe/small_blue.png"></a>
</div>
<div class="col-md-12 text-center fh5co-heading" style="margin-top:50px;">
<h2>友情链接</h2>
</div>
Expand Down

0 comments on commit 908229c

Please sign in to comment.