diff --git a/web/src/components/AboutSiteDialog.tsx b/web/src/components/AboutSiteDialog.tsx
index 39d78875..37088b75 100644
--- a/web/src/components/AboutSiteDialog.tsx
+++ b/web/src/components/AboutSiteDialog.tsx
@@ -1,4 +1,5 @@
import { showDialog } from "./Dialog";
+import showStarHistoryDialog from "./StarHistoryDialog";
import "../less/about-site-dialog.less";
interface Props extends DialogProps {}
@@ -28,6 +29,10 @@ const AboutSiteDialog: React.FC = ({ destroy }: Props) => {
🏗 This project is working in progress,
and very pleasure to welcome your{" "}
issues and PR.
+
+
+ Star History
+
Last updated on 2021/12/12 14:38:15 🎉
diff --git a/web/src/components/StarHistoryDialog.tsx b/web/src/components/StarHistoryDialog.tsx
new file mode 100644
index 00000000..f4abd908
--- /dev/null
+++ b/web/src/components/StarHistoryDialog.tsx
@@ -0,0 +1,40 @@
+import { showDialog } from "./Dialog";
+import "../less/star-history-dialog.less";
+
+interface Props extends DialogProps {}
+
+const StarHistoryDialog: React.FC = ({ destroy }: Props) => {
+ const handleCloseBtnClick = () => {
+ destroy();
+ };
+
+ return (
+ <>
+
+
+ ⭐️
+ Star History
+
+
+
+
+
+
+ >
+ );
+};
+
+export default function showStarHistoryDialog(): void {
+ showDialog(
+ {
+ className: "star-history-dialog",
+ },
+ StarHistoryDialog
+ );
+}
diff --git a/web/src/less/about-site-dialog.less b/web/src/less/about-site-dialog.less
index 9f40a37d..3908abb2 100644
--- a/web/src/less/about-site-dialog.less
+++ b/web/src/less/about-site-dialog.less
@@ -30,6 +30,17 @@
.pre-text {
.mono-font-family();
}
+
+ > .btn {
+ padding: 2px 8px;
+ background-color: @text-green;
+ color: white;
+ border-radius: 4px;
+
+ &:hover {
+ opacity: 0.8;
+ }
+ }
}
}
}
diff --git a/web/src/less/star-history-dialog.less b/web/src/less/star-history-dialog.less
new file mode 100644
index 00000000..6e11cbe9
--- /dev/null
+++ b/web/src/less/star-history-dialog.less
@@ -0,0 +1,18 @@
+@import "./mixin.less";
+
+.star-history-dialog {
+ > .dialog-container {
+ width: auto;
+
+ > .dialog-content-container {
+ overflow-x: scroll;
+ }
+ }
+}
+
+@media only screen and (max-width: 875px) {
+ .dialog-wrapper.star-history-dialog {
+ padding: 24px 16px;
+ padding-top: 64px;
+ }
+}