mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Split out footer container/presentation
This commit is contained in:
parent
f05cb39501
commit
017d58fb1b
2 changed files with 25 additions and 0 deletions
16
src/components/presentation/footer/footer.jsx
Normal file
16
src/components/presentation/footer/footer.jsx
Normal file
|
@ -0,0 +1,16 @@
|
|||
var React = require('react');
|
||||
|
||||
require('./footer.scss');
|
||||
|
||||
var FooterBox = React.createClass({
|
||||
type: 'FooterBox',
|
||||
render: function () {
|
||||
return (
|
||||
<div className="inner">
|
||||
{this.props.children}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = FooterBox;
|
9
src/components/presentation/footer/footer.scss
Normal file
9
src/components/presentation/footer/footer.scss
Normal file
|
@ -0,0 +1,9 @@
|
|||
@import "../../../colors";
|
||||
|
||||
#footer {
|
||||
display: block;
|
||||
background-color: $ui-gray;
|
||||
padding: 10px 0;
|
||||
color: $type-gray;
|
||||
font-size: .85rem;
|
||||
}
|
Loading…
Reference in a new issue