Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 22:48:48 +00:00
co-authored by renee-png
parent cbd1f2b38e
commit af033b6562
5 changed files with 33 additions and 12 deletions
+19
View File
@@ -0,0 +1,19 @@
import justiceImg from "@/assets/justice-icon.png";
import { cn } from "@/lib/utils";
interface JusticeIconProps {
className?: string;
/** When true, inverts the image to render white (for dark backgrounds). */
invert?: boolean;
alt?: string;
}
export function JusticeIcon({ className, invert = false, alt = "Lady Justice" }: JusticeIconProps) {
return (
<img
src={justiceImg}
alt={alt}
className={cn("object-contain", invert && "invert", className)}
/>
);
}