mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-20 13:00:39 +00:00
feat: update version to 1.4.0 and integrate APP_VERSION in components
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type { ComponentChildren } from 'preact';
|
||||
import { APP_VERSION } from '@shared/app-version';
|
||||
|
||||
interface StandalonePageFrameProps {
|
||||
title: string;
|
||||
@@ -24,6 +25,8 @@ export default function StandalonePageFrame(props: StandalonePageFrameProps) {
|
||||
<a href="https://github.com/shuaiplus/NodeWarden" target="_blank" rel="noreferrer">NodeWarden Repository</a>
|
||||
<span> | </span>
|
||||
<a href="https://github.com/shuaiplus" target="_blank" rel="noreferrer">Author: @shuaiplus</a>
|
||||
<span> | </span>
|
||||
<span className="standalone-version">v{APP_VERSION}</span>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -206,6 +206,11 @@ body,
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.standalone-version {
|
||||
font-weight: 700;
|
||||
color: #1d4ed8;
|
||||
}
|
||||
|
||||
.muted {
|
||||
margin: 0 0 16px 0;
|
||||
text-align: center;
|
||||
|
||||
Reference in New Issue
Block a user