Skip to content

Commit

Permalink
chore: update logo assets (usememos#1407)
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack authored Mar 24, 2023
1 parent 166e57f commit 2e14561
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p align="center"><a href="https://usememos.com"><img height="64px" src="https://raw.githubusercontent.com/usememos/memos/main/assets/logo-full.webp" alt="✍️ memos" /></a></p>
<p align="center"><a href="https://usememos.com"><img height="64px" src="https://usememos.com/logo-full.png" alt="✍️ memos" /></a></p>

<p align="center">
<a href="https://github.com/usememos/memos/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/usememos/memos" /></a>
Expand Down
Binary file removed assets/logo-full.webp
Binary file not shown.
Binary file removed assets/logo.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/deploy-with-render.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

written by [AJ](https://memos.ajstephens.website/) (also a noob)

<img height="64px" src="https://raw.githubusercontent.com/usememos/memos/main/assets/logo-full.webp" alt="✍️ memos" />
<img height="64px" src="https://usememos.com/logo-full.png" alt="✍️ memos" />

[Live Demo](https://demo.usememos.com)[Official Website](https://usememos.com)[Source Code](https://github.com/usememos/memos)

Expand Down
Binary file modified web/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion web/src/components/MemoEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,8 @@ const MemoEditor = () => {
disabled={!(allowSave || editorState.resourceList.length > 0) || state.isUploadingResource || state.isRequesting}
onClick={handleSaveBtnClick}
>
<img className="w-5 -ml-0.5 mr-0.5 h-auto" src="/logo.png" />
{t("editor.save")}
<img className="icon-img w-4 h-auto" src="/logo.png" />
</button>
</div>
</div>
Expand Down
4 changes: 1 addition & 3 deletions web/src/components/UserAvatar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { MEMOS_LOGO_URL } from "../helpers/consts";

interface Props {
avatarUrl?: string;
className?: string;
Expand All @@ -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>
);
};
Expand Down
2 changes: 0 additions & 2 deletions web/src/helpers/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,3 @@ export const TAB_SPACE_WIDTH = 2;

// default fetch memo amount
export const DEFAULT_MEMO_LIMIT = 20;

export const MEMOS_LOGO_URL = "https://usememos.com/logo.png";
6 changes: 3 additions & 3 deletions web/src/less/auth.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
@apply flex flex-col justify-start items-start w-full mb-4;

> .title-container {
@apply w-full flex flex-row justify-start items-center;
@apply w-full flex flex-row justify-start items-center mb-2;

> .logo-img {
@apply h-16 w-auto mr-2;
@apply h-14 w-auto mr-1;
}

> .logo-text {
@apply text-5xl tracking-wide text-black opacity-80 dark:text-gray-200;
@apply text-6xl tracking-wide text-black opacity-80 dark:text-gray-200;
}
}

Expand Down
4 changes: 0 additions & 4 deletions web/src/less/memo-editor.less
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,6 @@

> .confirm-btn {
@apply border-none select-none rounded flex flex-row justify-center items-center shadow cursor-pointer px-3 py-0 leading-8 bg-green-600 text-white text-sm hover:opacity-80 disabled:cursor-not-allowed disabled:opacity-60;

> .icon-img {
@apply ml-1 w-6 h-auto;
}
}
}
}
Expand Down

0 comments on commit 2e14561

Please sign in to comment.