diff --git a/packages/app/src/pages/about/index.jsx b/packages/app/src/pages/about/index.jsx deleted file mode 100755 index 1daf6b9a..00000000 --- a/packages/app/src/pages/about/index.jsx +++ /dev/null @@ -1,80 +0,0 @@ -import React from "react" -import * as antd from "antd" -import moment from "moment" - -import { Icons } from "components/Icons" - -import config from "config" - -import "./index.less" - -export default (props) => { - const isProduction = import.meta.env.PROD - - const [serverManifest, setServerManifest] = React.useState(null) - - const checkServerVersion = async () => { - const serverManifest = await app.cores.api.customRequest("main") - - setServerManifest(serverManifest.data) - } - - React.useEffect(() => { - checkServerVersion() - }, []) - - return
-
-
-
- Logo -
-
-

{config.app.siteName}

- {config.author} - Licensed with {config.package?.license ?? "unlicensed"} -
-
-
- v{window.app.version ?? "experimental"} - - {isProduction ? : } - {String(import.meta.env.MODE)} - -
-
- -
-

Server info

- -
- Powered by Linebridgeâ„¢ - -
- v{serverManifest?.LINEBRIDGE_SERVER_VERSION ?? "Unknown"} -
-
-
- - Origin address - - -
- {app.cores.api?.namespaces.main.origin ?? "Unknown"} -
-
-
- - Server Time - - -
- {moment(serverManifest?.requestTime).format("YYYY-MM-DD HH:mm:ss")} -
-
-
-
-} \ No newline at end of file diff --git a/packages/app/src/pages/about/index.less b/packages/app/src/pages/about/index.less deleted file mode 100755 index 3af67a79..00000000 --- a/packages/app/src/pages/about/index.less +++ /dev/null @@ -1,93 +0,0 @@ -.about_app { - display: flex; - flex-direction: column; - - width: 100%; - - padding: 0 20px 20px 20px; - - background-color: var(--background-color-accent); - color: var(--text-color); - - border-radius: 12px; - - .header { - display: flex; - flex-direction: row; - - justify-content: space-between; - align-self: center; - - width: 100%; - - margin-bottom: 20px; - - padding: 20px 0; - border-bottom: 1px solid var(--border-color); - - .branding { - display: flex; - flex-direction: row; - - align-items: center; - - .logo { - width: 60px; - height: 100%; - - margin-right: 20px; - - img { - width: 100%; - height: 100%; - } - } - - .texts { - display: flex; - flex-direction: column; - - } - - h1, - h2, - h3 { - height: fit-content; - line-height: 24px; - } - - span { - height: fit-content; - color: var(--background-color-contrast); - font-size: 10px; - } - } - } - - .group { - display: inline-flex; - - flex-direction: column; - justify-content: center; - - margin-bottom: 10px; - - .field { - display: inline-flex; - flex-direction: column; - - margin-bottom: 10px; - - font-size: 0.9rem; - - .value { - font-size: 0.8rem; - - display: inline-flex; - flex-direction: row; - - margin-left: 10px; - } - } - } -} \ No newline at end of file