var React = require('react') var ReactDOM = require('react-dom') var Router = require('react-router').Router var Route = require('react-router').Route var IndexRoute = require('react-router').IndexRoute var Redirect = require('react-router').Redirect var Link = require('react-router').Link // Load CSS require('normalize.css') require('skeleton.css') require('style.css') require('raleway.css') // Load Components var opt = require('options.jsx').get() var boardsWrapper = require('boardsapiwrapper.js') var boards = new boardsWrapper() var Icon = require('icon.jsx') var GetIPFS = require('getipfs.jsx') // Load pages var Navbar = require('navbar.jsx')(boards) var Users = require('users.jsx')(boards) var Settings = require('settings.jsx')(boards) var Profile = require('profile.jsx')(boards) var Board = require('board.jsx')(boards) var PostPage = require('postpage.jsx')(boards) var CommentPage = require('commentpage.jsx')(boards) // Define Main Components var Container = React.createClass({ render: function(){ return (
Sorry, there's nothing here!