mirror of https://github.com/usememos/memos.git
chore: update about site dialog
This commit is contained in:
parent
3c58953e56
commit
1808658e4c
|
|
@ -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>
|
||||
</>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue