Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Commit

Permalink
feat(footer): add footer
Browse files Browse the repository at this point in the history
  • Loading branch information
sanemat committed Jul 18, 2015
1 parent 7c1672b commit 4c2c3df
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
14 changes: 14 additions & 0 deletions assets/styles/main.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
@import "icons.less";
@import "sprite.css";
@import "notification.less";

html {
color: #2C2C2C;
background-color: #fefefe;
}

footer {
color: #404040;
}

.list-footer {
list-style: none;
margin: 100px;
}
30 changes: 30 additions & 0 deletions lib/components/Footer.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import React, { Component } from 'react';

export default class Footer extends Component {
constructor (props, context) {
super(props, context);
}

render () {
return (
<footer>
<ul className="list-footer">
<li>
♫ Enjoy emoji life!
</li>
<li>
☃ Emoji App source code is available on <a
href="https://github.com/lyrictenor/nwjs-emoji-app"
>GitHub</a>.
</li>
<li>
☺ These emoji data are based on <a
href="http://www.emoji-cheat-sheet.com/"
>Emoji-cheat-sheet.com</a>.
</li>
</ul>
</footer>
);
}

}
2 changes: 2 additions & 0 deletions lib/containers/Root.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { Component } from 'react';
import { bindActionCreators } from 'redux';
import { Connector } from 'react-redux';
import MainSection from '../components/MainSection.jsx';
import Footer from '../components/Footer.jsx';
import * as EmojiActions from '../actions/EmojiActions';

export default class Root extends Component {
Expand All @@ -18,6 +19,7 @@ export default class Root extends Component {
return (
<div>
<MainSection emojis={emojis} actions={actions} />
<Footer />
</div>
);
}
Expand Down

0 comments on commit 4c2c3df

Please sign in to comment.