Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
2e14561b
Unverified
Commit
2e14561b
authored
Mar 24, 2023
by
boojack
Committed by
GitHub
Mar 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update logo assets (#1407)
parent
166e57f1
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
7 additions
and
15 deletions
+7
-15
README.md
README.md
+1
-1
logo-full.webp
assets/logo-full.webp
+0
-0
logo.webp
assets/logo.webp
+0
-0
deploy-with-render.md
docs/deploy-with-render.md
+1
-1
logo.png
web/public/logo.png
+0
-0
MemoEditor.tsx
web/src/components/MemoEditor.tsx
+1
-1
UserAvatar.tsx
web/src/components/UserAvatar.tsx
+1
-3
consts.ts
web/src/helpers/consts.ts
+0
-2
auth.less
web/src/less/auth.less
+3
-3
memo-editor.less
web/src/less/memo-editor.less
+0
-4
No files found.
README.md
View file @
2e14561b
<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"
>
<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>
<a
href=
"https://github.com/usememos/memos/stargazers"
><img
alt=
"GitHub stars"
src=
"https://img.shields.io/github/stars/usememos/memos"
/></a>
...
...
assets/logo-full.webp
deleted
100644 → 0
View file @
166e57f1
File deleted
assets/logo.webp
deleted
100644 → 0
View file @
166e57f1
File deleted
docs/deploy-with-render.md
View file @
2e14561b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
written by
[
AJ
](
https://memos.ajstephens.website/
)
(
also
a noob)
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
)
[
Live Demo
](
https://demo.usememos.com
)
•
[
Official Website
](
https://usememos.com
)
•
[
Source Code
](
https://github.com/usememos/memos
)
...
...
web/public/logo.png
View replaced file @
166e57f1
View file @
2e14561b
114 KB
|
W:
|
H:
109 KB
|
W:
|
H:
2-up
Swipe
Onion skin
web/src/components/MemoEditor.tsx
View file @
2e14561b
...
@@ -474,8 +474,8 @@ const MemoEditor = () => {
...
@@ -474,8 +474,8 @@ const MemoEditor = () => {
disabled=
{
!
(
allowSave
||
editorState
.
resourceList
.
length
>
0
)
||
state
.
isUploadingResource
||
state
.
isRequesting
}
disabled=
{
!
(
allowSave
||
editorState
.
resourceList
.
length
>
0
)
||
state
.
isUploadingResource
||
state
.
isRequesting
}
onClick=
{
handleSaveBtnClick
}
onClick=
{
handleSaveBtnClick
}
>
>
<
img
className=
"w-5 -ml-0.5 mr-0.5 h-auto"
src=
"/logo.png"
/>
{
t
(
"editor.save"
)
}
{
t
(
"editor.save"
)
}
<
img
className=
"icon-img w-4 h-auto"
src=
"/logo.png"
/>
</
button
>
</
button
>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
web/src/components/UserAvatar.tsx
View file @
2e14561b
import
{
MEMOS_LOGO_URL
}
from
"../helpers/consts"
;
interface
Props
{
interface
Props
{
avatarUrl
?:
string
;
avatarUrl
?:
string
;
className
?:
string
;
className
?:
string
;
...
@@ -9,7 +7,7 @@ const UserAvatar = (props: Props) => {
...
@@ -9,7 +7,7 @@ const UserAvatar = (props: Props) => {
const
{
avatarUrl
,
className
}
=
props
;
const
{
avatarUrl
,
className
}
=
props
;
return
(
return
(
<
div
className=
{
`${className ?? ""} w-8 h-8 rounded-full bg-gray-100 dark:bg-zinc-800`
}
>
<
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
>
</
div
>
);
);
};
};
...
...
web/src/helpers/consts.ts
View file @
2e14561b
...
@@ -18,5 +18,3 @@ export const TAB_SPACE_WIDTH = 2;
...
@@ -18,5 +18,3 @@ export const TAB_SPACE_WIDTH = 2;
// default fetch memo amount
// default fetch memo amount
export
const
DEFAULT_MEMO_LIMIT
=
20
;
export
const
DEFAULT_MEMO_LIMIT
=
20
;
export
const
MEMOS_LOGO_URL
=
"https://usememos.com/logo.png"
;
web/src/less/auth.less
View file @
2e14561b
...
@@ -11,14 +11,14 @@
...
@@ -11,14 +11,14 @@
@apply flex flex-col justify-start items-start w-full mb-4;
@apply flex flex-col justify-start items-start w-full mb-4;
> .title-container {
> .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 {
> .logo-img {
@apply h-1
6 w-auto mr-2
;
@apply h-1
4 w-auto mr-1
;
}
}
> .logo-text {
> .logo-text {
@apply text-
5
xl tracking-wide text-black opacity-80 dark:text-gray-200;
@apply text-
6
xl tracking-wide text-black opacity-80 dark:text-gray-200;
}
}
}
}
...
...
web/src/less/memo-editor.less
View file @
2e14561b
...
@@ -138,10 +138,6 @@
...
@@ -138,10 +138,6 @@
> .confirm-btn {
> .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;
@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;
}
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment