Add HTML branding overrides

This commit is contained in:
Anton Tananaev 2023-05-15 12:06:14 -07:00
parent 60c663cc1d
commit 474104189d
4 changed files with 8 additions and 8 deletions

View File

@ -4,12 +4,12 @@
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#1a237e" />
<meta name="description" content="Traccar GPS tracking system" />
<meta name="theme-color" content="${colorPrimary}" />
<meta name="description" content="${description}" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="stylesheet" href="%PUBLIC_URL%/styles.css">
<title>Traccar</title>
<title>${title}</title>
</head>
<body>
<noscript>Enable JavaScript to use <a href="https://www.traccar.org/">Traccar GPS Tracking System</a>.</noscript>

View File

@ -1,6 +1,6 @@
{
"short_name": "Traccar",
"name": "Traccar GPS Tracking System",
"short_name": "${title}",
"name": "${description}",
"icons": [
{
"src": "favicon.ico",
@ -22,6 +22,6 @@
],
"start_url": ".",
"display": "standalone",
"theme_color": "#1a237e",
"theme_color": "${colorPrimary}",
"background_color": "#ffffff"
}

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Traccar</title>
<title>${title}</title>
<link rel="icon" sizes="192x192" href="/icon.png">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="app.css">

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Traccar</title>
<title>${title}</title>
<link rel="icon" sizes="192x192" href="/icon.png">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="app.css">