2021-12-02 20:52:38 +00:00
|
|
|
export default function Logo({ small, icon }: { small?: boolean; icon?: boolean }) {
|
2021-08-02 20:51:57 +00:00
|
|
|
return (
|
2021-12-02 20:52:38 +00:00
|
|
|
<h1 className="inline">
|
2021-08-02 20:51:57 +00:00
|
|
|
<strong>
|
2021-12-02 20:52:38 +00:00
|
|
|
{icon ? (
|
2022-05-14 13:49:39 +00:00
|
|
|
// eslint-disable-next-line @next/next/no-img-element
|
2022-02-09 00:05:13 +00:00
|
|
|
<img className="mx-auto w-9" alt="Cal" title="Cal" src="/cal-com-icon-white.svg" />
|
2021-12-02 20:52:38 +00:00
|
|
|
) : (
|
2022-05-14 13:49:39 +00:00
|
|
|
// eslint-disable-next-line @next/next/no-img-element
|
2021-12-02 20:52:38 +00:00
|
|
|
<img
|
|
|
|
className={small ? "h-4 w-auto" : "h-5 w-auto"}
|
|
|
|
alt="Cal"
|
|
|
|
title="Cal"
|
|
|
|
src="/calendso-logo-white-word.svg"
|
|
|
|
/>
|
|
|
|
)}
|
2021-08-02 20:51:57 +00:00
|
|
|
</strong>
|
|
|
|
</h1>
|
|
|
|
);
|
2021-08-02 14:10:24 +00:00
|
|
|
}
|