memos/web/src/components/AboutSiteDialog.tsx

68 lines
2.0 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></p>
<br />
<i></i>
<ul>
<li>
<strong></strong>
</li>
<li>📅 /💡 📕 ...</li>
<li>使</li>
<li>簿</li>
</ul>
<br />
<i></i>
<ul>
<li>
{" "}
<a target="_blank" href="https://github.com/boojack/insmemo-web" rel="noreferrer">
</a>
</li>
<li>😋 </li>
<li>📑 </li>
</ul>
<br />
<a target="_blank" href="https://github.com/boojack/insmemo-web/discussions" rel="noreferrer">
🤔
</a>
<br />
<p>Enjoy it and have fun~ </p>
<hr />
<p className="normal-text">
Last updated on <span className="pre-text">2021/11/26 16:17:44</span> 🎉
</p>
</div>
</>
);
};
export default function showAboutSiteDialog(): void {
showDialog(
{
className: "about-site-dialog",
},
AboutSiteDialog
);
}