chore: update about site dialog

This commit is contained in:
boojack 2022-07-02 09:45:11 +08:00
parent 3c58953e56
commit 1808658e4c
2 changed files with 13 additions and 11 deletions

View File

@ -45,13 +45,19 @@ const AboutSiteDialog: React.FC<Props> = ({ destroy }: Props) => {
</p>
<br />
<p>
<a href="https://github.com/usememos/memos">🏗 Source code</a>, and built by <a href="https://github.com/boojack">Steven 🐯</a>.
<a className="mr-2" href="https://github.com/usememos/memos">
🏗 Source code
</a>
<Only when={profile !== undefined}>
<>
version:
<span className="pre-text">
{profile?.version}-{profile?.mode}
</span>
🎉
</>
</Only>
</p>
<Only when={profile !== undefined}>
<p className="updated-time-text">
version: <span className="pre-text">{profile?.version}</span> 🎉
</p>
</Only>
</div>
</>
);

View File

@ -11,14 +11,10 @@
> p {
@apply my-1;
&.updated-time-text {
@apply flex flex-row justify-start items-center w-full text-sm mt-3 pt-2 border-t-2 border-t-gray-200 text-gray-600 whitespace-pre-wrap font-mono;
}
}
.pre-text {
@apply font-mono;
@apply font-mono mx-1;
}
a {