1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

Merge branch 'add-subtitle' into 'develop'

add subtitle

See merge request acs/public/villas/web!48
This commit is contained in:
Sonja Happ 2019-11-05 10:44:24 +01:00
commit b801a50901
2 changed files with 5 additions and 3 deletions

View file

@ -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>VILLASweb</h1>
<h1>{config.instance} - {config.subtitle}</h1>
</Col>
<Hidden sm md lg xl>
<Col xs={2} style={{ paddingLeft: 'auto', paddingRight: 0 }}>

View file

@ -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: 'stvogel@eonerc.rwth-aachen.de'
}
}
};
export default config