Add meta, fixes #20

This commit is contained in:
Piotr Rogowski 2021-03-23 09:51:54 +01:00
parent ce2a85c029
commit e4a5ff71da
No known key found for this signature in database
GPG Key ID: F40F61D5587F5673
5 changed files with 13 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "speedy-tuner-cloud",
"description": "Speeduino Tuning Software",
"description": "SpeedyTuner Cloud - Share your Speeduino tune and logs",
"version": "0.1.0",
"private": true,
"license": "MIT",

BIN
public/img/screen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -8,7 +8,15 @@
<meta name="description" content="SpeedyTuner" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/icons/icon.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<title>SpeedyTuner</title>
<meta property="og:title" content="SpeedyTuner Cloud">
<meta name="twitter:image:alt" content="SpeedyTuner Cloud">
<meta name="description" content="Share your Speeduino tune and logs" />
<meta property="og:description" content="Share your Speeduino tune and logs">
<meta property="og:site_name" content="Share your Speeduino tune and logs">
<meta property="og:image" content="https://speedytuner.cloud/img/screen.png">
<meta property="og:url" content="https://speedytuner.cloud">
<meta name="twitter:card" content="summary_large_image">
<title>SpeedyTuner Cloud</title>
</head>
<body style="background-color: #222629;">
<noscript>You need to enable JavaScript to run this app.</noscript>

View File

@ -1,6 +1,7 @@
{
"short_name": "SpeedyTuner",
"name": "Speeduino Tuning Software",
"name": "SpeedyTuner Cloud",
"description": "SpeedyTuner Cloud - Share your Speeduino tune and logs",
"icons": [
{
"src": "/icons/icon.ico",

View File

@ -66,7 +66,7 @@ const App = ({ ui, config }: { ui: UIState, config: ConfigType }) => {
<TopBar />
<Switch>
<Route path={Routes.ROOT} exact>
<Redirect to="/tune" />
<Redirect to={lastDialogPath || Routes.TUNE} />
</Route>
<Route path={Routes.TUNE}>
<Route path={Routes.TUNE} exact>