修改版权信息

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 { Container, Segment } from 'semantic-ui-react';
import { getFooterHTML, getSystemName } from '../helpers';
import {Layout} from "@douyinfe/semi-ui";
const Footer = () => {
const systemName = getSystemName();
@@ -28,8 +29,8 @@ const Footer = () => {
}, []);
return (
<Segment vertical>
<Container textAlign='center'>
<Layout>
<Layout.Content style={{textAlign: 'center'}}>
{footer ? (
<div
className='custom-footer'
@@ -38,23 +39,28 @@ const Footer = () => {
) : (
<div className='custom-footer'>
<a
href='https://github.com/Calcium-Ion/one-api'
href='https://github.com/Calcium-Ion/new-api'
target='_blank'
>
{systemName} {process.env.REACT_APP_VERSION}{' '}
New API {process.env.REACT_APP_VERSION}{' '}
</a>
{' '}
<a href='https://github.com/Calcium-Ion' target='_blank'>
Calcium-Ion
</a>{' '}
构建源代码遵循{' '}
开发基于{' '}
<a href='https://github.com/songquanpeng/one-api' target='_blank'>
One API v0.5.4
</a>{' '}
本项目根据{' '}
<a href='https://opensource.org/licenses/mit-license.php'>
MIT 协议
</a>
MIT 许可证
</a>{' '}
授权
</div>
)}
</Container>
</Segment>
</Layout.Content>
</Layout>
);
};