show graphql-engine version on console (close #184) (#230)

This commit is contained in:
Praveen Durairaj 2018-07-31 12:06:20 +05:30 committed by Shahidh K Muhammed
parent 2e58483af3
commit 6340a5074a
3 changed files with 17 additions and 1 deletions

View File

@ -801,7 +801,7 @@ code
text-transform: uppercase;
display: inline-block;
padding-left: 20px;
font-size: 20px;
font-size: 18px;
letter-spacing: 1px;
font-weight: 700;
}

View File

@ -57,6 +57,7 @@ class Main extends React.Component {
location,
migrationModeProgress,
currentSchema,
serverVersion,
latestServerVersion,
} = this.props;
const styles = require('./Main.scss');
@ -109,6 +110,7 @@ class Main extends React.Component {
</div>
<Link to="/">
<div className={styles.header_project_name}>HASURA</div>
<div className={styles.project_version}>{serverVersion}</div>
</Link>
</div>
</div>

View File

@ -79,6 +79,10 @@
{
display: flex;
align-items: center;
a {
display: flex;
align-items: center;
}
.logo
{
display: inline-block;
@ -96,6 +100,16 @@
}
}
}
.project_version {
font-family: Gudea;
color: #fff;
text-transform: lowercase;
display: inline-block;
padding-left: 10px;
font-size: 10px;
letter-spacing: 1px;
font-weight: 300;
}
.toggleSidebar {
position: absolute;
color: #fff;