feat: Add logo with text to navigation menu
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user