added the intellifarms branding to the whilelabel
BIN
public/Intellifarms/IFND-2023-Logo-White.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
public/Intellifarms/IFND-2023-Logo.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
public/Intellifarms/android-chrome-192x192.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
public/Intellifarms/android-chrome-512x512.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
public/Intellifarms/apple-touch-icon.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
9
public/Intellifarms/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/Intellifarms/favicon-16x16.png
Normal file
|
After Width: | Height: | Size: 712 B |
BIN
public/Intellifarms/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
public/Intellifarms/favicon-48x48.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
public/Intellifarms/favicon.ico
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
19
public/Intellifarms/manifest.json
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"name": "Intellifarms",
|
||||||
|
"short_name": "Intellifarms",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "/android-chrome-192x192.png",
|
||||||
|
"sizes": "192x192",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/android-chrome-512x512.png",
|
||||||
|
"sizes": "512x512",
|
||||||
|
"type": "image/png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"theme_color": "#ffffff",
|
||||||
|
"background_color": "#ffffff",
|
||||||
|
"display": "standalone"
|
||||||
|
}
|
||||||
BIN
public/Intellifarms/mstile-150x150.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
3
public/Intellifarms/safari-pinned-tab.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
||||||
|
<image href="Intellifarms_Icon.png" height="512" width="512"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 134 B |
BIN
src/assets/whitelabels/Intellifarms/IFND-2023-Logo-White.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
src/assets/whitelabels/Intellifarms/IFND-2023-Logo.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
|
|
@ -12,6 +12,8 @@ import MiVentLightLogo from "../assets/whitelabels/MiVent/lightLogo.png";
|
||||||
// import OmniAirLogo from "../assets/whitelabels/OmniAir/OmniAirLogo.png";
|
// import OmniAirLogo from "../assets/whitelabels/OmniAir/OmniAirLogo.png";
|
||||||
import MiPCALogo from "../assets/whitelabels/MiPCA/MiPCALogo.png";
|
import MiPCALogo from "../assets/whitelabels/MiPCA/MiPCALogo.png";
|
||||||
import StreamlineLogo from "../assets/whitelabels/Streamline/stream-logo.png"
|
import StreamlineLogo from "../assets/whitelabels/Streamline/stream-logo.png"
|
||||||
|
import IntellifarmsLogo from "../assets/whitelabels/Intellifarms/IFND-2023-Logo.png"
|
||||||
|
import IntellifarmsLogoWhite from "../assets/whitelabels/Intellifarms/IFND-2023-Logo-White.png"
|
||||||
// import { green, yellow } from "@mui/material/colors";
|
// import { green, yellow } from "@mui/material/colors";
|
||||||
|
|
||||||
const protips: string[] = [
|
const protips: string[] = [
|
||||||
|
|
@ -182,15 +184,15 @@ export function IsAdaptiveAgriculture(): boolean {
|
||||||
|
|
||||||
const INTELLIFARMS_WHITE_LABEL: WhiteLabel = {
|
const INTELLIFARMS_WHITE_LABEL: WhiteLabel = {
|
||||||
name: "Intellifarms",
|
name: "Intellifarms",
|
||||||
primaryColour: "",
|
primaryColour: "#9E1B32",
|
||||||
secondaryColour: "",
|
secondaryColour: "#4A4F55",
|
||||||
signatureColour: "",
|
signatureColour: "#272727",
|
||||||
signatureAccentColour: "",
|
signatureAccentColour: "#fff",
|
||||||
auth0ClientId: import.meta.env.VITE_AUTH0_INTELLIFARMS_CLIENT_ID,
|
auth0ClientId: import.meta.env.VITE_AUTH0_INTELLIFARMS_CLIENT_ID,
|
||||||
redirectOnLogout: true,
|
redirectOnLogout: true,
|
||||||
logoutRedirectTarget: "https://myintellifarms.com",
|
logoutRedirectTarget: "https://myintellifarms.com",
|
||||||
darkLogo: "",
|
darkLogo: IntellifarmsLogo,
|
||||||
lightLogo: "",
|
lightLogo: IntellifarmsLogoWhite,
|
||||||
transparentLogoBG: true,
|
transparentLogoBG: true,
|
||||||
blacklist: [],
|
blacklist: [],
|
||||||
docs: "Platform",
|
docs: "Platform",
|
||||||
|
|
@ -364,7 +366,7 @@ export function getWhitelabel(): WhiteLabel {
|
||||||
return BXT_WHITE_LABEL;
|
return BXT_WHITE_LABEL;
|
||||||
}
|
}
|
||||||
if (window.location.origin.includes("localhost")) {
|
if (window.location.origin.includes("localhost")) {
|
||||||
return STREAMLINE_WHITE_LABEL;
|
return INTELLIFARMS_WHITE_LABEL;
|
||||||
}
|
}
|
||||||
if (window.location.origin.includes("staging") || import.meta.env.VITE_LOCAL_STAGING=='true') {
|
if (window.location.origin.includes("staging") || import.meta.env.VITE_LOCAL_STAGING=='true') {
|
||||||
return STAGING_WHITELABEL;
|
return STAGING_WHITELABEL;
|
||||||
|
|
|
||||||