added Navbar, profile and post skeleton

This commit is contained in:
Leon Liang 2019-09-26 13:58:26 -04:00
parent 70037a5342
commit d703843277
4 changed files with 1627 additions and 570 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,11 +3,17 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@material-ui/core": "^4.4.3",
"create-react-app": "^3.1.2",
"install": "^0.13.0",
"node-pre-gyp": "^0.13.0",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-router-dom": "^5.0.1",
"react-scripts": "0.9.5"
"react-redux": "^7.1.1",
"react-router-dom": "^5.1.0",
"react-scripts": "0.9.5",
"redux": "^4.0.4",
"redux-thunk": "^2.3.0"
},
"devDependencies": {},
"scripts": {

View File

@ -40,4 +40,9 @@
height:40px;
border: 0px;
padding: 10px;
}
.container {
margin: 80px auto 0 auto;
max-width: 1200px;
}

View File

@ -4,6 +4,11 @@ import { BrowserRouter as Router } from 'react-router-dom';
import Route from 'react-router-dom/Route';
import './App.css';
//TODO: reorganize imports
// pages
import user from './pages/user';
var validEmail = true;
var validUsername = false;
var validPassword = false;
@ -162,6 +167,8 @@ class App extends Component {
}
}/>
<Route exact path="/user" component={user} />