修改版权信息

This commit is contained in:
CaIon
2023-12-05 21:09:48 +08:00
parent 7dc8b0ea93
commit 044a2dc7ef
5 changed files with 42 additions and 21 deletions

View File

@@ -2,6 +2,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,14 +34,23 @@ const About = () => {
<>
{
aboutLoaded && about === '' ? <>
<Segment>
<Header as='h3'>关于</Header>
<p>可在设置页面设置关于内容支持 HTML & Markdown</p>
魔改版项目仓库地址
<a href='https://github.com/Calcium-Ion/one-api'>
https://github.com/Calcium-Ion/one-api
</a>
</Segment>
<Layout>
<Layout.Header>
<h3>关于</h3>
</Layout.Header>
<Layout.Content>
<p>
可在设置页面设置关于内容支持 HTML & Markdown
</p>
new-api项目仓库地址
<a href='https://github.com/Calcium-Ion/new-api'>
https://github.com/Calcium-Ion/new-api
</a>
<p>
NewAPI © 2023 CalciumIon | 基于 One API v0.5.4 © 2023 JustSong本项目根据MIT许可证授权
</p>
</Layout.Content>
</Layout>
</> : <>
{
about.startsWith('https://') ? <iframe