diff --git a/dashboard/src/states/Login/components/Logo/Logo.jsx b/dashboard/src/states/Login/components/Logo/Logo.jsx new file mode 100644 index 0000000..6c57f38 --- /dev/null +++ b/dashboard/src/states/Login/components/Logo/Logo.jsx @@ -0,0 +1,15 @@ +import {Stack, Typography, useTheme} from "@mui/material"; +import DarkLogo from "@/common/assets/images/logo/small-dark.webp"; +import LightLogo from "@/common/assets/images/logo/small-light.webp"; + +export const Logo = () => { + const theme = useTheme(); + const logo = theme.palette.mode === "dark" ? DarkLogo : LightLogo; + + return ( + + Logo + LicenseAPI + + ) +} \ No newline at end of file diff --git a/dashboard/src/states/Login/components/Logo/index.js b/dashboard/src/states/Login/components/Logo/index.js new file mode 100644 index 0000000..bed3f4a --- /dev/null +++ b/dashboard/src/states/Login/components/Logo/index.js @@ -0,0 +1 @@ +export {Logo as default} from "./Logo.jsx"; \ No newline at end of file