Basic outline of the accounts page

This commit is contained in:
Eli Ribble 2016-05-18 15:02:14 -06:00
parent 2255d34ee9
commit 9eef6c9754
2 changed files with 16 additions and 0 deletions

14
lib/accounts.js Normal file
View File

@ -0,0 +1,14 @@
import * as BS from 'react-bootstrap';
import React from 'react';
import Navbar from 'vanth/navbar';
module.exports = React.createClass({
render: function() {
return (
<div className='container-fluid'>
<Navbar/>
<p>You don't have any accounts yet!</p>
</div>
);
}
});

View File

@ -1,6 +1,7 @@
import React from 'react'; import React from 'react';
import PathToRegexp from 'path-to-regexp'; import PathToRegexp from 'path-to-regexp';
import Accounts from 'vanth/accounts';
import Dashboard from 'vanth/dashboard'; import Dashboard from 'vanth/dashboard';
import Login from 'vanth/login'; import Login from 'vanth/login';
import Register from 'vanth/register'; import Register from 'vanth/register';
@ -8,6 +9,7 @@ import Register from 'vanth/register';
const Router = React.createClass({ const Router = React.createClass({
routes: { routes: {
"/" : Dashboard, "/" : Dashboard,
"/accounts" : Accounts,
"/login" : Login, "/login" : Login,
"/register" : Register, "/register" : Register,
}, },