refactor: Update logo component to use SVG instead of PNG

This commit is contained in:
Mauro Balades
2024-08-20 22:33:58 +02:00
parent bd6afdd929
commit 5d4ed0956f
53 changed files with 36 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ export default function Logo({ withText, ...props }: any) {
}, []);
return (
<div className="flex items-center m-0" {...props}>
<Image src={`/logos/zen-${randomColor}.png`} width={40} height={40} alt="Zen Logo" className={ny("transition-all duration-300 hover:scale-110", withText && "mr-2")} />
<Image src={`/logos/zen-${randomColor}.svg`} width={40} height={40} alt="Zen Logo" className={ny("transition-all duration-300 hover:scale-110", withText && "mr-2")} />
{withText && <span className="text-2xl font-bold ml-2">zen</span>}
</div>
);