Adding app info to version information

This commit is contained in:
John Lyon-Smith
2018-02-26 12:56:41 -08:00
parent f8e930d59e
commit 37e989fa51
5 changed files with 30 additions and 11 deletions

1
website/.env Normal file
View File

@@ -0,0 +1 @@
REACT_APP_TITLE=Deighton AR System

View File

@@ -1,11 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<title>Deighton AR</title>
<title>%REACT_APP_TITLE%</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Hind" rel="stylesheet">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.png">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
</head>
<body style="margin: 0;">
<div id="root"></div>

View File

@@ -42,7 +42,7 @@ export class App extends React.Component {
</Column.Item>
<Column.Item>
<Box color='#FAFAFA' borderTop='1px solid #B2B2B2'>
<Text tone='dimmed' margin={10}>{versionInfo.fullVersion} &copy; 2018, Kingston Software Solutions.</Text>
<Text tone='dimmed' margin={10}>{versionInfo.fullVersion} {versionInfo.copyright}</Text>
</Box>
</Column.Item>
</Column>

View File

@@ -1,5 +1,7 @@
export const versionInfo = {
version: '0.1.0',
fullVersion: '0.1.0-20180225.0',
startYear: '2017',
fullVersion: '0.1.0-20180226.0',
title: 'Deighton AR System',
copyright: '© 2018, Kingston Software Solutions.',
supportEmail: 'support@kss.us.com',
}