aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/illustrations/AiCodeAssuranceIllustration.tsx
blob: a4afa7638c8f48d84a9e575fd3e4485b22039bb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
 * SonarQube
 * Copyright (C) 2009-2024 SonarSource SA
 * mailto:info AT sonarsource DOT com
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */

interface Props {
  className?: string;
  height?: number;
  width?: number;
}

export default function AiCodeAssuranceIllustration({
  className,
  width = 168,
  height = 168,
}: Readonly<Props>) {
  return (
    <svg
      className={className}
      width={width}
      height={height}
      viewBox="0 0 168 168"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <path
        d="M83.6803 146.163C69.7412 142.236 58.0998 133.96 48.6909 121.017C38.8677 107.503 34 92.6055 34 76.1566V39.0003C34 38.1666 34.5171 37.4204 35.2978 37.1276L83.2982 19.1275C83.3571 19.1054 83.4168 19.0862 83.4771 19.0698L42 43.2648V76.1567C42 89.7648 47 107.765 55.5 119.265C63.9725 130.728 72.445 139.707 83.8885 146.202C83.8182 146.195 83.7485 146.182 83.6803 146.163Z"
        fill="#BDC6FF"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M48.6909 121.016C58.0998 133.96 69.7412 142.236 83.6803 146.163C83.8891 146.221 84.1118 146.221 84.3206 146.163C98.2596 142.236 109.901 133.96 119.31 121.016C129.133 107.503 134.001 92.6053 134.001 76.1565V39.0002C134.001 38.1665 133.484 37.4202 132.703 37.1275L84.7027 19.1273C84.2499 18.9576 83.7509 18.9576 83.2982 19.1273L35.2978 37.1275C34.5171 37.4202 34 38.1665 34 39.0002V76.1565C34 92.6053 38.8677 107.503 48.6909 121.016ZM82.0533 151.938C83.3261 152.296 84.6748 152.296 85.9475 151.938C101.292 147.615 114.03 138.484 124.163 124.544C134.722 110.019 140.001 93.89 140.001 76.1565V39.0002C140.001 35.6654 137.932 32.6804 134.81 31.5095L86.8094 13.5094C84.9983 12.8302 83.0025 12.8302 81.1914 13.5094L33.191 31.5095C30.0686 32.6804 28 35.6654 28 39.0002V76.1565C28 93.89 33.2792 110.019 43.8376 124.544C53.9705 138.484 66.709 147.615 82.0533 151.938Z"
        fill="#6A7590"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M70.9211 90.826C68.7316 92.1582 66.4181 93.311 64 94.2646C66.4181 95.2183 68.7316 96.3711 70.9211 97.7033C77.1049 101.466 82.2989 106.66 86.0614 112.844C87.3936 115.033 88.5463 117.347 89.5 119.765C90.4537 117.347 91.6064 115.033 92.9386 112.844C96.7011 106.66 101.895 101.466 108.079 97.7033C110.268 96.3711 112.582 95.2183 115 94.2646C112.582 93.311 110.268 92.1582 108.079 90.826C101.895 87.0635 96.7011 81.8695 92.9386 75.6858C91.6064 73.4963 90.4537 71.1827 89.5 68.7646C88.5463 71.1827 87.3936 73.4963 86.0614 75.6858C82.2989 81.8695 77.1049 87.0635 70.9211 90.826ZM76.6331 94.2646C81.6543 97.7516 86.013 102.11 89.5 107.132C92.987 102.11 97.3457 97.7516 102.367 94.2646C97.3457 90.7777 92.987 86.4189 89.5 81.3978C86.013 86.4189 81.6543 90.7777 76.6331 94.2646Z"
        fill="#7B87D9"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M57.0129 64.1416C55.4524 65.1832 53.774 66.065 52 66.7646C53.774 67.4643 55.4524 68.3461 57.0129 69.3877C59.9279 71.3335 62.4312 73.8368 64.3769 76.7518C65.4185 78.3122 66.3003 79.9906 67 81.7646C67.6997 79.9906 68.5815 78.3122 69.6231 76.7518C71.5688 73.8368 74.0721 71.3335 76.9871 69.3877C78.5476 68.3461 80.226 67.4643 82 66.7646C80.226 66.065 78.5476 65.1832 76.9871 64.1416C74.0721 62.1958 71.5688 59.6925 69.6231 56.7775C68.5815 55.2171 67.6997 53.5387 67 51.7646C66.3003 53.5387 65.4185 55.2171 64.3769 56.7775C62.4312 59.6925 59.9279 62.1958 57.0129 64.1416ZM61.0811 66.7647C63.3113 68.462 65.3026 70.4534 67 72.6836C68.6974 70.4534 70.6887 68.462 72.9189 66.7646C70.6887 65.0673 68.6974 63.0759 67 60.8457C65.3026 63.0759 63.3113 65.0673 61.0811 66.7647Z"
        fill="#7B87D9"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M85.1828 51.4705C84.2183 52.2052 83.1493 52.8114 82 53.2646C83.1493 53.7179 84.2183 54.3241 85.1828 55.0588C86.1331 55.7828 86.9819 56.6316 87.7058 57.5819C88.4406 58.5463 89.0467 59.6154 89.5 60.7646C89.9533 59.6154 90.5594 58.5463 91.2942 57.5819C92.0181 56.6316 92.8669 55.7828 93.8172 55.0588C94.7817 54.3241 95.8507 53.7179 97 53.2646C95.8507 52.8114 94.7817 52.2052 93.8172 51.4705C92.8669 50.7465 92.0181 49.8977 91.2942 48.9474C90.5594 47.9829 89.9533 46.9139 89.5 45.7646C89.0467 46.9139 88.4406 47.9829 87.7058 48.9474C86.9819 49.8977 86.1331 50.7465 85.1828 51.4705ZM87.7333 53.2646C88.3665 53.8075 88.9571 54.3982 89.5 55.0314C90.0429 54.3982 90.6335 53.8075 91.2667 53.2646C90.6335 52.7218 90.0429 52.1311 89.5 51.4979C88.9571 52.1311 88.3665 52.7218 87.7333 53.2646Z"
        fill="#7B87D9"
      />
    </svg>
  );
}