feat: Add logo with text to navigation menu

This commit is contained in:
mauro 🤙
2024-07-04 07:58:14 +00:00
parent cb35ed18c9
commit 5396e42be8
12 changed files with 1250 additions and 47 deletions

View File

@@ -1,6 +1,9 @@
export default function Logo() {
export default function Logo({ withText, ...props }: any) {
return (
<img src="/logo.png" alt="Zen Logo" className="w-12 h-12" />
<div className="flex items-center m-0" {...props}>
<img src="/logo.png" alt="Zen Logo" className="w-12 h-12" />
{withText && <span className="text-2xl font-bold ml-2">Zen</span>}
</div>
);
}