chore: update logo assets (#1407)

This commit is contained in:
boojack
2023-03-24 08:43:26 +08:00
committed by GitHub
parent 166e57f1ef
commit 2e14561bfc
10 changed files with 7 additions and 15 deletions

View File

@ -1,5 +1,3 @@
import { MEMOS_LOGO_URL } from "../helpers/consts";
interface Props {
avatarUrl?: string;
className?: string;
@ -9,7 +7,7 @@ const UserAvatar = (props: Props) => {
const { avatarUrl, className } = props;
return (
<div className={`${className ?? ""} w-8 h-8 rounded-full bg-gray-100 dark:bg-zinc-800`}>
<img className="w-full h-auto min-w-full min-h-full object-cover" src={avatarUrl || MEMOS_LOGO_URL} alt="" />
<img className="w-full h-auto min-w-full min-h-full object-cover" src={avatarUrl || "/logo.png"} alt="" />
</div>
);
};