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.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: update readme
emailfc12e0e3fb07
diff --git a/README.md b/README.mdindex f58106826..6f7c749de 100644--- a/README.md+++ b/README.md@@ -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.diff --git a/web/src/components/AboutSiteDialog.tsx b/web/src/components/AboutSiteDialog.tsxindex b28918b41..b2429634d 100644--- a/web/src/components/AboutSiteDialog.tsx+++ b/web/src/components/AboutSiteDialog.tsx@@ -1,7 +1,6 @@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>diff --git a/web/src/components/StarHistoryDialog.tsx b/web/src/components/StarHistoryDialog.tsxdeleted file mode 100644index f4abd9086..000000000--- a/web/src/components/StarHistoryDialog.tsx+++ /dev/null@@ -1,40 +0,0 @@-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- );-}diff --git a/web/src/less/star-history-dialog.less b/web/src/less/star-history-dialog.lessdeleted file mode 100644index 31c257685..000000000--- a/web/src/less/star-history-dialog.less+++ /dev/null@@ -1,11 +0,0 @@-@import "./mixin.less";--.star-history-dialog {- > .dialog-container {- @apply w-auto;-- > .dialog-content-container {- @apply overflow-x-scroll;- }- }-}