mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
changed the logo
This commit is contained in:
parent
d93115e6d0
commit
79a96490ed
4 changed files with 3 additions and 82 deletions
|
@ -66,7 +66,7 @@ class App extends React.Component {
|
|||
var link = document.createElement('link');
|
||||
link.id = 'dynamic-favicon';
|
||||
link.rel = 'shortcut icon'
|
||||
link.href = Branding.instance.values.icon;
|
||||
link.href = '/' + Branding.instance.values.icon;
|
||||
|
||||
if (oldlink) {
|
||||
document.head.removeChild(oldlink);
|
||||
|
|
|
@ -1,78 +0,0 @@
|
|||
/**
|
||||
* This file is part of VILLASweb.
|
||||
*
|
||||
* VILLASweb is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* VILLASweb is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with VILLASweb. If not, see <http://www.gnu.org/licenses/>.
|
||||
******************************************************************************/
|
||||
|
||||
const brands = {
|
||||
villasweb: {
|
||||
title: 'VILLASweb',
|
||||
subtitle: 'ACS',
|
||||
logo: 'villas_web.svg',
|
||||
pages: {
|
||||
home: true,
|
||||
scenarios: true,
|
||||
infrastructure: true,
|
||||
users: true,
|
||||
account: true,
|
||||
api: true,
|
||||
},
|
||||
style: {
|
||||
bgcolor: '#6EA2B0',
|
||||
highlights: '#527984',
|
||||
primarytext: '#4d4d4d',
|
||||
secondarytext: '#818181',
|
||||
}
|
||||
},
|
||||
slew: {
|
||||
title: 'SLEW',
|
||||
subtitle: 'Second Life for Energiewende',
|
||||
logo: "slew-logo.png",
|
||||
icon: "/slew_icon.png",
|
||||
pages: {
|
||||
home: true,
|
||||
scenarios: true,
|
||||
infrastructure: false,
|
||||
users: false,
|
||||
account: false,
|
||||
api: false
|
||||
},
|
||||
links: {
|
||||
"DPsim Simulator": "https://dpsim.fein-aachen.org",
|
||||
"VILLASframework": "https://villas.fein-aachen.org/doc"
|
||||
},
|
||||
style: {
|
||||
bgcolor: '#900603',
|
||||
highlights: '#610C04',
|
||||
primarytext: '#420C09',
|
||||
secondarytext: '#710C04',
|
||||
font: "16px Roboto, sans-serif",
|
||||
}
|
||||
},
|
||||
test: {
|
||||
title: 'SLEW',
|
||||
subtitle: 'Second Life for Energiewende',
|
||||
logo: "slew-logo.png",
|
||||
pages: {
|
||||
home: true,
|
||||
scenarios: true,
|
||||
infrastructure: false,
|
||||
users: false,
|
||||
account: false,
|
||||
api: false
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
export default brands;
|
|
@ -22,7 +22,7 @@ export function slew_home(title) {
|
|||
|
||||
return (
|
||||
<div className="home-container">
|
||||
<img style={{ height: 120, float: 'right' }} src={require('./img/slew-logo.png').default} alt="Logo VILLASweb" />
|
||||
<img style={{ height: 120, float: 'right' }} src={require('./img/slew-logo-draft.png').default} alt="Logo VILLASweb" />
|
||||
<h1>Home</h1>
|
||||
<p>
|
||||
Welcome to <b>{title}</b>!
|
||||
|
|
|
@ -18,8 +18,7 @@
|
|||
const slew_values = {
|
||||
title: 'SLEW',
|
||||
subtitle: 'Second Life for Energiewende',
|
||||
logo: "slew-logo.png",
|
||||
icon: "/slew_icon.png",
|
||||
icon: "slew-icon-draft.png",
|
||||
pages: {
|
||||
home: true,
|
||||
scenarios: true,
|
||||
|
|
Loading…
Add table
Reference in a new issue