fix: Jina AI logo (#1656)

This commit is contained in:
zxhlyh 2023-11-30 15:41:59 +08:00 committed by GitHub
parent 0e04fcc071
commit 307c170fb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 71 deletions

View File

@ -1,11 +1,4 @@
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<g id="J 1"> <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"/>
<rect width="22" height="22" rx="5" fill="black"/> <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"/>
<g id="Company-Logo---J">
<g id="Company-logo_light">
<path id="&#230;&#164;&#173;&#229;&#156;&#134;&#229;&#189;&#162;&#229;&#164;&#135;&#228;&#187;&#189;-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="&#229;&#189;&#162;&#231;&#138;&#182;&#231;&#187;&#147;&#229;&#144;&#136;" 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> </svg>

Before

Width:  |  Height:  |  Size: 890 B

After

Width:  |  Height:  |  Size: 566 B

View File

@ -4,70 +4,30 @@
"isRootNode": true, "isRootNode": true,
"name": "svg", "name": "svg",
"attributes": { "attributes": {
"width": "22", "width": "24",
"height": "22", "height": "24",
"viewBox": "0 0 22 22", "viewBox": "0 0 24 24",
"fill": "none", "fill": "none",
"xmlns": "http://www.w3.org/2000/svg" "xmlns": "http://www.w3.org/2000/svg"
}, },
"children": [ "children": [
{ {
"type": "element", "type": "element",
"name": "g", "name": "path",
"attributes": { "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": [ "children": []
{ },
"type": "element", {
"name": "rect", "type": "element",
"attributes": { "name": "path",
"width": "22", "attributes": {
"height": "22", "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",
"rx": "5", "fill": "#009191"
"fill": "black" },
}, "children": []
"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": []
}
]
}
]
}
]
} }
] ]
}, },

View File

@ -5,8 +5,8 @@ import { Jina, JinaText } from '@/app/components/base/icons/src/public/llm'
const config: ProviderConfig = { const config: ProviderConfig = {
selector: { selector: {
name: { name: {
'en': 'Jina', 'en': 'Jina AI',
'zh-Hans': 'Jina', 'zh-Hans': 'Jina AI',
}, },
icon: <Jina className='w-full h-full' />, icon: <Jina className='w-full h-full' />,
}, },
@ -27,12 +27,12 @@ const config: ProviderConfig = {
'en': 'Embedding Model', 'en': 'Embedding Model',
'zh-Hans': 'Embedding 模型', 'zh-Hans': 'Embedding 模型',
}, },
icon: <Jina className='w-6 h-6' />, icon: <JinaText className='w-[58px] h-6' />,
link: { link: {
href: 'https://jina.ai/embeddings/', href: 'https://jina.ai/embeddings/',
label: { label: {
'en': 'Get your API key from Jina', 'en': 'Get your API key from Jina AI',
'zh-Hans': '从 Jina 获取 API Key', 'zh-Hans': '从 Jina AI 获取 API Key',
}, },
}, },
validateKeys: ['api_key'], validateKeys: ['api_key'],