setting favicon based on whiteLabel
This commit is contained in:
parent
22a892fa7b
commit
aa4106806e
10 changed files with 12 additions and 74 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue