Merge branch 'tab_title' into staging_environment
This commit is contained in:
commit
8b96638e18
2 changed files with 3 additions and 6 deletions
|
|
@ -37,12 +37,9 @@ function App() {
|
|||
faviconDocument.href = "BrandXTechnologies/favicon.ico"
|
||||
})
|
||||
|
||||
// Set favicon
|
||||
// Set title
|
||||
const titleDocument = document.getElementById("title-id") as HTMLLinkElement;
|
||||
if (titleDocument) {
|
||||
console.log(whiteLabel.name)
|
||||
titleDocument.href = whiteLabel.name;
|
||||
}
|
||||
if (titleDocument) titleDocument.title = whiteLabel.name;
|
||||
|
||||
let domain: string | undefined = import.meta.env.VITE_AUTH0_CLIENT_DOMAIN;
|
||||
let audience: string | undefined = import.meta.env.VITE_AUTH0_AUDIENCE;
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ interface WhiteLabel {
|
|||
// };
|
||||
|
||||
const STAGING_WHITELABEL: WhiteLabel = {
|
||||
name: import.meta.env.VITE_APP_WEBSITE_TITLE,
|
||||
name: "Staging",
|
||||
primaryColour: import.meta.env.VITE_APP_PRIMARY_COLOUR,
|
||||
secondaryColour: import.meta.env.VITE_APP_SECONDARY_COLOUR,
|
||||
signatureColour: import.meta.env.VITE_APP_SIGNATURE_COLOUR,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue