diff --git a/front_minimal/src/components/animate/animate-logo.jsx b/front_minimal/src/components/animate/animate-logo.jsx
index c68327f..b4f46c3 100644
--- a/front_minimal/src/components/animate/animate-logo.jsx
+++ b/front_minimal/src/components/animate/animate-logo.jsx
@@ -33,7 +33,7 @@ export function AnimateLogo1({ logo, sx, ...other }) {
}}
sx={{ display: 'inline-flex' }}
>
- {logo ?? }
+ {logo ?? }
{
- const theme = useTheme();
+ ({ width, height, mini = false, disableLink = false, className, href = '/', sx, ...other }, ref) => {
- const gradientId = useId();
+ const defaultWidth = mini ? 40 : 134;
+ const defaultHeight = mini ? 40 : 40;
- const PRIMARY_LIGHT = theme.vars.palette.primary.light;
+ const w = width ?? defaultWidth;
+ const h = height ?? defaultHeight;
- const PRIMARY_MAIN = theme.vars.palette.primary.main;
-
- const PRIMARY_DARK = theme.vars.palette.primary.dark;
-
- /*
- * OR using local (public folder)
- * const logo = ( );
- */
-
- const logo = (
-
+ const logo = mini ? (
+
+ ) : (
+
);
return (
}
>
@@ -84,8 +55,8 @@ export const Logo = forwardRef(
ref={ref}
component={RouterLink}
href={href}
- width={width}
- height={height}
+ width={w}
+ height={h}
className={logoClasses.root.concat(className ? ` ${className}` : '')}
aria-label="logo"
sx={{
diff --git a/front_minimal/src/layouts/dashboard/nav-vertical.jsx b/front_minimal/src/layouts/dashboard/nav-vertical.jsx
index c14d5e4..3e3f330 100644
--- a/front_minimal/src/layouts/dashboard/nav-vertical.jsx
+++ b/front_minimal/src/layouts/dashboard/nav-vertical.jsx
@@ -35,7 +35,7 @@ export function NavVertical({ sx, data, slots, isNavMini, layoutQuery, onToggleN
<>
{slots?.topArea ?? (
-
+
)}