memos/web/src/components/AboutSiteDialog.tsx
2021-12-12 14:39:53 +08:00

47 lines
1.4 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { showDialog } from "./Dialog";
import "../less/about-site-dialog.less";
interface Props extends DialogProps {}
const AboutSiteDialog: React.FC<Props> = ({ destroy }: Props) => {
const handleCloseBtnClick = () => {
destroy();
};
return (
<>
<div className="dialog-header-container">
<p className="title-text">
<span className="icon-text">🤠</span> <b>Memos</b>
</p>
<button className="btn close-btn" onClick={handleCloseBtnClick}>
<img className="icon-img" src="/icons/close.svg" />
</button>
</div>
<div className="dialog-content-container">
<p>
<a href="https://flomoapp.com">flomo</a>
</p>
<p></p>
<br />
<p>
🏗 This project is working in progress, <br /> and very pleasure to welcome your{" "}
<a href="https://github.com/justmemos/memos/issues">issues</a> and <a href="https://github.com/justmemos/memos/pulls">PR</a>.
</p>
<hr />
<p className="normal-text">
Last updated on <span className="pre-text">2021/12/12 14:38:15</span> 🎉
</p>
</div>
</>
);
};
export default function showAboutSiteDialog(): void {
showDialog(
{
className: "about-site-dialog",
},
AboutSiteDialog
);
}