mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-21 17:56:38 +08:00
修改版权信息
This commit is contained in:
parent
7dc8b0ea93
commit
044a2dc7ef
4
LICENSE
4
LICENSE
@ -1,5 +1,9 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
|
New API
|
||||||
|
Copyright (c) 2023 CalciumIon
|
||||||
|
|
||||||
|
Based on One API
|
||||||
Copyright (c) 2023 JustSong
|
Copyright (c) 2023 JustSong
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
> 根据[《生成式人工智能服务管理暂行办法》](http://www.cac.gov.cn/2023-07/13/c_1690898327029107.htm)的要求,请勿对中国地区公众提供一切未经备案的生成式人工智能服务。
|
> 根据[《生成式人工智能服务管理暂行办法》](http://www.cac.gov.cn/2023-07/13/c_1690898327029107.htm)的要求,请勿对中国地区公众提供一切未经备案的生成式人工智能服务。
|
||||||
|
|
||||||
> **Note**
|
> **Note**
|
||||||
> 最新版Docker镜像 calciumion/neko-api:main
|
> 最新版Docker镜像 calciumion/neko-api:latest
|
||||||
|
> 更新指令 docker run --rm -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower -cR
|
||||||
|
|
||||||
## 此分叉版本的主要变更
|
## 此分叉版本的主要变更
|
||||||
1. 全新的UI界面(部分界面还待更新)
|
1. 全新的UI界面(部分界面还待更新)
|
||||||
|
@ -2,6 +2,7 @@ import React, { useEffect, useState } from 'react';
|
|||||||
|
|
||||||
import { Container, Segment } from 'semantic-ui-react';
|
import { Container, Segment } from 'semantic-ui-react';
|
||||||
import { getFooterHTML, getSystemName } from '../helpers';
|
import { getFooterHTML, getSystemName } from '../helpers';
|
||||||
|
import {Layout} from "@douyinfe/semi-ui";
|
||||||
|
|
||||||
const Footer = () => {
|
const Footer = () => {
|
||||||
const systemName = getSystemName();
|
const systemName = getSystemName();
|
||||||
@ -28,8 +29,8 @@ const Footer = () => {
|
|||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Segment vertical>
|
<Layout>
|
||||||
<Container textAlign='center'>
|
<Layout.Content style={{textAlign: 'center'}}>
|
||||||
{footer ? (
|
{footer ? (
|
||||||
<div
|
<div
|
||||||
className='custom-footer'
|
className='custom-footer'
|
||||||
@ -38,23 +39,28 @@ const Footer = () => {
|
|||||||
) : (
|
) : (
|
||||||
<div className='custom-footer'>
|
<div className='custom-footer'>
|
||||||
<a
|
<a
|
||||||
href='https://github.com/Calcium-Ion/one-api'
|
href='https://github.com/Calcium-Ion/new-api'
|
||||||
target='_blank'
|
target='_blank'
|
||||||
>
|
>
|
||||||
{systemName} {process.env.REACT_APP_VERSION}{' '}
|
New API {process.env.REACT_APP_VERSION}{' '}
|
||||||
</a>
|
</a>
|
||||||
由{' '}
|
由{' '}
|
||||||
<a href='https://github.com/Calcium-Ion' target='_blank'>
|
<a href='https://github.com/Calcium-Ion' target='_blank'>
|
||||||
Calcium-Ion
|
Calcium-Ion
|
||||||
</a>{' '}
|
</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'>
|
<a href='https://opensource.org/licenses/mit-license.php'>
|
||||||
MIT 协议
|
MIT 许可证
|
||||||
</a>
|
</a>{' '}
|
||||||
|
授权
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</Container>
|
</Layout.Content>
|
||||||
</Segment>
|
</Layout>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -36,9 +36,9 @@ root.render(
|
|||||||
>
|
>
|
||||||
<App/>
|
<App/>
|
||||||
</Content>
|
</Content>
|
||||||
{/*<Layout.Footer>*/}
|
<Layout.Footer>
|
||||||
{/* <Footer></Footer>*/}
|
<Footer></Footer>
|
||||||
{/*</Layout.Footer>*/}
|
</Layout.Footer>
|
||||||
</Layout>
|
</Layout>
|
||||||
<ToastContainer/>
|
<ToastContainer/>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
@ -2,6 +2,7 @@ import React, { useEffect, useState } from 'react';
|
|||||||
import { Header, Segment } from 'semantic-ui-react';
|
import { Header, Segment } from 'semantic-ui-react';
|
||||||
import { API, showError } from '../../helpers';
|
import { API, showError } from '../../helpers';
|
||||||
import { marked } from 'marked';
|
import { marked } from 'marked';
|
||||||
|
import {Layout} from "@douyinfe/semi-ui";
|
||||||
|
|
||||||
const About = () => {
|
const About = () => {
|
||||||
const [about, setAbout] = useState('');
|
const [about, setAbout] = useState('');
|
||||||
@ -33,14 +34,23 @@ const About = () => {
|
|||||||
<>
|
<>
|
||||||
{
|
{
|
||||||
aboutLoaded && about === '' ? <>
|
aboutLoaded && about === '' ? <>
|
||||||
<Segment>
|
<Layout>
|
||||||
<Header as='h3'>关于</Header>
|
<Layout.Header>
|
||||||
<p>可在设置页面设置关于内容,支持 HTML & Markdown</p>
|
<h3>关于</h3>
|
||||||
魔改版项目仓库地址:
|
</Layout.Header>
|
||||||
<a href='https://github.com/Calcium-Ion/one-api'>
|
<Layout.Content>
|
||||||
https://github.com/Calcium-Ion/one-api
|
<p>
|
||||||
</a>
|
可在设置页面设置关于内容,支持 HTML & Markdown
|
||||||
</Segment>
|
</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
|
about.startsWith('https://') ? <iframe
|
||||||
|
Loading…
Reference in New Issue
Block a user