Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
307c170f
Unverified
Commit
307c170f
authored
Nov 30, 2023
by
zxhlyh
Committed by
GitHub
Nov 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Jina AI logo (#1656)
parent
0e04fcc0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
71 deletions
+24
-71
jina.svg
web/app/components/base/icons/assets/public/llm/jina.svg
+3
-10
Jina.json
web/app/components/base/icons/src/public/llm/Jina.json
+16
-56
jina.tsx
...onents/header/account-setting/model-page/configs/jina.tsx
+5
-5
No files found.
web/app/components/base/icons/assets/public/llm/jina.svg
View file @
307c170f
<svg
width=
"22"
height=
"22"
viewBox=
"0 0 22 22"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<g
id=
"J 1"
>
<rect
width=
"22"
height=
"22"
rx=
"5"
fill=
"black"
/>
<g
id=
"Company-Logo---J"
>
<g
id=
"Company-logo_light"
>
<path
id=
"椭圆形备份-3"
d=
"M6.43944 18.5769C8.45441 18.5769 10.0879 16.9435 10.0879 14.9286C10.0879 12.9137 8.45441 11.2803 6.43944 11.2803C4.42447 11.2803 2.79102 12.9137 2.79102 14.9286C2.79102 16.9435 4.42447 18.5769 6.43944 18.5769Z"
fill=
"white"
/>
<path
id=
"形状结合"
d=
"M18.7912 4.29374L18.7435 11.2803C18.7435 15.2625 15.5481 18.5054 11.5658 18.5769L11.4941 11.3042L11.4943 4.31759C11.4943 3.84069 11.8758 3.45917 12.3527 3.45917H17.9327C18.4096 3.45917 18.7912 3.81684 18.7912 4.29374Z"
fill=
"white"
/>
</g>
</g>
</g>
<svg
width=
"24"
height=
"24"
viewBox=
"0 0 24 24"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M6.56053 21.4486C9.07925 21.4486 11.1211 19.4068 11.1211 16.8882C11.1211 14.3696 9.07925 12.3279 6.56053 12.3279C4.04182 12.3279 2 14.3696 2 16.8882C2 19.4068 4.04182 21.4486 6.56053 21.4486Z"
fill=
"#EB6161"
/>
<path
d=
"M22.0002 3.59467L21.9406 12.3279C21.9406 17.3055 17.9464 21.3591 12.9685 21.4485L12.8789 12.3577L12.8791 3.62447C12.8791 3.02835 13.356 2.55145 13.9522 2.55145H20.9271C21.5233 2.55145 22.0002 2.99854 22.0002 3.59467Z"
fill=
"#009191"
/>
</svg>
web/app/components/base/icons/src/public/llm/Jina.json
View file @
307c170f
...
...
@@ -4,70 +4,30 @@
"isRootNode"
:
true
,
"name"
:
"svg"
,
"attributes"
:
{
"width"
:
"2
2
"
,
"height"
:
"2
2
"
,
"viewBox"
:
"0 0 2
2 22
"
,
"width"
:
"2
4
"
,
"height"
:
"2
4
"
,
"viewBox"
:
"0 0 2
4 24
"
,
"fill"
:
"none"
,
"xmlns"
:
"http://www.w3.org/2000/svg"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"
g
"
,
"name"
:
"
path
"
,
"attributes"
:
{
"id"
:
"J 1"
"d"
:
"M6.56053 21.4486C9.07925 21.4486 11.1211 19.4068 11.1211 16.8882C11.1211 14.3696 9.07925 12.3279 6.56053 12.3279C4.04182 12.3279 2 14.3696 2 16.8882C2 19.4068 4.04182 21.4486 6.56053 21.4486Z"
,
"fill"
:
"#EB6161"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"rect"
,
"attributes"
:
{
"width"
:
"22"
,
"height"
:
"22"
,
"rx"
:
"5"
,
"fill"
:
"black"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"g"
,
"attributes"
:
{
"id"
:
"Company-Logo---J"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"g"
,
"attributes"
:
{
"id"
:
"Company-logo_light"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"id"
:
"æ¤åå½¢å¤ä»½-3"
,
"d"
:
"M6.43944 18.5769C8.45441 18.5769 10.0879 16.9435 10.0879 14.9286C10.0879 12.9137 8.45441 11.2803 6.43944 11.2803C4.42447 11.2803 2.79102 12.9137 2.79102 14.9286C2.79102 16.9435 4.42447 18.5769 6.43944 18.5769Z"
,
"fill"
:
"white"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"id"
:
"å½¢ç¶ç»å"
,
"d"
:
"M18.7912 4.29374L18.7435 11.2803C18.7435 15.2625 15.5481 18.5054 11.5658 18.5769L11.4941 11.3042L11.4943 4.31759C11.4943 3.84069 11.8758 3.45917 12.3527 3.45917H17.9327C18.4096 3.45917 18.7912 3.81684 18.7912 4.29374Z"
,
"fill"
:
"white"
},
"children"
:
[]
}
]
}
]
}
]
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M22.0002 3.59467L21.9406 12.3279C21.9406 17.3055 17.9464 21.3591 12.9685 21.4485L12.8789 12.3577L12.8791 3.62447C12.8791 3.02835 13.356 2.55145 13.9522 2.55145H20.9271C21.5233 2.55145 22.0002 2.99854 22.0002 3.59467Z"
,
"fill"
:
"#009191"
},
"children"
:
[]
}
]
},
...
...
web/app/components/header/account-setting/model-page/configs/jina.tsx
View file @
307c170f
...
...
@@ -5,8 +5,8 @@ import { Jina, JinaText } from '@/app/components/base/icons/src/public/llm'
const
config
:
ProviderConfig
=
{
selector
:
{
name
:
{
'en'
:
'Jina'
,
'zh-Hans'
:
'Jina'
,
'en'
:
'Jina
AI
'
,
'zh-Hans'
:
'Jina
AI
'
,
},
icon
:
<
Jina
className=
'w-full h-full'
/>,
},
...
...
@@ -27,12 +27,12 @@ const config: ProviderConfig = {
'en'
:
'Embedding Model'
,
'zh-Hans'
:
'Embedding 模型'
,
},
icon
:
<
Jina
className=
'w-6
h-6'
/>,
icon
:
<
Jina
Text
className=
'w-[58px]
h-6'
/>,
link
:
{
href
:
'https://jina.ai/embeddings/'
,
label
:
{
'en'
:
'Get your API key from Jina'
,
'zh-Hans'
:
'从 Jina 获取 API Key'
,
'en'
:
'Get your API key from Jina
AI
'
,
'zh-Hans'
:
'从 Jina
AI
获取 API Key'
,
},
},
validateKeys
:
[
'api_key'
],
...
...
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