Browse Source

design update

master
Amit Roy 6 months ago
parent
commit
6107572be7
3 changed files with 7 additions and 2 deletions
  1. BIN
      public/assets/images/auth/loginbg.webp
  2. +6
    -1
      src/theme.ts
  3. +1
    -1
      src/utilities/utilityConstant.ts

BIN
public/assets/images/auth/loginbg.webp View File

Before After

+ 6
- 1
src/theme.ts View File

@ -9,7 +9,12 @@ const roboto = Roboto({
});
const getCssVariableValue = (variable: string): string => {
return getComputedStyle(document.documentElement).getPropertyValue(variable);
if (typeof window !== "undefined") {
return getComputedStyle(document.documentElement).getPropertyValue(
variable
);
}
return "";
};
const theme = createTheme({


+ 1
- 1
src/utilities/utilityConstant.ts View File

@ -2,7 +2,7 @@ export const UTILITY_CONSTANT = {
IMAGES: {
AUTH: {
HEADER_LOG: "/assets/images/auth/headerLogo.webp",
LOGIN_BG: "/assets/images/auth/loginbg.svg",
LOGIN_BG: "/assets/images/auth/loginbg.webp",
},
},
};

Loading…
Cancel
Save