File tree Expand file tree Collapse file tree 5 files changed +27
-15
lines changed Expand file tree Collapse file tree 5 files changed +27
-15
lines changed Original file line number Diff line number Diff line change @@ -177,11 +177,9 @@ div.light-theme-background {
177
177
body .light-theme-background {
178
178
background-color : # f8f8f8 ;
179
179
}
180
- /*
181
- span.github-logo {
182
- display: inline-block;
183
- vertical-align: middle;
184
- height: 32px;
185
- width: 32px;
186
- background-image: url("../images/GitHub-Mark-Light-32px.png");
187
- }*/
180
+ div .footer {
181
+ position : fixed;
182
+ left : 0 ;
183
+ bottom : 0 ;
184
+ padding : 5px ;
185
+ }
Original file line number Diff line number Diff line change
1
+ var React = require ( 'react' ) ;
2
+
3
+
4
+ var Footer = React . createClass ( {
5
+
6
+ render : function ( ) {
7
+ return (
8
+ < div className = "footer" >
9
+ < a href = "https://github.com/dbishai/orthodox-presenter" >
10
+ < img src = "../../images/GitHub-Mark-Light-32px.png" /> </ a >
11
+ </ div >
12
+ ) ;
13
+ } ,
14
+
15
+
16
+ } ) ;
17
+
18
+ module . exports = Footer ;
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ var NavMenuItem = require('./NavMenuItem.react');
5
5
var NavItem = require ( './NavItem.react' ) ;
6
6
var SectionItem = require ( './SectionItem.react' ) ;
7
7
var MainSection = require ( './MainSection.react' ) ;
8
+ var Footer = require ( './Footer.react' ) ;
8
9
9
10
var getState = function ( ) {
10
11
return {
@@ -77,6 +78,7 @@ var NavMenu = React.createClass({
77
78
{ navItems }
78
79
{ sectionItems }
79
80
</ ul >
81
+ < Footer />
80
82
</ div >
81
83
< MainSection
82
84
attributes = { this . state . attributes }
Original file line number Diff line number Diff line change @@ -38,13 +38,7 @@ var NavMenu = {
38
38
"title" : "Feedback" ,
39
39
"url" :
"mailto:[email protected] " ,
40
40
"span_class" : "glyphicon glyphicon-envelope"
41
- } /*,
42
- "github": {
43
- "id": "github",
44
- "title": "GitHub",
45
- "url": "https://github.com/dbishai/orthodox-presenter",
46
- "span_class": "github-logo"
47
- }*/
41
+ }
48
42
} ;
49
43
50
44
You can’t perform that action at this time.
0 commit comments