Logo && accent color

This commit is contained in:
Chen Asraf
2018-01-27 03:54:40 +02:00
parent d460ea9ba6
commit a035ed4998
5 changed files with 18 additions and 3 deletions

View File

@@ -120,7 +120,7 @@ module.exports = {
// To fix this, we prevent you from importing files out of src/ -- if you'd like to,
// please link the files into your node_modules/ and let module-resolution kick in.
// Make sure your source files are compiled, as they will not be processed in any way.
new ModuleScopePlugin(paths.appSrc, [paths.appPackageJson]),
// new ModuleScopePlugin(paths.appSrc, [paths.appPackageJson]),
],
},
module: {

View File

@@ -1,5 +1,5 @@
$font-family: "Helvetica Neue", "Calibri", "Segoe UI", "Arial", sans-serif;
$highlight: #05a;
$highlight: #551182;
$text-main: #222;
$text-light: #555;
$drop-shadow: drop-shadow(1.5px 1.5px 1px #0003);

View File

@@ -15,3 +15,13 @@
grid-column-gap: 14px;
width: 100%;
}
.nav-bar-container {
display: grid;
grid-template-columns: [logo] 32px [nav] auto;
grid-column-gap: 14px;
& img {
width: 100%;
}
}

View File

@@ -1,2 +1,3 @@
export const header: string;
export const requestDataContainer: string;
export const navBarContainer: string;

View File

@@ -10,6 +10,7 @@ import { dispatch, register, ActionTypes, StoreKeys, Store } from 'common/Dispat
import * as classNames from 'classnames'
import NavBar from 'components/NavBar/NavBar'
import RequestHeaders from 'components/RequestHeaders/RequestHeaders'
const logo = require('../../../public/android-chrome-192x192.png')
class Header extends React.Component<I.IProps, I.IState> {
constructor(props: I.IProps) {
@@ -20,7 +21,10 @@ class Header extends React.Component<I.IProps, I.IState> {
render() {
return (
<div className={classNames(css.header, this.props.className)}>
<NavBar store={this.props.store} />
<div className={css.navBarContainer}>
<img src={logo} />
<NavBar store={this.props.store} />
</div>
<div className={css.requestDataContainer}>
<RequestType store={this.props.store} />
<RequestHeaders store={this.props.store} />