diff --git a/web/air/src/components/Footer.js b/web/air/src/components/Footer.js index 9e294268..334ee379 100644 --- a/web/air/src/components/Footer.js +++ b/web/air/src/components/Footer.js @@ -1,7 +1,7 @@ import React, { useEffect, useState } from 'react'; +import { Container, Segment } from 'semantic-ui-react'; import { getFooterHTML, getSystemName } from '../helpers'; -import { Layout } from '@douyinfe/semi-ui'; const Footer = () => { const systemName = getSystemName(); @@ -28,38 +28,33 @@ const Footer = () => { }, []); return ( - - + + {footer ? (
) : ( -
+ )} - - + + ); }; diff --git a/web/air/src/pages/About/index.js b/web/air/src/pages/About/index.js index c9c2fbf4..ec13f151 100644 --- a/web/air/src/pages/About/index.js +++ b/web/air/src/pages/About/index.js @@ -1,7 +1,7 @@ import React, { useEffect, useState } from 'react'; +import { Header, Segment } from 'semantic-ui-react'; import { API, showError } from '../../helpers'; import { marked } from 'marked'; -import {Layout} from "@douyinfe/semi-ui"; const About = () => { const [about, setAbout] = useState(''); @@ -33,23 +33,14 @@ const About = () => { <> { aboutLoaded && about === '' ? <> - - -

关于

-
- -

- 可在设置页面设置关于内容,支持 HTML & Markdown -

- new-api项目仓库地址: - - https://github.com/Calcium-Ion/new-api - -

- NewAPI © 2023 CalciumIon | 基于 One API v0.5.4 © 2023 JustSong。本项目根据MIT许可证授权。 -

-
-
+ +
关于
+

可在设置页面设置关于内容,支持 HTML & Markdown

+ 项目仓库地址: + + https://github.com/songquanpeng/one-api + +
: <> { about.startsWith('https://') ?