Commit 11891016 authored by Sonja Happ's avatar Sonja Happ
Browse files

add subtitle in config file and show it in header next to instance name

parent 79549494
......@@ -23,13 +23,14 @@ import React from 'react';
import { Col, Button } from 'react-bootstrap';
import { Hidden } from 'react-grid-system'
import Icon from './icon';
import config from '../config';
class Header extends React.Component {
render() {
return (
<header className="app-header">
<Col xs={{span: 10}} sm={{span: 8, offset: 2}}>
<h1>{config.instance} - {config.subtitle}</h1>
<Hidden sm md lg xl>
<Col xs={2} style={{ paddingLeft: 'auto', paddingRight: 0 }}>
......@@ -2,10 +2,11 @@
const config = {
publicPathBase: 'public/',
instance: 'VILLASweb',
subtitle: 'ACS',
admin: {
name: 'Institute for Automation of Complex Power Systems, RWTH Aachen University, Germany',
name: 'Institute for Automation of Complex Power Systems (ACS), RWTH Aachen University, Germany',
mail: ''
export default config
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment