Merge branch 'master' into master

This commit is contained in:
z@tOr authored and GitHub committed 2018-10-15 10:19:20 -03:00
commit a84c453251
9 files changed
+4959 -6307

No files matched your search

+3
View File
@@ -13,3 +13,6 @@ npm-debug.log*
#Mac specific files
.DS_Store
client/package-lock.json
client/package-lock.json
server/package-lock.json
server/package-lock.json
+3967 -5318
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -73,7 +73,7 @@
"dependencies": {
"@advancedalgos/key-vault-client": "0.0.6",
"@advancedalgos/teams-client": "0.0.20",
"@advancedalgos/users-client": "0.0.7",
"@advancedalgos/users-client": "0.0.8",
"@advancedalgos/web-components": "0.0.10",
"@babel/runtime": "^7.1.2",
"@material-ui/core": "^3.2.0",
Binary file not shown.

After

Width:  |  Height:  |  Size: 300 KiB

+3 -2
View File
@@ -5,10 +5,11 @@ import indigo from '@material-ui/core/colors/indigo'
export const theme = createMuiTheme({
palette: {
primary: { main: '#303036' },
secondary: indigo
secondary: { main: '#CC5835' } // <--RUSTED_RED ~ GOLDEN_ORANGE --> #F0A202
},
typography: {
fontFamily: '"Saira","Saira Condenses", sans-serif'
fontFamily: '"Saira","Saira Condenses", sans-serif',
useNextVariants: true
},
overrides: {
Paper: {
+1 -1
View File
@@ -8,7 +8,7 @@ import { Link } from 'react-router-dom'
import ProfileIcon from '@material-ui/icons/Person'
import LogoutIcon from '@material-ui/icons/DirectionsWalk'
const UserLink = props => <Link to='/user' {...props} />
const UserLink = props => <Link to='/users' {...props} />
const LogoutLink = props => <Link to='/' {...props} />
class LoggedInUserMenu extends Component {
+7 -7
View File
@@ -10,7 +10,6 @@ import Button from '@material-ui/core/Button'
// icons
import HomeIcon from '@material-ui/icons/Home'
import DashboardIcon from '@material-ui/icons/Dashboard'
import { Link } from 'react-router-dom'
@@ -23,8 +22,8 @@ import { LoggedOut } from './LoggedOut'
import AALogo from '../../assets/advanced-algos/aa-logo-dark.svg'
const AboutLink = props => <Link to='/about' {...props} />
const TeamsLink = props => <Link to='/teams' {...props} />
const UsersLink = props => <Link to='/users' {...props} />
const TeamsLink = props => <Link to='/teams' {...props} />
const KeyVaultLink = props => <Link to='/keys' {...props} />
const DashboardLink = props => <Link to='/dashboard' {...props} />
const HomeLink = props => <Link to='/' {...props} />
@@ -106,11 +105,14 @@ class Header extends Component {
>
<HomeIcon />
</IconButton>
<Button component={UsersLink} color='inherit'>
Users
</Button>
<Button component={TeamsLink} color='inherit'>
Teams
</Button>
<Button component={UsersLink} color='inherit'>
Users
<Button component={KeyVaultLink} color='inherit'>
Key Vault
</Button>
<Button component={KeyVaultLink} color='inherit'>
API Keys
@@ -126,9 +128,7 @@ class Header extends Component {
color='inherit'
title='Dashboard'
component={DashboardLink}
>
<DashboardIcon />
</IconButton>
/>
<LoggedIn user={user} auth={auth} styles={styles} />
</React.Fragment>
) : (
+7 -8
View File
@@ -5,6 +5,8 @@ import CssBaseline from '@material-ui/core/CssBaseline'
import Typography from '@material-ui/core/Typography'
import { withStyles } from '@material-ui/core/styles'
import BackgroundImage from '../../assets/advanced-algos/evolution.jpg'
const styles = theme => ({
'@global': {
body: {
@@ -12,17 +14,14 @@ const styles = theme => ({
}
},
layout: {
width: 'auto',
marginLeft: theme.spacing.unit * 3,
marginRight: theme.spacing.unit * 3,
[theme.breakpoints.up(900 + theme.spacing.unit * 3 * 2)]: {
width: 900,
marginLeft: 'auto',
marginRight: 'auto'
}
backgroundImage: `url(${BackgroundImage})`,
width: '100%',
height: '100%'
},
heroContent: {
textColor: theme.palette.common.white,
maxWidth: 600,
height: 800,
margin: '0 auto',
padding: `${theme.spacing.unit * 8}px 0 ${theme.spacing.unit * 6}px`
}
+970 -970
View File
File diff suppressed because it is too large. Load diff