-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Closed
Description
Im trying to have a sticky footer but it is not sticky. Any ideas?
Here is my router handler:
var React = require('react');
var Navbar = require('./Navbar.js');
var Footer = require('./Footer');
var Router = require('react-router');
var RouteHandler = Router.RouteHandler;
var App = React.createClass({
render: function () {
return (
<div className="app-wrapper">
<Navbar />
<div>
<RouteHandler />
</div>
<Footer />
</div>
);
}
});
module.exports = App;
And this is the footer.js:
var React = require('react');
var Router = require('react-router');
var Link = Router.Link;
var Navigation = require('react-router').Navigation;
var Footer = React.createClass({
mixins: [Navigation],
render: function () {
return (
<footer>
<div id="credits">
<div className="container text-center">
<div className="row">
<div className="col-md-5">
<li>© 2015</li>
<li><Link to="contactus">Contact Us</Link></li>
<li><Link to="about">About</Link></li>
</div>
<div className="col-md-5" id="social-networks">
<a href="#"><i className="fa fa-2x fa-facebook-square"></i></a>
<a href="#"><i className="fa fa-2x fa-twitter-square"></i></a>
<a href="#"><i className="fa fa-2x fa-google-plus-square"></i></a>
<a href="#"><i className="fa fa-2x fa-youtube-square"></i></a>
<a href="#"><i className="fa fa-2x fa-vimeo-square"></i></a>
<a href="#"><i className="fa fa-2x fa-pinterest-square"></i></a>
<a href="#"><i className="fa fa-2x fa-linkedin-square"></i></a>
</div>
</div>
</div>
</div>
</footer>
);
}
});
module.exports = Footer;
Any idea the best way to do this?
albacoretunaAlexChesters and LeBovin
Metadata
Metadata
Assignees
Labels
No labels