configurable name

This commit is contained in:
Bastian Ike
2021-01-11 11:55:55 +01:00
committed by Bastian
parent 62ba3605fe
commit 0410403dc2
3 changed files with 8 additions and 5 deletions

View File

@@ -77,6 +77,9 @@ function getClientEnvironment(publicUrl) {
// This should only be used as an escape hatch. Normally you would put // This should only be used as an escape hatch. Normally you would put
// images into the `src` and `import` them in code to get their paths. // images into the `src` and `import` them in code to get their paths.
PUBLIC_URL: publicUrl, PUBLIC_URL: publicUrl,
RADAR_NAME: process.env.RADAR_NAME || 'AOE Technology Radar',
// We support configuring the sockjs pathname during development. // We support configuring the sockjs pathname during development.
// These settings let a developer run multiple simultaneous projects. // These settings let a developer run multiple simultaneous projects.
// They are used as the connection `hostname`, `pathname` and `port` // They are used as the connection `hostname`, `pathname` and `port`

View File

@@ -4,15 +4,15 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="theme-color" content="#000000" /> <meta name="theme-color" content="#000000" />
<meta name="description" content="AOE Technology Radar" /> <meta name="description" content="%RADAR_NAME%" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<meta property="og:title" content="AOE Technology Radar" /> <meta property="og:title" content="%RADAR_NAME%" />
<meta property="og:image" content="%PUBLIC_URL%/logo.svg" /> <meta property="og:image" content="%PUBLIC_URL%/logo.svg" />
<meta name="format-detection" content="telephone=no" /> <meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, maximum-scale=1.0, initial-scale=1.0, user-scalable=0" /> <meta name="viewport" content="width=device-width, maximum-scale=1.0, initial-scale=1.0, user-scalable=0" />
<title>AOE Technology Radar</title> <title>%RADAR_NAME%</title>
</head> </head>
<body> <body>

View File

@@ -1,7 +1,7 @@
import { Item } from './model'; import { Item } from './model';
export const radarName = 'AOE Technology Radar'; export const radarName = process.env.RADAR_NAME || 'AOE Technology Radar'
export const radarNameShort = 'Technology Radar'; export const radarNameShort = radarName;
export const quadrants = [ export const quadrants = [
'languages-and-frameworks', 'languages-and-frameworks',