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
66bc7947
authored
May 26, 2025
by
Apple\Apple
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
馃帹
style(ui): Optimize icon adaptation
parent
324d938d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
web/src/components/ModelPricing.js
+3
-2
web/src/components/SiderBar.js
+2
-2
No files found.
web/src/components/ModelPricing.js
View file @
66bc7947
...
@@ -24,9 +24,10 @@ import {
...
@@ -24,9 +24,10 @@ import {
IconSearch
,
IconSearch
,
IconCopy
,
IconCopy
,
IconInfoCircle
,
IconInfoCircle
,
IconCrown
,
}
from
'@douyinfe/semi-icons'
;
}
from
'@douyinfe/semi-icons'
;
import
{
UserContext
}
from
'../context/User/index.js'
;
import
{
UserContext
}
from
'../context/User/index.js'
;
import
{
Settings
,
AlertCircle
}
from
'lucide-react'
;
import
{
AlertCircle
}
from
'lucide-react'
;
import
{
MODEL_CATEGORIES
}
from
'../constants'
;
import
{
MODEL_CATEGORIES
}
from
'../constants'
;
const
ModelPricing
=
()
=>
{
const
ModelPricing
=
()
=>
{
...
@@ -507,7 +508,7 @@ const ModelPricing = () => {
...
@@ -507,7 +508,7 @@ const ModelPricing = () => {
<
div
className
=
"flex flex-col lg:flex-row lg:items-start lg:justify-between gap-4 lg:gap-6"
>
<
div
className
=
"flex flex-col lg:flex-row lg:items-start lg:justify-between gap-4 lg:gap-6"
>
<
div
className
=
"flex items-start"
>
<
div
className
=
"flex items-start"
>
<
div
className
=
"w-10 h-10 sm:w-12 sm:h-12 rounded-xl bg-white/10 flex items-center justify-center mr-3 sm:mr-4"
>
<
div
className
=
"w-10 h-10 sm:w-12 sm:h-12 rounded-xl bg-white/10 flex items-center justify-center mr-3 sm:mr-4"
>
<
Settings
size
=
{
20
}
className
=
"text-white"
/>
<
IconCrown
size
=
"large"
className
=
"text-white"
/>
<
/div
>
<
/div
>
<
div
className
=
"flex-1 min-w-0"
>
<
div
className
=
"flex-1 min-w-0"
>
<
div
className
=
"text-base sm:text-lg font-semibold mb-1 sm:mb-2"
>
<
div
className
=
"text-base sm:text-lg font-semibold mb-1 sm:mb-2"
>
...
...
web/src/components/SiderBar.js
View file @
66bc7947
...
@@ -18,7 +18,7 @@ import {
...
@@ -18,7 +18,7 @@ import {
IconCalendarClock
,
IconCalendarClock
,
IconChecklistStroked
,
IconChecklistStroked
,
IconComment
,
IconComment
,
Icon
CommentStroked
,
Icon
Terminal
,
IconCreditCard
,
IconCreditCard
,
IconGift
,
IconGift
,
IconHelpCircle
,
IconHelpCircle
,
...
@@ -252,7 +252,7 @@ const SiderBar = () => {
...
@@ -252,7 +252,7 @@ const SiderBar = () => {
text
:
'Playground'
,
text
:
'Playground'
,
itemKey
:
'playground'
,
itemKey
:
'playground'
,
to
:
'/playground'
,
to
:
'/playground'
,
icon
:
<
Icon
CommentStroked
/>
,
icon
:
<
Icon
Terminal
/>
,
},
},
{
{
text
:
t
(
'鑱婂ぉ'
),
text
:
t
(
'鑱婂ぉ'
),
...
...
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