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
fc12e0e3
Commit
fc12e0e3
authored
Apr 03, 2022
by
email
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update readme
parent
b6ad21fe
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
55 deletions
+4
-55
README.md
README.md
+4
-0
AboutSiteDialog.tsx
web/src/components/AboutSiteDialog.tsx
+0
-4
StarHistoryDialog.tsx
web/src/components/StarHistoryDialog.tsx
+0
-40
star-history-dialog.less
web/src/less/star-history-dialog.less
+0
-11
No files found.
README.md
View file @
fc12e0e3
...
...
@@ -40,6 +40,10 @@ Making sure that you are in charge of your data and more customizations.
The default user account is
`guest`
with password
`secret`
.
## 🌟 Star history
[

](https://star-history.com/#justmemos/memos&Date)
---
Just enjoy it.
web/src/components/AboutSiteDialog.tsx
View file @
fc12e0e3
import
{
useEffect
,
useState
}
from
"react"
;
import
utils
from
"../helpers/utils"
;
import
{
showDialog
}
from
"./Dialog"
;
import
showStarHistoryDialog
from
"./StarHistoryDialog"
;
import
"../less/about-site-dialog.less"
;
interface
Props
extends
DialogProps
{}
...
...
@@ -45,9 +44,6 @@ const AboutSiteDialog: React.FC<Props> = ({ destroy }: Props) => {
<
a
href=
"https://github.com/justmemos/memos/issues"
>
issues
</
a
>
.
</
p
>
<
br
/>
<
span
className=
"btn"
onClick=
{
showStarHistoryDialog
}
>
Star History
</
span
>
<
p
className=
"updated-time-text"
>
Last updated on
<
span
className=
"pre-text"
>
{
lastUpdatedAt
}
</
span
>
🎉
</
p
>
...
...
web/src/components/StarHistoryDialog.tsx
deleted
100644 → 0
View file @
b6ad21fe
import
{
showDialog
}
from
"./Dialog"
;
import
"../less/star-history-dialog.less"
;
interface
Props
extends
DialogProps
{}
const
StarHistoryDialog
:
React
.
FC
<
Props
>
=
({
destroy
}:
Props
)
=>
{
const
handleCloseBtnClick
=
()
=>
{
destroy
();
};
return
(
<>
<
div
className=
"dialog-header-container"
>
<
p
className=
"title-text"
>
<
span
className=
"icon-text"
>
⭐️
</
span
>
<
b
>
Star History
</
b
>
</
p
>
<
button
className=
"btn close-btn"
onClick=
{
handleCloseBtnClick
}
>
<
img
className=
"icon-img"
src=
"/icons/close.svg"
/>
</
button
>
</
div
>
<
div
className=
"dialog-content-container"
>
<
iframe
style=
{
{
width
:
"100%"
,
height
:
"auto"
,
minWidth
:
"600px"
,
minHeight
:
"400px"
}
}
src=
"https://star-history.com/embed?secret=Z2hwX2Mxa1ZENmMwOXNyc3p3VlpGNm5ibWgxN3NyNUxkazNXTGlTMQ==#justmemos/memos&Date"
frameBorder=
"0"
></
iframe
>
</
div
>
</>
);
};
export
default
function
showStarHistoryDialog
():
void
{
showDialog
(
{
className
:
"star-history-dialog"
,
},
StarHistoryDialog
);
}
web/src/less/star-history-dialog.less
deleted
100644 → 0
View file @
b6ad21fe
@import "./mixin.less";
.star-history-dialog {
> .dialog-container {
@apply w-auto;
> .dialog-content-container {
@apply overflow-x-scroll;
}
}
}
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