|
| 1 | +/** |
| 2 | + * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). |
| 3 | + * |
| 4 | + * WSO2 LLC. licenses this file to you under the Apache License, |
| 5 | + * Version 2.0 (the "License"); you may not use this file except |
| 6 | + * in compliance with the License. |
| 7 | + * You may obtain a copy of the License at |
| 8 | + * |
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | + * |
| 11 | + * Unless required by applicable law or agreed to in writing, |
| 12 | + * software distributed under the License is distributed on an |
| 13 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 14 | + * KIND, either express or implied. See the License for the |
| 15 | + * specific language governing permissions and limitations |
| 16 | + * under the License. |
| 17 | + */ |
| 18 | + |
| 19 | +import { useColorScheme } from '@mui/material'; |
| 20 | +import React from 'react'; |
| 21 | + |
| 22 | +export type LogoProps = React.SVGProps<SVGSVGElement>; |
| 23 | + |
| 24 | +export function Logo(props: LogoProps) { |
| 25 | + const { colorScheme } = useColorScheme(); |
| 26 | + const color = colorScheme === 'dark' ? '#ffffff' : '#000000'; |
| 27 | + return ( |
| 28 | + <svg |
| 29 | + viewBox="0 0 681.4 85.49" |
| 30 | + xmlns="http://www.w3.org/2000/svg" |
| 31 | + aria-label="Agent Manager logo" |
| 32 | + role="img" |
| 33 | + fill={color} |
| 34 | + {...props} |
| 35 | + > |
| 36 | + <g> |
| 37 | + <polygon points="77.28 5.7 59.69 50.6 42 2.58 23.26 50.49 7.27 5.7 0 5.7 22.98 68.6 41.83 20.69 59.49 68.66 84.55 5.7 77.28 5.7" /> |
| 38 | + <path d="M112.67,37.66c-2.93-2.4-18.3-10.38-20.28-11.76-1.97-1.38-2.96-3.38-2.96-6.01s1-4.77,3.01-6.42c2-1.65,4.44-2.47,7.31-2.47,1.85,0,3.43.36,4.75,1.08,1.32.72,2.57,1.89,3.77,3.5l.63.98c.18.13.42.43.72.9l5.29-3.41c-1.74-3.05-3.9-5.37-6.51-6.96-2.6-1.58-5.4-2.38-8.38-2.38-5.09,0-9.25,1.43-12.48,4.31-3.23,2.87-4.84,6.56-4.84,11.05,0,4.24,1.46,7.52,4.39,9.82,2.94,2.3,17.56,9.89,19.83,11.45,2.28,1.55,3.41,3.85,3.41,6.91,0,3.47-1.14,6.35-3.45,8.65-2.3,2.31-5.22,3.46-8.75,3.46-3.11,0-5.68-.96-7.71-2.87-2.04-1.92-3.47-4.66-4.31-8.25l-6.46,1.98c.56,2.42,1.39,4.58,2.45,6.46,1.09,1.92,2.45,3.55,4.06,4.88,3.2,2.67,7.25,4,12.16,4,5.2,0,9.63-1.79,13.28-5.34,3.64-3.56,5.47-7.91,5.47-13.06,0-4.6-1.46-8.1-4.4-10.49Z" /> |
| 39 | + <path d="M188.01,33.54c1.51-.43,3.11-.64,4.82-.64,4.56,0,8.25,1.48,11.06,4.42,2.82,2.94,4.24,6.41,4.24,10.4,0,2.81-.68,5.44-2.03,7.9-1.34,2.46-3.96,5.8-7.86,9.99l-12.34,13.31h22.89v4.79h-33.67l18.94-20.46c3.84-4.12,6.34-7.17,7.5-9.16,1.16-1.98,1.74-4.08,1.74-6.28,0-2.79-1.04-5.19-3.12-7.2-2.08-2.01-4.62-3.02-7.64-3.02-1.72,0-3.29.31-4.7.94.12-1.2.17-4.56.15-5.01Z" /> |
| 40 | + <g> |
| 41 | + <path d="M151.8,1.77c-18.75,0-33.94,15.15-33.94,33.85s15.2,33.85,33.94,33.85,33.94-15.15,33.94-33.85S170.55,1.77,151.8,1.77ZM151.8,63.18c-15.06,0-27.27-12.34-27.27-27.56s12.21-27.56,27.27-27.56,27.27,12.34,27.27,27.56-12.21,27.56-27.27,27.56Z" /> |
| 42 | + <path d="M178.98,33.47l-9.88.02-4.93,8.86-12.29-29.96-11.06,24.61-16.25-.03c.07,1.36.23,2.69.48,3.98l18.34.04,8.32-18.52,11.92,29.05,7.81-14.06,7.56-.02c.04-.61.07-1.22.07-1.83,0-.72-.04-1.44-.09-2.15Z" /> |
| 43 | + </g> |
| 44 | + </g> |
| 45 | + <g> |
| 46 | + <path d="M235.42,68.55l16.38-45.7h7.12l16.38,45.7h-6.44l-3.74-10.73h-19.51l-3.74,10.73h-6.44ZM247.5,52.3h15.7l-8.71-25.09h1.72l-8.71,25.09Z" /> |
| 47 | + <path d="M294.92,82.05c-2.33,0-4.49-.37-6.47-1.1-1.98-.74-3.68-1.75-5.09-3.04-1.41-1.29-2.48-2.79-3.22-4.51l5.34-2.45c.57,1.55,1.67,2.87,3.28,3.96,1.61,1.08,3.65,1.62,6.1,1.62,1.88,0,3.59-.36,5.12-1.07,1.53-.72,2.75-1.78,3.65-3.19.9-1.41,1.35-3.12,1.35-5.12v-7.42l1.04,1.1c-1.15,2.25-2.79,3.97-4.94,5.15-2.15,1.19-4.51,1.78-7.08,1.78-3.11,0-5.89-.72-8.34-2.18-2.45-1.45-4.38-3.44-5.77-5.95-1.39-2.51-2.09-5.31-2.09-8.37s.69-5.91,2.09-8.4c1.39-2.49,3.3-4.47,5.73-5.92,2.43-1.45,5.2-2.18,8.31-2.18,2.58,0,4.92.58,7.02,1.75,2.11,1.17,3.79,2.77,5.06,4.82l-.86,1.53v-7.36h5.58v31.65c0,2.86-.67,5.42-2.02,7.67-1.35,2.25-3.22,4.02-5.61,5.31-2.39,1.29-5.12,1.93-8.19,1.93ZM294.49,62.24c1.96,0,3.73-.49,5.31-1.47,1.57-.98,2.83-2.3,3.77-3.96.94-1.66,1.41-3.51,1.41-5.55s-.47-3.84-1.41-5.52c-.94-1.68-2.2-3.01-3.77-3.99-1.57-.98-3.34-1.47-5.31-1.47s-3.82.49-5.46,1.47c-1.64.98-2.91,2.3-3.83,3.96-.92,1.66-1.38,3.51-1.38,5.55s.46,3.89,1.38,5.55,2.19,2.97,3.8,3.96c1.61.98,3.44,1.47,5.49,1.47Z" /> |
| 48 | + <path d="M334.79,69.29c-3.19,0-6.03-.76-8.53-2.27-2.49-1.51-4.46-3.59-5.89-6.23-1.43-2.64-2.15-5.59-2.15-8.86s.71-6.26,2.12-8.83,3.33-4.61,5.77-6.1c2.43-1.49,5.16-2.24,8.19-2.24,2.45,0,4.63.44,6.53,1.32,1.9.88,3.52,2.07,4.85,3.56,1.33,1.49,2.35,3.19,3.07,5.09.71,1.9,1.07,3.87,1.07,5.92,0,.45-.03.95-.09,1.5-.06.55-.13,1.07-.21,1.56h-27.11v-4.91h23.8l-2.7,2.21c.37-2.13.16-4.03-.61-5.71-.78-1.68-1.92-3-3.43-3.99-1.51-.98-3.23-1.47-5.15-1.47s-3.68.49-5.27,1.47-2.83,2.38-3.71,4.2c-.88,1.82-1.24,3.98-1.07,6.47-.16,2.41.21,4.53,1.13,6.35.92,1.82,2.23,3.23,3.93,4.23,1.7,1,3.55,1.5,5.55,1.5,2.21,0,4.07-.51,5.58-1.53,1.51-1.02,2.74-2.33,3.68-3.93l4.78,2.45c-.65,1.51-1.67,2.89-3.04,4.14-1.37,1.25-2.99,2.24-4.85,2.97-1.86.74-3.94,1.1-6.23,1.1Z" /> |
| 49 | + <path d="M357.24,68.55v-33.06h5.58v6.44l-.92-.55c.82-2.09,2.14-3.71,3.96-4.88,1.82-1.17,3.96-1.75,6.41-1.75s4.49.53,6.35,1.59c1.86,1.06,3.33,2.54,4.42,4.42,1.08,1.88,1.63,4.01,1.63,6.38v21.41h-5.77v-19.57c0-1.84-.33-3.39-.98-4.66-.65-1.27-1.59-2.26-2.79-2.97-1.21-.71-2.59-1.07-4.14-1.07s-2.93.36-4.14,1.07c-1.21.72-2.16,1.72-2.85,3.01s-1.04,2.83-1.04,4.63v19.57h-5.7Z" /> |
| 50 | + <path d="M406.24,68.92c-3.23,0-5.71-.92-7.45-2.76-1.74-1.84-2.61-4.44-2.61-7.79v-17.42h-6.01v-5.46h1.23c1.47,0,2.64-.45,3.5-1.35.86-.9,1.29-2.08,1.29-3.56v-2.7h5.7v7.61h7.42v5.46h-7.42v17.24c0,1.1.17,2.07.52,2.88.35.82.93,1.46,1.75,1.93.82.47,1.9.71,3.25.71.29,0,.64-.02,1.07-.06.43-.04.83-.08,1.2-.12v5.03c-.53.12-1.12.21-1.78.28-.65.06-1.21.09-1.66.09Z" /> |
| 51 | + <path d="M428.39,68.55V22.86h5.52l17.11,24.35h-2.82l16.99-24.35h5.52v45.7h-6.07V30.46l2.15.67-16.99,23.92h-.49l-16.81-23.92,1.9-.67v38.09h-6.01Z" /> |
| 52 | + <path d="M489.85,69.29c-2.17,0-4.08-.4-5.73-1.2-1.66-.8-2.95-1.9-3.9-3.31-.94-1.41-1.41-3.04-1.41-4.88s.38-3.34,1.13-4.75c.76-1.41,1.94-2.61,3.56-3.59,1.61-.98,3.65-1.68,6.1-2.09l12.27-2.02v4.78l-10.98,1.84c-2.13.37-3.67,1.04-4.63,2.02-.96.98-1.44,2.19-1.44,3.62,0,1.35.54,2.47,1.63,3.37,1.08.9,2.44,1.35,4.08,1.35,2.09,0,3.9-.44,5.43-1.32,1.53-.88,2.74-2.07,3.62-3.59.88-1.51,1.32-3.19,1.32-5.03v-8.4c0-1.8-.67-3.26-1.99-4.39-1.33-1.12-3.08-1.69-5.24-1.69-1.88,0-3.55.48-5,1.44-1.45.96-2.53,2.24-3.22,3.83l-4.97-2.58c.61-1.51,1.59-2.87,2.94-4.08,1.35-1.21,2.92-2.16,4.72-2.85,1.8-.7,3.68-1.04,5.64-1.04,2.53,0,4.76.48,6.69,1.44,1.92.96,3.42,2.29,4.51,3.99,1.08,1.7,1.63,3.67,1.63,5.92v22.45h-5.58v-6.26l1.04.37c-.7,1.31-1.64,2.45-2.82,3.44-1.19.98-2.58,1.76-4.17,2.33s-3.33.86-5.21.86Z" /> |
| 53 | + <path d="M515.42,68.55v-33.06h5.58v6.44l-.92-.55c.82-2.09,2.14-3.71,3.96-4.88,1.82-1.17,3.96-1.75,6.41-1.75s4.49.53,6.35,1.59c1.86,1.06,3.33,2.54,4.42,4.42,1.08,1.88,1.63,4.01,1.63,6.38v21.41h-5.77v-19.57c0-1.84-.33-3.39-.98-4.66-.65-1.27-1.59-2.26-2.79-2.97-1.21-.71-2.59-1.07-4.14-1.07s-2.93.36-4.14,1.07c-1.21.72-2.16,1.72-2.85,3.01s-1.04,2.83-1.04,4.63v19.57h-5.7Z" /> |
| 54 | + <path d="M560.69,69.29c-2.17,0-4.08-.4-5.73-1.2-1.66-.8-2.95-1.9-3.9-3.31-.94-1.41-1.41-3.04-1.41-4.88s.38-3.34,1.13-4.75c.76-1.41,1.94-2.61,3.56-3.59,1.61-.98,3.65-1.68,6.1-2.09l12.27-2.02v4.78l-10.98,1.84c-2.13.37-3.67,1.04-4.63,2.02-.96.98-1.44,2.19-1.44,3.62,0,1.35.54,2.47,1.63,3.37,1.08.9,2.44,1.35,4.08,1.35,2.09,0,3.9-.44,5.43-1.32,1.53-.88,2.74-2.07,3.62-3.59.88-1.51,1.32-3.19,1.32-5.03v-8.4c0-1.8-.67-3.26-1.99-4.39-1.33-1.12-3.08-1.69-5.24-1.69-1.88,0-3.55.48-5,1.44-1.45.96-2.53,2.24-3.22,3.83l-4.97-2.58c.61-1.51,1.59-2.87,2.94-4.08,1.35-1.21,2.92-2.16,4.72-2.85,1.8-.7,3.68-1.04,5.64-1.04,2.53,0,4.76.48,6.69,1.44,1.92.96,3.42,2.29,4.51,3.99,1.08,1.7,1.63,3.67,1.63,5.92v22.45h-5.58v-6.26l1.04.37c-.7,1.31-1.64,2.45-2.82,3.44-1.19.98-2.58,1.76-4.17,2.33s-3.33.86-5.21.86Z" /> |
| 55 | + <path d="M602.03,82.05c-2.33,0-4.49-.37-6.47-1.1-1.98-.74-3.68-1.75-5.09-3.04-1.41-1.29-2.48-2.79-3.22-4.51l5.34-2.45c.57,1.55,1.67,2.87,3.28,3.96,1.61,1.08,3.65,1.62,6.1,1.62,1.88,0,3.59-.36,5.12-1.07,1.53-.72,2.75-1.78,3.65-3.19.9-1.41,1.35-3.12,1.35-5.12v-7.42l1.04,1.1c-1.15,2.25-2.79,3.97-4.94,5.15-2.15,1.19-4.51,1.78-7.08,1.78-3.11,0-5.89-.72-8.34-2.18-2.45-1.45-4.38-3.44-5.77-5.95-1.39-2.51-2.09-5.31-2.09-8.37s.69-5.91,2.09-8.4c1.39-2.49,3.3-4.47,5.73-5.92,2.43-1.45,5.2-2.18,8.31-2.18,2.58,0,4.92.58,7.02,1.75,2.11,1.17,3.79,2.77,5.06,4.82l-.86,1.53v-7.36h5.58v31.65c0,2.86-.67,5.42-2.02,7.67-1.35,2.25-3.22,4.02-5.61,5.31-2.39,1.29-5.12,1.93-8.19,1.93ZM601.6,62.24c1.96,0,3.73-.49,5.31-1.47,1.57-.98,2.83-2.3,3.77-3.96.94-1.66,1.41-3.51,1.41-5.55s-.47-3.84-1.41-5.52c-.94-1.68-2.2-3.01-3.77-3.99-1.57-.98-3.34-1.47-5.31-1.47s-3.82.49-5.46,1.47c-1.64.98-2.91,2.3-3.83,3.96-.92,1.66-1.38,3.51-1.38,5.55s.46,3.89,1.38,5.55,2.19,2.97,3.8,3.96c1.61.98,3.44,1.47,5.49,1.47Z" /> |
| 56 | + <path d="M641.9,69.29c-3.19,0-6.03-.76-8.53-2.27-2.49-1.51-4.46-3.59-5.89-6.23-1.43-2.64-2.15-5.59-2.15-8.86s.71-6.26,2.12-8.83,3.33-4.61,5.77-6.1c2.43-1.49,5.16-2.24,8.19-2.24,2.45,0,4.63.44,6.53,1.32,1.9.88,3.52,2.07,4.85,3.56,1.33,1.49,2.35,3.19,3.07,5.09.71,1.9,1.07,3.87,1.07,5.92,0,.45-.03.95-.09,1.5-.06.55-.13,1.07-.21,1.56h-27.11v-4.91h23.8l-2.7,2.21c.37-2.13.16-4.03-.61-5.71-.78-1.68-1.92-3-3.43-3.99-1.51-.98-3.23-1.47-5.15-1.47s-3.68.49-5.27,1.47-2.83,2.38-3.71,4.2c-.88,1.82-1.24,3.98-1.07,6.47-.16,2.41.21,4.53,1.13,6.35.92,1.82,2.23,3.23,3.93,4.23,1.7,1,3.55,1.5,5.55,1.5,2.21,0,4.07-.51,5.58-1.53,1.51-1.02,2.74-2.33,3.68-3.93l4.78,2.45c-.65,1.51-1.67,2.89-3.04,4.14-1.37,1.25-2.99,2.24-4.85,2.97-1.86.74-3.94,1.1-6.23,1.1Z" /> |
| 57 | + <path d="M664.35,68.55v-33.06h5.58v6.07l-.61-.86c.78-1.88,1.96-3.28,3.56-4.2s3.54-1.38,5.83-1.38h2.02v5.4h-2.88c-2.33,0-4.21.73-5.64,2.18-1.43,1.45-2.15,3.51-2.15,6.16v19.69h-5.7Z" /> |
| 58 | + </g> |
| 59 | + </svg> |
| 60 | + ); |
| 61 | +} |
0 commit comments