feat: configurable radar name

This commit is contained in:
Tom Clift
2020-05-25 13:04:16 +10:00
committed by Bastian
parent 1f8b438ea5
commit e99859edcb
7 changed files with 19 additions and 14 deletions

View File

@@ -7,7 +7,7 @@ import createHistory from 'history/createBrowserHistory';
import App from './components/App';
import appReducer from './reducer';
import actions, { NAVIGATE } from './actions';
import { isMobileViewport } from '../common/config';
import { isMobileViewport, radarName } from '../common/config';
import { track } from './analytics';
// Remove .html and map / to index
@@ -63,7 +63,7 @@ const store = createStore(
);
const handleSetTitle = title => {
document.title = `${title} | AOE Technology Radar`;
document.title = `${title} | ${radarName}`;
track();
};