From 817af2352fc121f1c95a1cc8e0ef487ad96db6fc Mon Sep 17 00:00:00 2001 From: Jong Eun Lee Date: Wed, 20 Nov 2024 10:54:14 +0800 Subject: [PATCH] chore: NVIDIA icon and component --- react/src/components/BAIIcons/Nvidia.tsx | 24 +++++++++++++++++++++++ react/src/components/BAIIcons/nvidia.svg | 1 + resources/app_template.json | 6 +++--- resources/icons/nvidia.png | Bin 5557 -> 0 bytes resources/icons/nvidia.svg | 1 + resources/image_metadata.json | 2 +- 6 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 react/src/components/BAIIcons/Nvidia.tsx create mode 100644 react/src/components/BAIIcons/nvidia.svg delete mode 100644 resources/icons/nvidia.png create mode 100644 resources/icons/nvidia.svg diff --git a/react/src/components/BAIIcons/Nvidia.tsx b/react/src/components/BAIIcons/Nvidia.tsx new file mode 100644 index 0000000000..4b13b16787 --- /dev/null +++ b/react/src/components/BAIIcons/Nvidia.tsx @@ -0,0 +1,24 @@ +import { ReactComponent as logo } from './nvidia.svg'; +import Icon from '@ant-design/icons'; +import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon'; + +interface CustomIconProps + extends Omit { + size?: number; +} + +const NvidiaIcon: React.FC = (props) => { + return ( + + ); +}; + +export default NvidiaIcon; diff --git a/react/src/components/BAIIcons/nvidia.svg b/react/src/components/BAIIcons/nvidia.svg new file mode 100644 index 0000000000..d610d3977d --- /dev/null +++ b/react/src/components/BAIIcons/nvidia.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/app_template.json b/resources/app_template.json index 6fcdd79e8b..e3a1660882 100644 --- a/resources/app_template.json +++ b/resources/app_template.json @@ -80,7 +80,7 @@ "title": "DIGITS", "category": "3.Machine Learning Tools", "redirect": "&redirect=/", - "src": "./resources/icons/nvidia.png" + "src": "./resources/icons/nvidia.svg" } ], "h2o-dai": [ @@ -224,7 +224,7 @@ "title": "Triton Server", "category": "8.AI Inference Service", "redirect": "", - "src": "./resources/icons/nvidia.png" + "src": "./resources/icons/nvidia.svg" } ], "triton-server-http": [ @@ -233,7 +233,7 @@ "title": "Triton Server (HTTP)", "category": "8.AI Inference Service", "redirect": "", - "src": "./resources/icons/nvidia.png" + "src": "./resources/icons/nvidia.svg" } ], "orbit-server-http": [ diff --git a/resources/icons/nvidia.png b/resources/icons/nvidia.png deleted file mode 100644 index 4c70ee6893f32418e663fe922b60de74cf4c4b60..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5557 zcmai2^;gv2^M27wEwQxZ(p@6mARq`R-J*23N-w#Dq%;!J;8IG8(p^iJbW2DIZ&G66 zyPv<{d(NFZzua@r%rno-y)!ZTx*DWJ3`76`kZNhFy~Jq5{{)1O*?SahhcSxqou-*5 z0Dyb{Cs?2O!H)od+EGhQ+0bwCC>Ne)IFmcjaV2PUJYzjGqwPISI?tL71!2D^c0!3J z6ye5Cs>QJO(`86=r{<)NaHK*Kxl^<5M5R-;xVR>zxP;zYVkP(Di8SIWFPq{z7hEAP zudLflU@d1F5XfPLbw&34F#2x#&qQC##p-cD$W_C#@1s{DbR_uUUH^}QJQAaS`}^>GsB~bc#@?=pyKwCN2YO%;{T?|^(o5lj$sz}LOWsOVQy7~<9eRv2aGn`w9c*agSiM8_0s`G@^xAhw4r z*0tD1Z`s>}niA7IMFxSnux(R*E=zL1tDX3K_J}}8gyl1(Xl*N}lGty_w#H0skp^;} zDxmeM(MN=!s^2juRtOIkvnxc;s`$XnI%b zU7q{Kc<|Q3GFt^+jW}c`?R)DwQmqFHg*DT*?^zpG6R}^VM~>thNqrv16;b=rp~-qj z{N%@`)w6-j<1z0zp}K%b7zvcp?=^M=dE%WcUZcZ<&Q2??N>Ws5#e;9SAZhCen~ySi z^4T4#y_^kQf!&~)1w3m+d*VV{othksN~f@vehj<~YT&KAef-7d1wQGlR91M$0`VG& z@YYkZUcL?X&GZAj69w?87a6wW5NIU16W%m6cX>|CR*#C>ii2Z36T!NhIa-s`-s)A% z)UB;B*h8r1ir%X1+cE`(jC2j9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hq diff --git a/resources/icons/nvidia.svg b/resources/icons/nvidia.svg new file mode 100644 index 0000000000..ae65b09a2b --- /dev/null +++ b/resources/icons/nvidia.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/image_metadata.json b/resources/image_metadata.json index fca71bf262..67378a853a 100644 --- a/resources/image_metadata.json +++ b/resources/image_metadata.json @@ -337,7 +337,7 @@ "description": "NVIDIA Triton Inference Server is an open-source, high-performance server that simplifies the deployment of AI models for inference in production environments..This environment is integrated with Nvidia GPU Cloud.", "group": "Machine Learning / Deep Learning", "tags": [], - "icon": "nvidia.png", + "icon": "nvidia.svg", "label": [ { "category": "Env",