diff --git a/index.html b/index.html
index 05300c5..e63e89d 100644
--- a/index.html
+++ b/index.html
@@ -2,9 +2,9 @@
-
+
- Vite + React + TS
+ Adaptive Dashboard
diff --git a/public/favicon.ico b/public/favicon.ico
deleted file mode 100644
index a11777c..0000000
Binary files a/public/favicon.ico and /dev/null differ
diff --git a/public/index.html b/public/index.html
deleted file mode 100644
index 7a15cbd..0000000
--- a/public/index.html
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- React App
-
-
-
-
-
-
-
diff --git a/public/logo192.png b/public/logo192.png
deleted file mode 100644
index fc44b0a..0000000
Binary files a/public/logo192.png and /dev/null differ
diff --git a/public/logo512.png b/public/logo512.png
deleted file mode 100644
index a4e47a6..0000000
Binary files a/public/logo512.png and /dev/null differ
diff --git a/public/manifest.json b/public/manifest.json
deleted file mode 100644
index 080d6c7..0000000
--- a/public/manifest.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "short_name": "React App",
- "name": "Create React App Sample",
- "icons": [
- {
- "src": "favicon.ico",
- "sizes": "64x64 32x32 24x24 16x16",
- "type": "image/x-icon"
- },
- {
- "src": "logo192.png",
- "type": "image/png",
- "sizes": "192x192"
- },
- {
- "src": "logo512.png",
- "type": "image/png",
- "sizes": "512x512"
- }
- ],
- "start_url": ".",
- "display": "standalone",
- "theme_color": "#000000",
- "background_color": "#ffffff"
-}
diff --git a/public/vite.svg b/public/vite.svg
deleted file mode 100644
index e7b8dfb..0000000
--- a/public/vite.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/src/app/App.tsx b/src/app/App.tsx
index 93df018..e9504ca 100644
--- a/src/app/App.tsx
+++ b/src/app/App.tsx
@@ -24,6 +24,12 @@ function App() {
}
})
+ // Set favicon
+ const faviconDocument = document.getElementById("favicon-link") as HTMLLinkElement;
+ if (faviconDocument) {
+ faviconDocument.href = `${whiteLabel.name.replace(/\s/g, "")}/favicon.ico`;
+ }
+
let url: string | undefined = import.meta.env.VITE_AUTH0_CLIENT_DOMAIN;
let audience: string | undefined = import.meta.env.VITE_AUTH0_AUDIENCE;
diff --git a/src/app/Header.tsx b/src/app/Header.tsx
index 7da3765..50f490c 100644
--- a/src/app/Header.tsx
+++ b/src/app/Header.tsx
@@ -17,6 +17,7 @@ const useStyles = makeStyles((theme: Theme) => ({
appBar: {
zIndex: theme.zIndex.drawer + 1,
backgroundImage: "none", // This prevents de-saturation of header in dark mode
+ // backgroundColor: "#272727"
},
toolbar: {
marginLeft: theme.spacing(0.5),
diff --git a/src/services/whiteLabel.ts b/src/services/whiteLabel.ts
index fa1f06b..fdb5997 100644
--- a/src/services/whiteLabel.ts
+++ b/src/services/whiteLabel.ts
@@ -91,7 +91,8 @@ const BXT_WHITE_LABEL: WhiteLabel = {
name: "Brand X Technologies",
primaryColour: "blue",
secondaryColour: "yellow",
- signatureColour: "#005bb0",
+ signatureColour: "#272727",
+ // signatureColour: "#005bb0",
signatureAccentColour: "#fff",
auth0ClientId: import.meta.env.REACT_APP_AUTH0_STAGING_CLIENT_ID,
redirectOnLogout: false,
@@ -250,7 +251,7 @@ const whitelabels = new Map([
["brandxducks", BXT_WHITE_LABEL],
["brandxtech", BXT_WHITE_LABEL],
["aerogrowmanufacturing", AEROGROW_WHITE_LABEL],
- ["localhost", ADAPTIVE_AGRICULTURE_WHITE_LABEL],
+ ["localhost", BXT_WHITE_LABEL],
["staging", STAGING_WHITELABEL],
["10.0", ADAPTIVE_CONSTRUCTION_WHITE_LABEL],
["mivent", MIVENT_WHITE_LABEL],