added manifest for AdaptiveDashboard
BIN
public/AdaptiveDashboard/android-chrome-192x192.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
public/AdaptiveDashboard/android-chrome-512x512.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
public/AdaptiveDashboard/apple-touch-icon.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
9
public/AdaptiveDashboard/browserconfig.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<browserconfig>
|
||||
<msapplication>
|
||||
<tile>
|
||||
<square150x150logo src="/mstile-150x150.png"/>
|
||||
<TileColor>#ffffff</TileColor>
|
||||
</tile>
|
||||
</msapplication>
|
||||
</browserconfig>
|
||||
BIN
public/AdaptiveDashboard/favicon-16x16.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
public/AdaptiveDashboard/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
public/AdaptiveDashboard/favicon.ico
Normal file
|
After Width: | Height: | Size: 15 KiB |
26
public/AdaptiveDashboard/manifest.json
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"name": "Brand X Technologies",
|
||||
"short_name": "BXT",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon.ico",
|
||||
"sizes": "48x48",
|
||||
"type": "image/x-icon"
|
||||
},
|
||||
{
|
||||
"src": "android-chrome-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "android-chrome-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"start_url": "/",
|
||||
"theme_color": "#272727",
|
||||
"background_color": "#424242",
|
||||
"display": "standalone",
|
||||
"orientation": "any"
|
||||
}
|
||||
BIN
public/AdaptiveDashboard/mstile-150x150.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
2198
public/AdaptiveDashboard/safari-pinned-tab.svg
Normal file
|
After Width: | Height: | Size: 144 KiB |
|
|
@ -28,6 +28,8 @@ function App() {
|
|||
// Set favicon
|
||||
const faviconDocument = document.getElementById("favicon-link") as HTMLLinkElement;
|
||||
const faviconPath = `/${whiteLabel.name.replace(/\s/g, "")}/favicon.ico`;
|
||||
console.log("Favicon Document: ", faviconDocument)
|
||||
console.log("Favicon Path: ", faviconPath)
|
||||
fetch(faviconPath).then(response => {
|
||||
if (response.ok && faviconDocument) {
|
||||
faviconDocument.href = faviconPath;
|
||||
|
|
|
|||