mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-22 05:16:47 +08:00
修改版权信息
This commit is contained in:
@@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user