Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8c0fa629
authored
Oct 31, 2023
by
CaIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改logo
parent
eec9046c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
8 deletions
+17
-8
web/package.json
+1
-1
web/public/index.html
+5
-5
web/src/App.js
+9
-0
web/src/components/HeaderBar.js
+1
-1
web/src/components/SiderBar.js
+1
-1
No files found.
web/package.json
View file @
8c0fa629
...
@@ -49,5 +49,5 @@
...
@@ -49,5 +49,5 @@
"singleQuote"
:
true
,
"singleQuote"
:
true
,
"jsxSingleQuote"
:
true
"jsxSingleQuote"
:
true
},
},
"proxy"
:
"http
s://nekoapi.com
"
"proxy"
:
"http
://localhost:3000
"
}
}
web/public/index.html
View file @
8c0fa629
...
@@ -5,11 +5,11 @@
...
@@ -5,11 +5,11 @@
<link
rel=
"icon"
href=
"logo.png"
/>
<link
rel=
"icon"
href=
"logo.png"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
/>
<meta
name=
"theme-color"
content=
"#ffffff"
/>
<meta
name=
"theme-color"
content=
"#ffffff"
/>
<meta
<meta
name=
"description"
name=
"description"
content=
"Neko API,企业级AI接口调用平台,专为企业级需求打造,提供高性能、高并发、高可用的服务,一站式处理大规模数据和复杂任务。我们的稳定高并发处理能力和高可用性保证您的业务流畅运行,结合OpenAI、Claude、Midjourney等AI接口和专业的技术支持,为您的企业快速部署和实现AI接口应用,释放商业价值"
/>
content=
"OpenAI 接口聚合管理,支持多种渠道包括 Azure,可用于二次分发管理 key,仅单可执行文件,已打包好 Docker 镜像,一键部署,开箱即用"
<title>
Neko API
</title>
/>
<meta
name=
"keywords"
content=
"Neko API,OpenAI,Claude,Midjourney,高并发,高可用,高性能,企业级AI接口调用平台"
/>
<title>
One API Midjourney
</title>
<title>
Neko API
</title>
</head>
</head>
<body>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
...
...
web/src/App.js
View file @
8c0fa629
...
@@ -25,6 +25,7 @@ import TopUp from './pages/TopUp';
...
@@ -25,6 +25,7 @@ import TopUp from './pages/TopUp';
import
Log
from
'./pages/Log'
;
import
Log
from
'./pages/Log'
;
import
Chat
from
'./pages/Chat'
;
import
Chat
from
'./pages/Chat'
;
import
{
Layout
}
from
"@douyinfe/semi-ui"
;
import
{
Layout
}
from
"@douyinfe/semi-ui"
;
import
Midjourney
from
"./pages/Midjourney"
;
const
Home
=
lazy
(()
=>
import
(
'./pages/Home'
));
const
Home
=
lazy
(()
=>
import
(
'./pages/Home'
));
const
About
=
lazy
(()
=>
import
(
'./pages/About'
));
const
About
=
lazy
(()
=>
import
(
'./pages/About'
));
...
@@ -270,6 +271,14 @@ function App() {
...
@@ -270,6 +271,14 @@ function App() {
}
}
/
>
/
>
<
Route
<
Route
path
=
'/midjourney'
element
=
{
<
PrivateRoute
>
<
Midjourney
/>
<
/PrivateRoute
>
}
/
>
<
Route
path
=
'/about'
path
=
'/about'
element
=
{
element
=
{
<
Suspense
fallback
=
{
<
Loading
><
/Loading>}
>
<
Suspense
fallback
=
{
<
Loading
><
/Loading>}
>
...
...
web/src/components/HeaderBar.js
View file @
8c0fa629
...
@@ -201,7 +201,7 @@ const HeaderBar = () => {
...
@@ -201,7 +201,7 @@ const HeaderBar = () => {
position
=
"bottomRight"
position
=
"bottomRight"
render
=
{
render
=
{
<
Dropdown
.
Menu
>
<
Dropdown
.
Menu
>
<
Dropdown
.
Item
>
退出
<
/Dropdown.Item
>
<
Dropdown
.
Item
onClick
=
{
logout
}
>
退出
<
/Dropdown.Item
>
<
/Dropdown.Menu
>
<
/Dropdown.Menu
>
}
}
>
>
...
...
web/src/components/SiderBar.js
View file @
8c0fa629
...
@@ -254,7 +254,7 @@ const HeaderBar = () => {
...
@@ -254,7 +254,7 @@ const HeaderBar = () => {
setSelectedKeys
([
key
.
itemKey
]);
setSelectedKeys
([
key
.
itemKey
]);
}}
}}
header
=
{{
header
=
{{
logo
:
<
IconSemiLogo
style
=
{{
height
:
'36px'
,
fontSize
:
36
}}
/>
,
logo
:
<
img
src
=
{
logo
}
alt
=
'logo'
style
=
{{
marginRight
:
'0.75em'
}}
/>
,
text
:
'NekoAPI'
text
:
'NekoAPI'
}}
}}
// footer={{
// footer={{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment