File tree Expand file tree Collapse file tree 5 files changed +28
-9
lines changed
Expand file tree Collapse file tree 5 files changed +28
-9
lines changed Original file line number Diff line number Diff line change 1- {"main" :" main.83d6de6a .js" ,"vendor" :" vendor.5bdb61b6 .js" }
1+ {"main" :" main.25a5692b .js" ,"vendor" :" vendor.d7ae4194 .js" }
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ module.exports = React.createClass
1515 div style : style .widget .title , ' 社区'
1616 link ' CNode.js 中文社区' , ' http://cnodejs.org'
1717 link ' CNode.js 中文社区, 微博' , ' http://weibo.com/cnodejs'
18- div style : style .widget .group , ' QQ 群: ??? '
19- div style : style .widget .group , ' 微信 : ???'
18+ div style : style .widget .group , ' QQ 群: 277703721 '
19+ div style : style .widget .group , ' 微信群 : ???'
Original file line number Diff line number Diff line change @@ -3,11 +3,15 @@ React = require 'react'
33
44style = require ' ../style'
55
6- {div } = React .DOM
6+ {div , span } = React .DOM
77
88module .exports = React .createClass
99 displayName : ' footer'
1010
11+ onEdit : ->
12+ window .open ' https://github.com/cnodejs/nav.cnodejs.org'
13+
1114 render : ->
1215 div style : style .layout .footer ,
13- ' 浙ICP备14043687号-2'
16+ div style : style .widget .forkButton , onClick : @onEdit , ' ✎ 添加内容'
17+ span style : style .widget .copyright , ' 浙ICP备14043687号-2'
Original file line number Diff line number Diff line change @@ -22,9 +22,6 @@ exports.column =
2222
2323exports .footer =
2424 display : ' flex'
25- flexDirection : ' row '
25+ flexDirection : ' column '
2626 alignItems : ' center'
2727 justifyContent : ' center'
28- fontSize : 13
29- color : hsl 0 , 0 , 80
30- height : 100
Original file line number Diff line number Diff line change @@ -19,3 +19,21 @@ exports.group =
1919exports .link =
2020 lineHeight : ' 40px'
2121 display : ' block'
22+
23+ exports .copyright =
24+ fontSize : 13
25+ color : hsl 0 , 0 , 80
26+ height : 100
27+
28+ exports .forkButton =
29+ backgroundColor : hsl 100 , 70 , 50
30+ color : ' white'
31+ display : ' flex'
32+ alignItems : ' center'
33+ justifyContent : ' center'
34+ borderRadius : 5
35+ height : ' 46px'
36+ width : ' 200px'
37+ marginBottom : ' 40px'
38+ fontSize : ' 20px'
39+ cursor : ' pointer'
You can’t perform that action at this time.
0 commit comments