Ver Fonte

fix: Jina AI logo (#1656)

zxhlyh há 1 ano atrás
pai
commit
307c170fb6

+ 3 - 10
web/app/components/base/icons/assets/public/llm/jina.svg

@@ -1,11 +1,4 @@
-<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="&#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 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>

+ 16 - 56
web/app/components/base/icons/src/public/llm/Jina.json

@@ -4,70 +4,30 @@
 		"isRootNode": true,
 		"name": "svg",
 		"attributes": {
-			"width": "22",
-			"height": "22",
-			"viewBox": "0 0 22 22",
+			"width": "24",
+			"height": "24",
+			"viewBox": "0 0 24 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": []
 			}
 		]
 	},

+ 5 - 5
web/app/components/header/account-setting/model-page/configs/jina.tsx

@@ -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: <JinaText 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'],