Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: NVIDIA icon and component #2863

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions react/src/components/BAIIcons/Nvidia.tsx
Original file line number Diff line number Diff line change
@@ -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<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
size?: number;
}

const NvidiaIcon: React.FC<CustomIconProps> = (props) => {
return (
<Icon
component={logo}
{...props}
style={{
color: '#76B900',
fontSize: props.size,
...props.style,
}}
/>
);
};

export default NvidiaIcon;
1 change: 1 addition & 0 deletions react/src/components/BAIIcons/nvidia.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions resources/app_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -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": [
Expand All @@ -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": [
Expand Down
Binary file removed resources/icons/nvidia.png
Binary file not shown.
1 change: 1 addition & 0 deletions resources/icons/nvidia.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion resources/image_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading