diff --git a/public/images/logo_small.png b/public/images/logo_small.png index 5305c07..d271840 100644 Binary files a/public/images/logo_small.png and b/public/images/logo_small.png differ diff --git a/src/shared/components/logo.tsx b/src/shared/components/logo.tsx index bdab05c..083a100 100644 --- a/src/shared/components/logo.tsx +++ b/src/shared/components/logo.tsx @@ -1,20 +1,20 @@ import Image from "next/image"; -import { version } from "@/package.json"; import { cn } from "@/shared/utils/ui"; interface LogoProps { variant?: "full" | "small" | "compact"; className?: string; - showVersion?: boolean; + /** Apenas nos variants "full" e "compact" */ invertTextOnDark?: boolean; - /** Exibe o ícone na cor original, sem filtro preto */ + /** Exibe o ícone na cor original, sem filtro preto. Apenas nos variants "full" e "compact" */ colorIcon?: boolean; } +const iconFilterClass = "brightness-0 saturate-0"; + export function Logo({ variant = "full", className, - showVersion = false, invertTextOnDark = true, colorIcon = false, }: LogoProps) { @@ -26,10 +26,7 @@ export function Logo({ alt="OpenMonetis" width={32} height={32} - className={cn( - "object-contain", - !colorIcon && "brightness-0 saturate-0", - )} + className={cn("object-contain", !colorIcon && iconFilterClass)} priority /> OpenMonetis - {showVersion && ( - - {version} - - )} ); } diff --git a/src/shared/components/navigation/sidebar/app-sidebar.tsx b/src/shared/components/navigation/sidebar/app-sidebar.tsx index a73e22a..da1e01d 100644 --- a/src/shared/components/navigation/sidebar/app-sidebar.tsx +++ b/src/shared/components/navigation/sidebar/app-sidebar.tsx @@ -78,6 +78,6 @@ function LogoContent() { const isCollapsed = state === "collapsed"; return ( - + ); }