dgx-spark-playbooks/nvidia/txt2kg/assets/frontend/components/nvidia-icon.tsx
2025-12-02 19:43:52 +00:00

37 lines
1.9 KiB
XML

//
// SPDX-FileCopyrightText: Copyright (c) 1993-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
export function NvidiaIcon({ className }: { className?: string }) {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" className={className}>
<rect width="29" height="32" x="18" y="8" fill="#76b900"></rect>
<path
fill="#fafafa"
d="M18,17.68c0.52-0.05,1.05-0.09,1.57-0.07c4.95,0,7.9,3.85,7.9,3.85l-4.03,3.39 c-1.8-3.02-2.43-4.35-5.44-4.71V17.68z M18,28.72c0.73,0.24,1.52,0.36,2.3,0.36c5.88,0,11.35-7.6,11.35-7.6s-5.07-6.91-12.81-6.66 c-0.28,0-0.56,0.02-0.84,0.03v-2.3l0.84-0.05c10.76-0.37,17.78,8.82,17.78,8.82s-8.05,9.8-16.44,9.8c-0.73,0-1.47-0.07-2.18-0.19 V28.72z M19.95,36.09c-0.66,0-1.32-0.03-1.95-0.1v-2.44c0.59,0.07,1.22,0.12,1.81,0.12c7.82,0,13.47-3.99,18.94-8.7 c0.91,0.73,4.62,2.49,5.39,3.26C38.94,32.59,26.82,36.09,19.95,36.09z"
></path>
<path
fill="#76b900"
d="M18,28.717v2.232c-7.219-1.29-9.225-8.806-9.225-8.806s3.47-3.836,9.225-4.464v2.441h-0.017 c-3.017-0.366-5.388,2.459-5.388,2.459S13.937,27.339,18,28.717"
></path>
<path
fill="#76b900"
d="M5.183,21.829c0,0,4.272-6.313,12.834-6.975v-2.302c-9.486,0.767-17.682,8.789-17.682,8.789 S4.974,34.768,18,35.989v-2.441C8.444,32.361,5.183,21.829,5.183,21.829z"
></path>
</svg>
)
}