Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: update logo assets (#1407)

boojack2e14561bfce0
diff --git a/README.md b/README.md
index f5831a8cf..e683f68b5 100644
--- a/README.md
+++ b/README.md
@@ -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>
diff --git a/assets/logo-full.webp b/assets/logo-full.webp
deleted file mode 100644
index 36ea2eeee..000000000
Binary files a/assets/logo-full.webp and /dev/null differ
diff --git a/assets/logo.webp b/assets/logo.webp
deleted file mode 100644
index ecf7c4412..000000000
Binary files a/assets/logo.webp and /dev/null differ
diff --git a/docs/deploy-with-render.md b/docs/deploy-with-render.md
index b6f834753..23659e436 100644
--- a/docs/deploy-with-render.md
+++ b/docs/deploy-with-render.md
@@ -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)
diff --git a/web/public/logo.png b/web/public/logo.png
index 3c22d5f81..b4b2cad05 100644
Binary files a/web/public/logo.png and b/web/public/logo.png differ
diff --git a/web/src/components/MemoEditor.tsx b/web/src/components/MemoEditor.tsx
index f1c2d3048..e1f69a4a0 100644
--- a/web/src/components/MemoEditor.tsx
+++ b/web/src/components/MemoEditor.tsx
@@ -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>
diff --git a/web/src/components/UserAvatar.tsx b/web/src/components/UserAvatar.tsx
index 4ebb3e001..7f4758972 100644
--- a/web/src/components/UserAvatar.tsx
+++ b/web/src/components/UserAvatar.tsx
@@ -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>
);
};
diff --git a/web/src/helpers/consts.ts b/web/src/helpers/consts.ts
index 7a240de40..f15314093 100644
--- a/web/src/helpers/consts.ts
+++ b/web/src/helpers/consts.ts
@@ -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";
diff --git a/web/src/less/auth.less b/web/src/less/auth.less
index 92856be08..d5406e96c 100644
--- a/web/src/less/auth.less
+++ b/web/src/less/auth.less
@@ -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;
}
}
diff --git a/web/src/less/memo-editor.less b/web/src/less/memo-editor.less
index bcabac54c..e23315458 100644
--- a/web/src/less/memo-editor.less
+++ b/web/src/less/memo-editor.less
@@ -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;
- }
}
}
}