chore(client): remove redundant fragments (#58675)

This commit is contained in:
Oliver Eyton-Williams
2025-02-11 10:07:52 +01:00
committed by GitHub
parent e8d7d60f0b
commit 93b5a178c6
44 changed files with 492 additions and 584 deletions

View File

@@ -4,21 +4,19 @@ function A2EnglishIcon(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
viewBox='0 0 175 170'
fill='none'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path
fillRule='evenodd'
clipRule='evenodd'
d='M 138 9 L 83 9 L 83 79.476 L 147 79.476 L 147 18 C 147 13.029 142.971 9 138 9 Z M 147 88.476 L 83 88.476 L 83 156 L 138 156 C 142.971 156 147 151.971 147 147 L 147 88.476 Z M 74 79.476 L 74 9 L 18 9 C 13.029 9 9 13.029 9 18 L 9 79.476 L 74 79.476 Z M 9 88.476 L 74 88.476 L 74 156 L 18 156 C 13.029 156 9 151.971 9 147 L 9 88.476 Z M 18 0 C 8.059 0 0 8.059 0 18 L 0 147 C 0 156.941 8.059 165 18 165 L 138 165 C 147.941 165 156 156.941 156 147 L 156 18 C 156 8.059 147.941 0 138 0 L 18 0 Z M 22.332 64.394 L 31.56 64.394 L 34.581 55.107 L 49.286 55.107 L 52.301 64.394 L 61.528 64.394 L 47.489 23.667 L 36.392 23.667 L 22.332 64.394 Z M 47.103 48.386 L 42.099 32.974 L 41.781 32.974 L 36.768 48.386 L 47.103 48.386 Z M 100.301 64.394 L 100.301 58.19 L 114.798 44.766 C 116.031 43.573 117.065 42.499 117.901 41.545 C 118.749 40.59 119.392 39.656 119.83 38.741 C 120.267 37.813 120.486 36.812 120.486 35.738 C 120.486 34.545 120.214 33.517 119.67 32.656 C 119.127 31.781 118.384 31.111 117.443 30.647 C 116.502 30.17 115.435 29.931 114.241 29.931 C 112.995 29.931 111.908 30.183 110.98 30.687 C 110.052 31.191 109.336 31.913 108.832 32.855 C 108.329 33.796 108.077 34.916 108.077 36.215 L 99.903 36.215 C 99.903 33.551 100.507 31.237 101.713 29.275 C 102.92 27.313 104.61 25.795 106.784 24.721 C 108.958 23.647 111.464 23.11 114.301 23.11 C 117.218 23.11 119.757 23.627 121.918 24.661 C 124.092 25.682 125.782 27.101 126.989 28.917 C 128.195 30.733 128.798 32.815 128.798 35.161 C 128.798 36.699 128.493 38.217 127.884 39.715 C 127.287 41.213 126.22 42.877 124.682 44.707 C 123.144 46.523 120.976 48.704 118.179 51.249 L 112.233 57.076 L 112.233 57.355 L 129.335 57.355 L 129.335 64.394 L 100.301 64.394 Z M 27.54 142 L 27.54 101.273 L 54.983 101.273 L 54.983 108.372 L 36.151 108.372 L 36.151 118.077 L 53.571 118.077 L 53.571 125.176 L 36.151 125.176 L 36.151 134.901 L 55.063 134.901 L 55.063 142 L 27.54 142 Z M 131.605 142 L 131.605 101.273 L 123.034 101.273 L 123.034 126.886 L 122.676 126.886 L 105.097 101.273 L 97.54 101.273 L 97.54 142 L 106.151 142 L 106.151 116.366 L 106.449 116.366 L 124.168 142 L 131.605 142 Z'
/>
</svg>
</>
<svg
aria-hidden='true'
viewBox='0 0 175 170'
fill='none'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path
fillRule='evenodd'
clipRule='evenodd'
d='M 138 9 L 83 9 L 83 79.476 L 147 79.476 L 147 18 C 147 13.029 142.971 9 138 9 Z M 147 88.476 L 83 88.476 L 83 156 L 138 156 C 142.971 156 147 151.971 147 147 L 147 88.476 Z M 74 79.476 L 74 9 L 18 9 C 13.029 9 9 13.029 9 18 L 9 79.476 L 74 79.476 Z M 9 88.476 L 74 88.476 L 74 156 L 18 156 C 13.029 156 9 151.971 9 147 L 9 88.476 Z M 18 0 C 8.059 0 0 8.059 0 18 L 0 147 C 0 156.941 8.059 165 18 165 L 138 165 C 147.941 165 156 156.941 156 147 L 156 18 C 156 8.059 147.941 0 138 0 L 18 0 Z M 22.332 64.394 L 31.56 64.394 L 34.581 55.107 L 49.286 55.107 L 52.301 64.394 L 61.528 64.394 L 47.489 23.667 L 36.392 23.667 L 22.332 64.394 Z M 47.103 48.386 L 42.099 32.974 L 41.781 32.974 L 36.768 48.386 L 47.103 48.386 Z M 100.301 64.394 L 100.301 58.19 L 114.798 44.766 C 116.031 43.573 117.065 42.499 117.901 41.545 C 118.749 40.59 119.392 39.656 119.83 38.741 C 120.267 37.813 120.486 36.812 120.486 35.738 C 120.486 34.545 120.214 33.517 119.67 32.656 C 119.127 31.781 118.384 31.111 117.443 30.647 C 116.502 30.17 115.435 29.931 114.241 29.931 C 112.995 29.931 111.908 30.183 110.98 30.687 C 110.052 31.191 109.336 31.913 108.832 32.855 C 108.329 33.796 108.077 34.916 108.077 36.215 L 99.903 36.215 C 99.903 33.551 100.507 31.237 101.713 29.275 C 102.92 27.313 104.61 25.795 106.784 24.721 C 108.958 23.647 111.464 23.11 114.301 23.11 C 117.218 23.11 119.757 23.627 121.918 24.661 C 124.092 25.682 125.782 27.101 126.989 28.917 C 128.195 30.733 128.798 32.815 128.798 35.161 C 128.798 36.699 128.493 38.217 127.884 39.715 C 127.287 41.213 126.22 42.877 124.682 44.707 C 123.144 46.523 120.976 48.704 118.179 51.249 L 112.233 57.076 L 112.233 57.355 L 129.335 57.355 L 129.335 64.394 L 100.301 64.394 Z M 27.54 142 L 27.54 101.273 L 54.983 101.273 L 54.983 108.372 L 36.151 108.372 L 36.151 118.077 L 53.571 118.077 L 53.571 125.176 L 36.151 125.176 L 36.151 134.901 L 55.063 134.901 L 55.063 142 L 27.54 142 Z M 131.605 142 L 131.605 101.273 L 123.034 101.273 L 123.034 126.886 L 122.676 126.886 L 105.097 101.273 L 97.54 101.273 L 97.54 142 L 106.151 142 L 106.151 116.366 L 106.449 116.366 L 124.168 142 L 131.605 142 Z'
/>
</svg>
);
}

View File

@@ -4,16 +4,14 @@ function Algorithm(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
viewBox='0 0 640 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M568 368c-19.1 0-36.3 7.6-49.2 19.7L440.6 343c4.5-12.2 7.4-25.2 7.4-39 0-61.9-50.1-112-112-112-8.4 0-16.6 1.1-24.4 2.9l-32.2-69c15-13.2 24.6-32.3 24.6-53.8 0-39.8-32.2-72-72-72s-72 32.2-72 72 32.2 72 72 72c.9 0 1.8-.2 2.7-.3l33.5 71.7C241.5 235.9 224 267.8 224 304c0 61.9 50.1 112 112 112 30.7 0 58.6-12.4 78.8-32.5l82.2 47c-.4 3.1-1 6.3-1 9.5 0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72zM232 96c-13.2 0-24-10.8-24-24s10.8-24 24-24 24 10.8 24 24-10.8 24-24 24zm104 272c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64zm232 96c-13.2 0-24-10.8-24-24s10.8-24 24-24 24 10.8 24 24-10.8 24-24 24zm-54.4-261.2l-19.2-25.6-48 36 19.2 25.6 48-36zM576 192c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zM152 320h48v-32h-48v32zm-88-80c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64-28.7-64-64-64z' />
</svg>
</>
<svg
aria-hidden='true'
viewBox='0 0 640 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M568 368c-19.1 0-36.3 7.6-49.2 19.7L440.6 343c4.5-12.2 7.4-25.2 7.4-39 0-61.9-50.1-112-112-112-8.4 0-16.6 1.1-24.4 2.9l-32.2-69c15-13.2 24.6-32.3 24.6-53.8 0-39.8-32.2-72-72-72s-72 32.2-72 72 32.2 72 72 72c.9 0 1.8-.2 2.7-.3l33.5 71.7C241.5 235.9 224 267.8 224 304c0 61.9 50.1 112 112 112 30.7 0 58.6-12.4 78.8-32.5l82.2 47c-.4 3.1-1 6.3-1 9.5 0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72zM232 96c-13.2 0-24-10.8-24-24s10.8-24 24-24 24 10.8 24 24-10.8 24-24 24zm104 272c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64zm232 96c-13.2 0-24-10.8-24-24s10.8-24 24-24 24 10.8 24 24-10.8 24-24 24zm-54.4-261.2l-19.2-25.6-48 36 19.2 25.6 48-36zM576 192c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zM152 320h48v-32h-48v32zm-88-80c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64-28.7-64-64-64z' />
</svg>
);
}

View File

@@ -4,16 +4,14 @@ function Analytics(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
viewBox='0 0 576 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M510.62 92.63C516.03 94.74 521.85 96 528 96c26.51 0 48-21.49 48-48S554.51 0 528 0s-48 21.49-48 48c0 2.43.37 4.76.71 7.09l-95.34 76.27c-5.4-2.11-11.23-3.37-17.38-3.37s-11.97 1.26-17.38 3.37L255.29 55.1c.35-2.33.71-4.67.71-7.1 0-26.51-21.49-48-48-48s-48 21.49-48 48c0 4.27.74 8.34 1.78 12.28l-101.5 101.5C56.34 160.74 52.27 160 48 160c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-4.27-.74-8.34-1.78-12.28l101.5-101.5C199.66 95.26 203.73 96 208 96c6.15 0 11.97-1.26 17.38-3.37l95.34 76.27c-.35 2.33-.71 4.67-.71 7.1 0 26.51 21.49 48 48 48s48-21.49 48-48c0-2.43-.37-4.76-.71-7.09l95.32-76.28zM400 320h-64c-8.84 0-16 7.16-16 16v160c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V336c0-8.84-7.16-16-16-16zm160-128h-64c-8.84 0-16 7.16-16 16v288c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V208c0-8.84-7.16-16-16-16zm-320 0h-64c-8.84 0-16 7.16-16 16v288c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V208c0-8.84-7.16-16-16-16zM80 352H16c-8.84 0-16 7.16-16 16v128c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V368c0-8.84-7.16-16-16-16z' />
</svg>
</>
<svg
aria-hidden='true'
viewBox='0 0 576 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M510.62 92.63C516.03 94.74 521.85 96 528 96c26.51 0 48-21.49 48-48S554.51 0 528 0s-48 21.49-48 48c0 2.43.37 4.76.71 7.09l-95.34 76.27c-5.4-2.11-11.23-3.37-17.38-3.37s-11.97 1.26-17.38 3.37L255.29 55.1c.35-2.33.71-4.67.71-7.1 0-26.51-21.49-48-48-48s-48 21.49-48 48c0 4.27.74 8.34 1.78 12.28l-101.5 101.5C56.34 160.74 52.27 160 48 160c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-4.27-.74-8.34-1.78-12.28l101.5-101.5C199.66 95.26 203.73 96 208 96c6.15 0 11.97-1.26 17.38-3.37l95.34 76.27c-.35 2.33-.71 4.67-.71 7.1 0 26.51 21.49 48 48 48s48-21.49 48-48c0-2.43-.37-4.76-.71-7.09l95.32-76.28zM400 320h-64c-8.84 0-16 7.16-16 16v160c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V336c0-8.84-7.16-16-16-16zm160-128h-64c-8.84 0-16 7.16-16 16v288c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V208c0-8.84-7.16-16-16-16zm-320 0h-64c-8.84 0-16 7.16-16 16v288c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V208c0-8.84-7.16-16-16-16zM80 352H16c-8.84 0-16 7.16-16 16v128c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V368c0-8.84-7.16-16-16-16z' />
</svg>
);
}

View File

@@ -3,16 +3,14 @@ function APIIcon(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
viewBox='0 0 512 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M424 400c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24zm-88-24c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm64-144c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm176-72a47.758 47.758 0 01-6.438 24A47.758 47.758 0 01512 208v96a47.758 47.758 0 01-6.438 24A47.758 47.758 0 01512 352v96c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48v-96a47.758 47.758 0 016.438-24A47.758 47.758 0 010 304v-96a47.758 47.758 0 016.438-24A47.758 47.758 0 010 160V64c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v96zm-464 0h416V64H48v96zm416 48H48v96h416v-96zm0 144H48v96h416v-96zm-64-216c13.255 0 24-10.745 24-24s-10.745-24-24-24-24 10.745-24 24 10.745 24 24 24zm-64 0c13.255 0 24-10.745 24-24s-10.745-24-24-24-24 10.745-24 24 10.745 24 24 24z' />
</svg>
</>
<svg
aria-hidden='true'
viewBox='0 0 512 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M424 400c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24zm-88-24c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm64-144c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm176-72a47.758 47.758 0 01-6.438 24A47.758 47.758 0 01512 208v96a47.758 47.758 0 01-6.438 24A47.758 47.758 0 01512 352v96c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48v-96a47.758 47.758 0 016.438-24A47.758 47.758 0 010 304v-96a47.758 47.758 0 016.438-24A47.758 47.758 0 010 160V64c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v96zm-464 0h416V64H48v96zm416 48H48v96h416v-96zm0 144H48v96h416v-96zm-64-216c13.255 0 24-10.745 24-24s-10.745-24-24-24-24 10.745-24 24 10.745 24 24 24zm-64 0c13.255 0 24-10.745 24-24s-10.745-24-24-24-24 10.745-24 24 10.745 24 24 24z' />
</svg>
);
}

View File

@@ -4,21 +4,19 @@ function B1EnglishIcon(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
viewBox='0 0 175 170'
fill='none'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path
fillRule='evenodd'
clipRule='evenodd'
d='M138 9H83V79.476H147V18C147 13.029 142.971 9 138 9ZM147 88.476H83V156H138C142.971 156 147 151.971 147 147V88.476ZM74 79.476V9H18C13.029 9 9 13.029 9 18V79.476H72H74ZM9 88.476H74V156H18C13.029 156 9 151.971 9 147V88.476ZM18 0C8.059 0 0 8.059 0 18V147C0 156.941 8.059 165 18 165H138C147.941 165 156 156.941 156 147V18C156 8.059 147.941 0 138 0H18ZM27.54 64.394H36.151V48H42.8115C45.3948 48 47.489 50.0942 47.489 52.6775V52.6775C47.489 55.2608 45.3948 57.355 42.8115 57.355H36.151V64.394H45.63C50.9366 64.394 55.377 60.3669 55.8938 55.0854V55.0854C55.9643 54.3647 55.9435 53.638 55.8317 52.9225L55.5571 51.1642C55.24 49.1331 54.153 47.302 52.5219 46.0509L50.5 44.5L52.0247 43.495C53.9086 42.2532 55.1806 40.2735 55.527 38.0439L55.8246 36.1287C55.9411 35.379 55.9657 34.6179 55.8979 33.8623V33.8623C55.3799 28.0899 50.5423 23.667 44.7467 23.667H27.54V64.394ZM42.04 41.545C45.0494 41.545 47.489 39.1054 47.489 36.096V36.096C47.489 33.0866 45.0494 30.647 42.04 30.647H36.151V41.545H42.04ZM100.301 64.394V57.355H111V45.5C111 44 111 39 111 37.5C111 38.661 111 36.2586 111 37.5C111 38.574 111 36.339 111 37.5C111 38.693 111 36.307 111 37.5C111 35.5 111 35.569 111 35C112.194 35 109.5 35 111 35C111 36 111 34.069 111 35C109.5 36 105 39 104 39.5C103.5 38.5 101 34.5 100.5 33.5C99.2921 35.4577 102 31.069 100.5 33.5C102 32.5 111.5 25.167 114 23.667C118.5 23.667 119 23.667 120.5 23.667C120.5 24.7787 120.5 22.5 120.5 25C120.5 28 120.5 27.931 120.5 29.931C120.5 32.431 120.5 33.154 120.5 35.5C120.5 37.038 120.5 39 120.5 40.5C120.5 42.285 120.5 44 120.5 46C120.5 48.5 120.5 55 120.5 57.355H129.335V64.394H100.301ZM27.54 142V101.273H54.983V108.372H36.151V118.077H53.571V125.176H36.151V134.901H55.063V142H27.54ZM131.605 142V101.273H123.034V126.886H122.676L105.097 101.273H97.54V142H106.151V116.366H106.449L124.168 142H131.605Z'
/>
</svg>
</>
<svg
aria-hidden='true'
viewBox='0 0 175 170'
fill='none'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path
fillRule='evenodd'
clipRule='evenodd'
d='M138 9H83V79.476H147V18C147 13.029 142.971 9 138 9ZM147 88.476H83V156H138C142.971 156 147 151.971 147 147V88.476ZM74 79.476V9H18C13.029 9 9 13.029 9 18V79.476H72H74ZM9 88.476H74V156H18C13.029 156 9 151.971 9 147V88.476ZM18 0C8.059 0 0 8.059 0 18V147C0 156.941 8.059 165 18 165H138C147.941 165 156 156.941 156 147V18C156 8.059 147.941 0 138 0H18ZM27.54 64.394H36.151V48H42.8115C45.3948 48 47.489 50.0942 47.489 52.6775V52.6775C47.489 55.2608 45.3948 57.355 42.8115 57.355H36.151V64.394H45.63C50.9366 64.394 55.377 60.3669 55.8938 55.0854V55.0854C55.9643 54.3647 55.9435 53.638 55.8317 52.9225L55.5571 51.1642C55.24 49.1331 54.153 47.302 52.5219 46.0509L50.5 44.5L52.0247 43.495C53.9086 42.2532 55.1806 40.2735 55.527 38.0439L55.8246 36.1287C55.9411 35.379 55.9657 34.6179 55.8979 33.8623V33.8623C55.3799 28.0899 50.5423 23.667 44.7467 23.667H27.54V64.394ZM42.04 41.545C45.0494 41.545 47.489 39.1054 47.489 36.096V36.096C47.489 33.0866 45.0494 30.647 42.04 30.647H36.151V41.545H42.04ZM100.301 64.394V57.355H111V45.5C111 44 111 39 111 37.5C111 38.661 111 36.2586 111 37.5C111 38.574 111 36.339 111 37.5C111 38.693 111 36.307 111 37.5C111 35.5 111 35.569 111 35C112.194 35 109.5 35 111 35C111 36 111 34.069 111 35C109.5 36 105 39 104 39.5C103.5 38.5 101 34.5 100.5 33.5C99.2921 35.4577 102 31.069 100.5 33.5C102 32.5 111.5 25.167 114 23.667C118.5 23.667 119 23.667 120.5 23.667C120.5 24.7787 120.5 22.5 120.5 25C120.5 28 120.5 27.931 120.5 29.931C120.5 32.431 120.5 33.154 120.5 35.5C120.5 37.038 120.5 39 120.5 40.5C120.5 42.285 120.5 44 120.5 46C120.5 48.5 120.5 55 120.5 57.355H129.335V64.394H100.301ZM27.54 142V101.273H54.983V108.372H36.151V118.077H53.571V125.176H36.151V134.901H55.063V142H27.54ZM131.605 142V101.273H123.034V126.886H122.676L105.097 101.273H97.54V142H106.151V116.366H106.449L124.168 142H131.605Z'
/>
</svg>
);
}

View File

@@ -4,21 +4,19 @@ function B2EnglishIcon(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
viewBox='0 0 175 170'
fill='none'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path
fillRule='evenodd'
clipRule='evenodd'
d='M138 9H83V79.5H147V18C147 13 143 9 138 9ZM147 88.5H83V156H138C143 156 147 152 147 147V88.5ZM74 79.5V9H18C13 9 9 13 9 18V79.5H72H74ZM9 88.5H74V156H18C13 156 9 152 9 147V88.5ZM18 0C8.1 0 0 8.1 0 18V147C0 156.9 8.1 165 18 165H138C147.9 165 156 156.9 156 147V18C156 8.1 147.9 0 138 0H18ZM27.5 142V101.3H55V108.4H36.2V118.1H53.6V125.2H36.2V134.9H55.1V142H27.5ZM131.6 142V101.3H123V126.9H122.6L105 101.3H97.4V142H106V116.4H106.3L124 142H131.6ZM100.7 64.9V58.7L115.2 45.3C116.4 44.1 117.5 43 118.3 42.1C119.1 41.1 119.8 40.2 120.2 39.3C120.6 38.4 120.9 37.4 120.9 36.3C120.9 35.1 120.6 34.1 120.1 33.2C119.6 32.3 118.8 31.7 117.9 31.2C117 30.7 115.9 30.5 114.7 30.5C113.5 30.5 112.4 30.8 111.4 31.3C110.5 31.8 109.8 32.5 109.3 33.5C108.8 34.4 108.5 35.6 108.5 36.9H100.3C100.3 34.2 100.9 31.9 102.1 30C103.3 28 105 26.5 107.2 25.4C109.4 24.3 111.9 23.8 114.7 23.8C117.6 23.8 120.2 24.3 122.3 25.4C124.5 26.4 126.2 27.8 127.4 29.7C128.6 31.5 129.2 33.6 129.2 35.9C129.2 37.4 128.9 39 128.3 40.5C127.7 42 126.6 43.7 125.1 45.5C123.6 47.3 121.4 49.5 118.6 52L112.7 57.8V58.1H129.8V65.1H100.7V64.9ZM27.4 64.6H36V48.2H42.7C45.3 48.2 47.4 50.3 47.4 52.9C47.4 55.5 45.3 57.6 42.7 57.6H36V64.6H45.5C50.8 64.6 55.2 60.6 55.8 55.3C55.9 54.6 55.8 53.9 55.7 53.1L55.4 51.3C55.1 49.3 54 47.4 52.4 46.2L50.4 44.6L51.9 43.6C53.8 42.4 55.1 40.4 55.4 38.1L55.7 36.2C55.8 35.5 55.8 34.7 55.8 33.9C55.3 28.1 50.4 23.7 44.6 23.7H27.4V64.6ZM41.9 41.7C44.9 41.7 47.3 39.3 47.3 36.3C47.3 33.3 44.9 30.9 41.9 30.9H36V41.8H41.9V41.7Z'
/>
</svg>
</>
<svg
aria-hidden='true'
viewBox='0 0 175 170'
fill='none'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path
fillRule='evenodd'
clipRule='evenodd'
d='M138 9H83V79.5H147V18C147 13 143 9 138 9ZM147 88.5H83V156H138C143 156 147 152 147 147V88.5ZM74 79.5V9H18C13 9 9 13 9 18V79.5H72H74ZM9 88.5H74V156H18C13 156 9 152 9 147V88.5ZM18 0C8.1 0 0 8.1 0 18V147C0 156.9 8.1 165 18 165H138C147.9 165 156 156.9 156 147V18C156 8.1 147.9 0 138 0H18ZM27.5 142V101.3H55V108.4H36.2V118.1H53.6V125.2H36.2V134.9H55.1V142H27.5ZM131.6 142V101.3H123V126.9H122.6L105 101.3H97.4V142H106V116.4H106.3L124 142H131.6ZM100.7 64.9V58.7L115.2 45.3C116.4 44.1 117.5 43 118.3 42.1C119.1 41.1 119.8 40.2 120.2 39.3C120.6 38.4 120.9 37.4 120.9 36.3C120.9 35.1 120.6 34.1 120.1 33.2C119.6 32.3 118.8 31.7 117.9 31.2C117 30.7 115.9 30.5 114.7 30.5C113.5 30.5 112.4 30.8 111.4 31.3C110.5 31.8 109.8 32.5 109.3 33.5C108.8 34.4 108.5 35.6 108.5 36.9H100.3C100.3 34.2 100.9 31.9 102.1 30C103.3 28 105 26.5 107.2 25.4C109.4 24.3 111.9 23.8 114.7 23.8C117.6 23.8 120.2 24.3 122.3 25.4C124.5 26.4 126.2 27.8 127.4 29.7C128.6 31.5 129.2 33.6 129.2 35.9C129.2 37.4 128.9 39 128.3 40.5C127.7 42 126.6 43.7 125.1 45.5C123.6 47.3 121.4 49.5 118.6 52L112.7 57.8V58.1H129.8V65.1H100.7V64.9ZM27.4 64.6H36V48.2H42.7C45.3 48.2 47.4 50.3 47.4 52.9C47.4 55.5 45.3 57.6 42.7 57.6H36V64.6H45.5C50.8 64.6 55.2 60.6 55.8 55.3C55.9 54.6 55.8 53.9 55.7 53.1L55.4 51.3C55.1 49.3 54 47.4 52.4 46.2L50.4 44.6L51.9 43.6C53.8 42.4 55.1 40.4 55.4 38.1L55.7 36.2C55.8 35.5 55.8 34.7 55.8 33.9C55.3 28.1 50.4 23.7 44.6 23.7H27.4V64.6ZM41.9 41.7C44.9 41.7 47.3 39.3 47.3 36.3C47.3 33.3 44.9 30.9 41.9 30.9H36V41.8H41.9V41.7Z'
/>
</svg>
);
}

View File

@@ -4,20 +4,18 @@ function C1EnglishIcon(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
viewBox='0 0 175 170'
fill='none'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path
fillRule='evenodd'
clipRule='evenodd'
d='M138 9H83V79.476H147V18C147 13.029 142.971 9 138 9ZM147 88.476H83V156H138C142.971 156 147 151.971 147 147V88.476ZM74 79.476V9H18C13.029 9 9 13.029 9 18V79.476H72H74ZM9 88.476H74V156H18C13.029 156 9 151.971 9 147V88.476ZM18 0C8.059 0 0 8.059 0 18V147C0 156.941 8.059 165 18 165H138C147.941 165 156 156.941 156 147V18C156 8.059 147.941 0 138 0H18ZM27.54 48.434C27.54 57.2485 34.6855 64.394 43.5 64.394V64.394L46.331 64.1709C47.7603 64.0583 49.1486 63.6397 50.4019 62.9434L51.6206 62.2664C52.5288 61.7618 53.3133 61.0614 53.9172 60.2159L54.8378 58.927C55.2754 58.3145 55.5937 57.6251 55.7763 56.8948L56.1417 55.4332C56.3797 54.4813 56.5 53.5039 56.5 52.5227V49.5H50.5V50.5379C50.5 58.8752 38.9538 61.0218 35.9573 53.2416V53.2416C35.7683 52.751 35.6665 52.2311 35.6565 51.7054L35.5 43.5L35.6407 37.3508C35.6609 36.4689 35.9343 35.6114 36.4282 34.8806V34.8806C40.3476 29.0819 49.3494 31.1378 50.3629 38.063L50.5 39H56.5V36.6522C56.5 34.6005 55.8689 32.5984 54.6923 30.9176L53.4017 29.0738C53.1344 28.692 52.8343 28.3343 52.5047 28.0047L51.9111 27.4111C49.7233 25.2233 46.7702 23.9725 43.6765 23.9234V23.9234C34.8063 23.7824 27.54 30.9343 27.54 39.8056V48.434ZM100.301 64.394V57.355H111V45.5C111 44 111 39 111 37.5C111 38.661 111 36.2586 111 37.5C111 38.574 111 36.339 111 37.5C111 38.693 111 36.307 111 37.5C111 35.5 111 35.569 111 35C112.194 35 109.5 35 111 35C111 36 111 34.069 111 35C109.5 36 105 39 104 39.5C103.5 38.5 101 34.5 100.5 33.5C99.2921 35.4577 102 31.069 100.5 33.5C102 32.5 111.5 25.167 114 23.667C118.5 23.667 119 23.667 120.5 23.667C120.5 24.7787 120.5 22.5 120.5 25C120.5 28 120.5 27.931 120.5 29.931C120.5 32.431 120.5 33.154 120.5 35.5C120.5 37.038 120.5 39 120.5 40.5C120.5 42.285 120.5 44 120.5 46C120.5 48.5 120.5 55 120.5 57.355H129.335V64.394H100.301ZM27.54 142V101.273H54.983V108.372H36.151V118.077H53.571V125.176H36.151V134.901H55.063V142H27.54ZM131.605 142V101.273H123.034V126.886H122.676L105.097 101.273H97.54V142H106.151V116.366H106.449L124.168 142H131.605Z'
/>
</svg>
</>
<svg
viewBox='0 0 175 170'
fill='none'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path
fillRule='evenodd'
clipRule='evenodd'
d='M138 9H83V79.476H147V18C147 13.029 142.971 9 138 9ZM147 88.476H83V156H138C142.971 156 147 151.971 147 147V88.476ZM74 79.476V9H18C13.029 9 9 13.029 9 18V79.476H72H74ZM9 88.476H74V156H18C13.029 156 9 151.971 9 147V88.476ZM18 0C8.059 0 0 8.059 0 18V147C0 156.941 8.059 165 18 165H138C147.941 165 156 156.941 156 147V18C156 8.059 147.941 0 138 0H18ZM27.54 48.434C27.54 57.2485 34.6855 64.394 43.5 64.394V64.394L46.331 64.1709C47.7603 64.0583 49.1486 63.6397 50.4019 62.9434L51.6206 62.2664C52.5288 61.7618 53.3133 61.0614 53.9172 60.2159L54.8378 58.927C55.2754 58.3145 55.5937 57.6251 55.7763 56.8948L56.1417 55.4332C56.3797 54.4813 56.5 53.5039 56.5 52.5227V49.5H50.5V50.5379C50.5 58.8752 38.9538 61.0218 35.9573 53.2416V53.2416C35.7683 52.751 35.6665 52.2311 35.6565 51.7054L35.5 43.5L35.6407 37.3508C35.6609 36.4689 35.9343 35.6114 36.4282 34.8806V34.8806C40.3476 29.0819 49.3494 31.1378 50.3629 38.063L50.5 39H56.5V36.6522C56.5 34.6005 55.8689 32.5984 54.6923 30.9176L53.4017 29.0738C53.1344 28.692 52.8343 28.3343 52.5047 28.0047L51.9111 27.4111C49.7233 25.2233 46.7702 23.9725 43.6765 23.9234V23.9234C34.8063 23.7824 27.54 30.9343 27.54 39.8056V48.434ZM100.301 64.394V57.355H111V45.5C111 44 111 39 111 37.5C111 38.661 111 36.2586 111 37.5C111 38.574 111 36.339 111 37.5C111 38.693 111 36.307 111 37.5C111 35.5 111 35.569 111 35C112.194 35 109.5 35 111 35C111 36 111 34.069 111 35C109.5 36 105 39 104 39.5C103.5 38.5 101 34.5 100.5 33.5C99.2921 35.4577 102 31.069 100.5 33.5C102 32.5 111.5 25.167 114 23.667C118.5 23.667 119 23.667 120.5 23.667C120.5 24.7787 120.5 22.5 120.5 25C120.5 28 120.5 27.931 120.5 29.931C120.5 32.431 120.5 33.154 120.5 35.5C120.5 37.038 120.5 39 120.5 40.5C120.5 42.285 120.5 44 120.5 46C120.5 48.5 120.5 55 120.5 57.355H129.335V64.394H100.301ZM27.54 142V101.273H54.983V108.372H36.151V118.077H53.571V125.176H36.151V134.901H55.063V142H27.54ZM131.605 142V101.273H123.034V126.886H122.676L105.097 101.273H97.54V142H106.151V116.366H106.449L124.168 142H131.605Z'
/>
</svg>
);
}

View File

@@ -4,21 +4,19 @@ function C2EnglishIcon(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
viewBox='0 0 175 170'
fill='none'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path
fillRule='evenodd'
clipRule='evenodd'
d='M138 9H83V79.5H147V18C147 13 143 9 138 9ZM147 88.5H83V156H138C143 156 147 152 147 147V88.5ZM74 79.5V9H18C13 9 9 13 9 18V79.5H72H74ZM9 88.5H74V156H18C13 156 9 152 9 147V88.5ZM18 0C8.1 0 0 8.1 0 18V147C0 156.9 8.1 165 18 165H138C147.9 165 156 156.9 156 147V18C156 8.1 147.9 0 138 0H18ZM27.5 48.4C27.5 57.2 34.6 64.4 43.5 64.4L46.3 64.2C47.7 64.1 49.1 63.7 50.4 63L51.6 62.3C52.5 61.8 53.3 61.1 53.9 60.2L54.8 58.9C55.2 58.3 55.6 57.6 55.7 56.9L56.1 55.4C56.3 54.4 56.5 53.5 56.5 52.5V49.5H50.5V50.5C50.5 58.9 39 61 36 53.2C35.8 52.7 35.7 52.2 35.7 51.7L35.5 43.5L35.6 37.4C35.6 36.5 35.9 35.7 36.4 34.9C40.3 29.1 49.3 31.2 50.3 38.1L50.4 39H56.4V36.7C56.4 34.6 55.8 32.6 54.6 31L53.3 29.2C53 28.8 52.7 28.5 52.4 28.1L51.8 27.5C49.6 25.3 46.7 24.1 43.6 24C34.7 23.9 27.5 31 27.5 39.9V48.4ZM27.5 142V101.3H55V108.4H36.2V118.1H53.6V125.2H36.2V134.9H55.1V142H27.5ZM131.6 142V101.3H123V126.9H122.6L105 101.3H97.4V142H106V116.4H106.3L124 142H131.6ZM100.7 64.9V58.7L115.2 45.3C116.4 44.1 117.5 43 118.3 42.1C119.1 41.1 119.8 40.2 120.2 39.3C120.6 38.4 120.9 37.4 120.9 36.3C120.9 35.1 120.6 34.1 120.1 33.2C119.6 32.3 118.8 31.7 117.9 31.2C117 30.7 115.9 30.5 114.7 30.5C113.5 30.5 112.4 30.8 111.4 31.3C110.5 31.8 109.8 32.5 109.3 33.5C108.8 34.4 108.5 35.6 108.5 36.9H100.3C100.3 34.2 100.9 31.9 102.1 30C103.3 28 105 26.5 107.2 25.4C109.4 24.3 111.9 23.8 114.7 23.8C117.6 23.8 120.2 24.3 122.3 25.4C124.5 26.4 126.2 27.8 127.4 29.7C128.6 31.5 129.2 33.6 129.2 35.9C129.2 37.4 128.9 39 128.3 40.5C127.7 42 126.6 43.7 125.1 45.5C123.6 47.3 121.4 49.5 118.6 52L112.7 57.8V58.1H129.8V65.1H100.7V64.9Z'
/>
</svg>
</>
<svg
aria-hidden='true'
viewBox='0 0 175 170'
fill='none'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path
fillRule='evenodd'
clipRule='evenodd'
d='M138 9H83V79.5H147V18C147 13 143 9 138 9ZM147 88.5H83V156H138C143 156 147 152 147 147V88.5ZM74 79.5V9H18C13 9 9 13 9 18V79.5H72H74ZM9 88.5H74V156H18C13 156 9 152 9 147V88.5ZM18 0C8.1 0 0 8.1 0 18V147C0 156.9 8.1 165 18 165H138C147.9 165 156 156.9 156 147V18C156 8.1 147.9 0 138 0H18ZM27.5 48.4C27.5 57.2 34.6 64.4 43.5 64.4L46.3 64.2C47.7 64.1 49.1 63.7 50.4 63L51.6 62.3C52.5 61.8 53.3 61.1 53.9 60.2L54.8 58.9C55.2 58.3 55.6 57.6 55.7 56.9L56.1 55.4C56.3 54.4 56.5 53.5 56.5 52.5V49.5H50.5V50.5C50.5 58.9 39 61 36 53.2C35.8 52.7 35.7 52.2 35.7 51.7L35.5 43.5L35.6 37.4C35.6 36.5 35.9 35.7 36.4 34.9C40.3 29.1 49.3 31.2 50.3 38.1L50.4 39H56.4V36.7C56.4 34.6 55.8 32.6 54.6 31L53.3 29.2C53 28.8 52.7 28.5 52.4 28.1L51.8 27.5C49.6 25.3 46.7 24.1 43.6 24C34.7 23.9 27.5 31 27.5 39.9V48.4ZM27.5 142V101.3H55V108.4H36.2V118.1H53.6V125.2H36.2V134.9H55.1V142H27.5ZM131.6 142V101.3H123V126.9H122.6L105 101.3H97.4V142H106V116.4H106.3L124 142H131.6ZM100.7 64.9V58.7L115.2 45.3C116.4 44.1 117.5 43 118.3 42.1C119.1 41.1 119.8 40.2 120.2 39.3C120.6 38.4 120.9 37.4 120.9 36.3C120.9 35.1 120.6 34.1 120.1 33.2C119.6 32.3 118.8 31.7 117.9 31.2C117 30.7 115.9 30.5 114.7 30.5C113.5 30.5 112.4 30.8 111.4 31.3C110.5 31.8 109.8 32.5 109.3 33.5C108.8 34.4 108.5 35.6 108.5 36.9H100.3C100.3 34.2 100.9 31.9 102.1 30C103.3 28 105 26.5 107.2 25.4C109.4 24.3 111.9 23.8 114.7 23.8C117.6 23.8 120.2 24.3 122.3 25.4C124.5 26.4 126.2 27.8 127.4 29.7C128.6 31.5 129.2 33.6 129.2 35.9C129.2 37.4 128.9 39 128.3 40.5C127.7 42 126.6 43.7 125.1 45.5C123.6 47.3 121.4 49.5 118.6 52L112.7 57.8V58.1H129.8V65.1H100.7V64.9Z'
/>
</svg>
);
}

View File

@@ -4,16 +4,14 @@ function Clipboard(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
viewBox='0 0 384 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M126.2 286.4l64.2-63.6c2.1-2.1 2.1-5.5 0-7.6l-12.6-12.7c-2.1-2.1-5.5-2.1-7.6 0l-47.6 47.2-20.6-20.9c-2.1-2.1-5.5-2.1-7.6 0l-12.7 12.6c-2.1 2.1-2.1 5.5 0 7.6l37.1 37.4c1.9 2.1 5.3 2.1 7.4 0zM336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM192 48c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16zm144 408c0 4.4-3.6 8-8 8H56c-4.4 0-8-3.6-8-8V120c0-4.4 3.6-8 8-8h40v32c0 8.8 7.2 16 16 16h160c8.8 0 16-7.2 16-16v-32h40c4.4 0 8 3.6 8 8v336zM112 328c-13.3 0-24 10.7-24 24s10.7 24 24 24 24-10.7 24-24-10.7-24-24-24zm168-88h-63.3c-1.3 1.8-2.1 3.9-3.7 5.5L186.2 272H280c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8zm0 96H168c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8z' />
</svg>
</>
<svg
aria-hidden='true'
viewBox='0 0 384 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M126.2 286.4l64.2-63.6c2.1-2.1 2.1-5.5 0-7.6l-12.6-12.7c-2.1-2.1-5.5-2.1-7.6 0l-47.6 47.2-20.6-20.9c-2.1-2.1-5.5-2.1-7.6 0l-12.7 12.6c-2.1 2.1-2.1 5.5 0 7.6l37.1 37.4c1.9 2.1 5.3 2.1 7.4 0zM336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM192 48c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16zm144 408c0 4.4-3.6 8-8 8H56c-4.4 0-8-3.6-8-8V120c0-4.4 3.6-8 8-8h40v32c0 8.8 7.2 16 16 16h160c8.8 0 16-7.2 16-16v-32h40c4.4 0 8 3.6 8 8v336zM112 328c-13.3 0-24 10.7-24 24s10.7 24 24 24 24-10.7 24-24-10.7-24-24-24zm168-88h-63.3c-1.3 1.8-2.1 3.9-3.7 5.5L186.2 272H280c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8zm0 96H168c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8z' />
</svg>
);
}

View File

@@ -4,16 +4,14 @@ function ClosedCaptionsIcon(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
xmlns='http://www.w3.org/2000/svg'
viewBox='0 0 256 256'
fill={props.fill || 'var(--gray-00)'}
>
<rect width='256' height='256' fill='none' />
<path d='M216,40H40A16.01833,16.01833,0,0,0,24,56V200a16.01833,16.01833,0,0,0,16,16H216a16.01833,16.01833,0,0,0,16-16V56A16.01833,16.01833,0,0,0,216,40ZM96,148a19.85259,19.85259,0,0,0,14.28613-6.00293,7.99956,7.99956,0,0,1,11.42774,11.19727,36,36,0,1,1,0-50.38868,7.99956,7.99956,0,0,1-11.42774,11.19727A20.00012,20.00012,0,1,0,96,148Zm72,0a19.85259,19.85259,0,0,0,14.28613-6.00293,7.99956,7.99956,0,0,1,11.42774,11.19727,36,36,0,1,1,0-50.38868,7.99956,7.99956,0,0,1-11.42774,11.19727A20.00012,20.00012,0,1,0,168,148Z' />
</svg>
</>
<svg
xmlns='http://www.w3.org/2000/svg'
viewBox='0 0 256 256'
fill={props.fill || 'var(--gray-00)'}
>
<rect width='256' height='256' fill='none' />
<path d='M216,40H40A16.01833,16.01833,0,0,0,24,56V200a16.01833,16.01833,0,0,0,16,16H216a16.01833,16.01833,0,0,0,16-16V56A16.01833,16.01833,0,0,0,216,40ZM96,148a19.85259,19.85259,0,0,0,14.28613-6.00293,7.99956,7.99956,0,0,1,11.42774,11.19727,36,36,0,1,1,0-50.38868,7.99956,7.99956,0,0,1-11.42774,11.19727A20.00012,20.00012,0,1,0,96,148Zm72,0a19.85259,19.85259,0,0,0,14.28613-6.00293,7.99956,7.99956,0,0,1,11.42774,11.19727,36,36,0,1,1,0-50.38868,7.99956,7.99956,0,0,1-11.42774,11.19727A20.00012,20.00012,0,1,0,168,148Z' />
</svg>
);
}

View File

@@ -4,16 +4,14 @@ function Code(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
xmlns='http://www.w3.org/2000/svg'
viewBox='0 0 640 512'
fill='none'
{...props}
>
<path d='M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z' />
</svg>
</>
<svg
xmlns='http://www.w3.org/2000/svg'
viewBox='0 0 640 512'
fill='none'
{...props}
>
<path d='M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z' />
</svg>
);
}

View File

@@ -4,16 +4,14 @@ function CollegeAlgebra(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
viewBox='0 0 640 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M289 24.2C292.5 10 305.3 0 320 0H544c17.7 0 32 14.3 32 32s-14.3 32-32 32H345L239 487.8c-3.2 13-14.2 22.6-27.6 24s-26.1-5.5-32.1-17.5L76.2 288H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96c12.1 0 23.2 6.8 28.6 17.7l73.3 146.6L289 24.2zM393.4 233.4c12.5-12.5 32.8-12.5 45.3 0L480 274.7l41.4-41.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L525.3 320l41.4 41.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L480 365.3l-41.4 41.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L434.7 320l-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3z' />
</svg>
</>
<svg
aria-hidden='true'
viewBox='0 0 640 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M289 24.2C292.5 10 305.3 0 320 0H544c17.7 0 32 14.3 32 32s-14.3 32-32 32H345L239 487.8c-3.2 13-14.2 22.6-27.6 24s-26.1-5.5-32.1-17.5L76.2 288H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96c12.1 0 23.2 6.8 28.6 17.7l73.3 146.6L289 24.2zM393.4 233.4c12.5-12.5 32.8-12.5 45.3 0L480 274.7l41.4-41.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L525.3 320l41.4 41.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L480 365.3l-41.4 41.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L434.7 320l-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3z' />
</svg>
);
}

View File

@@ -4,16 +4,14 @@ function D3Icon(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
viewBox='-10 -10 116 111'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M0 0h7.75a45.5 45.5 0 110 91H0V71h7.75a25.5 25.5 0 100-51H0zm36.251 0h32a27.75 27.75 0 0121.331 45.5A27.75 27.75 0 0168.251 91h-32a53.69 53.69 0 0018.746-20H68.25a7.75 7.75 0 100-15.5H60.5a53.69 53.69 0 000-20h7.75a7.75 7.75 0 100-15.5H54.997A53.69 53.69 0 0036.251 0z' />
</svg>
</>
<svg
aria-hidden='true'
viewBox='-10 -10 116 111'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M0 0h7.75a45.5 45.5 0 110 91H0V71h7.75a25.5 25.5 0 100-51H0zm36.251 0h32a27.75 27.75 0 0121.331 45.5A27.75 27.75 0 0168.251 91h-32a53.69 53.69 0 0018.746-20H68.25a7.75 7.75 0 100-15.5H60.5a53.69 53.69 0 000-20h7.75a7.75 7.75 0 100-15.5H54.997A53.69 53.69 0 0036.251 0z' />
</svg>
);
}

View File

@@ -4,16 +4,14 @@ function DatabaseIcon(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
viewBox='0 0 448 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M448 73.143v45.714C448 159.143 347.667 192 224 192S0 159.143 0 118.857V73.143C0 32.857 100.333 0 224 0s224 32.857 224 73.143zM448 176v102.857C448 319.143 347.667 352 224 352S0 319.143 0 278.857V176c48.125 33.143 136.208 48.572 224 48.572S399.874 209.143 448 176zm0 160v102.857C448 479.143 347.667 512 224 512S0 479.143 0 438.857V336c48.125 33.143 136.208 48.572 224 48.572S399.874 369.143 448 336z' />
</svg>
</>
<svg
aria-hidden='true'
viewBox='0 0 448 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M448 73.143v45.714C448 159.143 347.667 192 224 192S0 159.143 0 118.857V73.143C0 32.857 100.333 0 224 0s224 32.857 224 73.143zM448 176v102.857C448 319.143 347.667 352 224 352S0 319.143 0 278.857V176c48.125 33.143 136.208 48.572 224 48.572S399.874 209.143 448 176zm0 160v102.857C448 479.143 347.667 512 224 512S0 479.143 0 438.857V336c48.125 33.143 136.208 48.572 224 48.572S399.874 369.143 448 336z' />
</svg>
);
}

View File

@@ -4,19 +4,17 @@ function Graduation(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
xmlns='http://www.w3.org/2000/svg'
height='60'
width='60'
version='1.1'
viewBox='0 0 245.827 245.827'
{...props}
>
<path d='M223.336,148.384l-0.137-23.527l22.628-12.662L122.576,47.195L0,113.495l49.144,28.216 l0.098,16.766l0.01,1.339l0.449-0.215c-0.518,0.703-0.85,1.426-0.84,2.149c0.039,8.246,33.326,14.772,74.41,14.548 c41.064-0.215,74.302-7.122,74.273-15.349c0-0.723-0.381-1.426-0.889-2.149l0.449,0.215v-1.339l-0.088-16.834l21.309-13.258 l0.117,20.83c-2.345,1.006-3.976,3.312-3.957,6.009c0.02,3.537,2.892,6.399,6.458,6.37c3.586-0.02,6.429-2.912,6.409-6.439 C227.332,151.657,225.691,149.371,223.336,148.384z M123.241,170.621c-36.452,0.205-66.017-3.801-66.046-8.91 c-0.029-5.11,29.496-9.399,65.949-9.585c36.462-0.205,66.017,3.781,66.037,8.881 C189.209,166.098,159.703,170.426,123.241,170.621z M195.335,127.183c-4.934-5.188-22.618-18.886-72.426-18.602 c-49.877,0.264-67.336,14.128-72.211,19.394l-0.029-4.963c0,0,14.147-21.524,72.202-21.827 c58.025-0.313,72.436,21.045,72.436,21.045L195.335,127.183z M215.755,162.199l-2.511,36.433 c7.767-12.203,14.255-7.66,14.255-7.66l-0.156-28.832C218.998,165.414,215.755,162.199,215.755,162.199z' />
</svg>
</>
<svg
aria-hidden='true'
xmlns='http://www.w3.org/2000/svg'
height='60'
width='60'
version='1.1'
viewBox='0 0 245.827 245.827'
{...props}
>
<path d='M223.336,148.384l-0.137-23.527l22.628-12.662L122.576,47.195L0,113.495l49.144,28.216 l0.098,16.766l0.01,1.339l0.449-0.215c-0.518,0.703-0.85,1.426-0.84,2.149c0.039,8.246,33.326,14.772,74.41,14.548 c41.064-0.215,74.302-7.122,74.273-15.349c0-0.723-0.381-1.426-0.889-2.149l0.449,0.215v-1.339l-0.088-16.834l21.309-13.258 l0.117,20.83c-2.345,1.006-3.976,3.312-3.957,6.009c0.02,3.537,2.892,6.399,6.458,6.37c3.586-0.02,6.429-2.912,6.409-6.439 C227.332,151.657,225.691,149.371,223.336,148.384z M123.241,170.621c-36.452,0.205-66.017-3.801-66.046-8.91 c-0.029-5.11,29.496-9.399,65.949-9.585c36.462-0.205,66.017,3.781,66.037,8.881 C189.209,166.098,159.703,170.426,123.241,170.621z M195.335,127.183c-4.934-5.188-22.618-18.886-72.426-18.602 c-49.877,0.264-67.336,14.128-72.211,19.394l-0.029-4.963c0,0,14.147-21.524,72.202-21.827 c58.025-0.313,72.436,21.045,72.436,21.045L195.335,127.183z M215.755,162.199l-2.511,36.433 c7.767-12.203,14.255-7.66,14.255-7.66l-0.156-28.832C218.998,165.414,215.755,162.199,215.755,162.199z' />
</svg>
);
}

View File

@@ -10,49 +10,47 @@ function GreenPass(props: GreenPassProps): JSX.Element {
const { t } = useTranslation();
const { hushScreenReaderText = false, ...rest } = props;
return (
<>
<svg
{...(hushScreenReaderText && { 'aria-hidden': true })}
{...(!hushScreenReaderText && { 'aria-label': t('icons.passed') })}
height='15'
viewBox='0 0 200 200'
width='15'
xmlns='http://www.w3.org/2000/svg'
{...rest}
>
<g aria-hidden='true'>
<title>{t('icons.passed')}</title>
<circle
cx='100'
cy='99'
fill='var(--primary-color)'
r='95'
stroke='var(--primary-color)'
strokeDasharray='null'
/>
<rect
fill='var(--primary-background)'
height='30'
stroke='var(--primary-background)'
strokeDasharray='null'
transform='rotate(-45, 120, 106.321)'
width='128.85878'
x='55.57059'
y='91.32089'
/>
<rect
fill='var(--primary-background)'
height='30'
stroke='var(--primary-background)'
strokeDasharray='null'
transform='rotate(45, 66.75, 123.75)'
width='80.66548'
x='26.41726'
y='108.75'
/>
</g>
</svg>
</>
<svg
{...(hushScreenReaderText && { 'aria-hidden': true })}
{...(!hushScreenReaderText && { 'aria-label': t('icons.passed') })}
height='15'
viewBox='0 0 200 200'
width='15'
xmlns='http://www.w3.org/2000/svg'
{...rest}
>
<g aria-hidden='true'>
<title>{t('icons.passed')}</title>
<circle
cx='100'
cy='99'
fill='var(--primary-color)'
r='95'
stroke='var(--primary-color)'
strokeDasharray='null'
/>
<rect
fill='var(--primary-background)'
height='30'
stroke='var(--primary-background)'
strokeDasharray='null'
transform='rotate(-45, 120, 106.321)'
width='128.85878'
x='55.57059'
y='91.32089'
/>
<rect
fill='var(--primary-background)'
height='30'
stroke='var(--primary-background)'
strokeDasharray='null'
transform='rotate(45, 66.75, 123.75)'
width='80.66548'
x='26.41726'
y='108.75'
/>
</g>
</svg>
);
}

View File

@@ -4,16 +4,14 @@ function JavaScriptIcon(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
viewBox='0 0 448 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M0 32v448h448V32H0zm243.8 349.4c0 43.6-25.6 63.5-62.9 63.5-33.7 0-53.2-17.4-63.2-38.5l34.3-20.7c6.6 11.7 12.6 21.6 27.1 21.6 13.8 0 22.6-5.4 22.6-26.5V237.7h42.1v143.7zm99.6 63.5c-39.1 0-64.4-18.6-76.7-43l34.3-19.8c9 14.7 20.8 25.6 41.5 25.6 17.4 0 28.6-8.7 28.6-20.8 0-14.4-11.4-19.5-30.7-28l-10.5-4.5c-30.4-12.9-50.5-29.2-50.5-63.5 0-31.6 24.1-55.6 61.6-55.6 26.8 0 46 9.3 59.8 33.7L368 290c-7.2-12.9-15-18-27.1-18-12.3 0-20.1 7.8-20.1 18 0 12.6 7.8 17.7 25.9 25.6l10.5 4.5c35.8 15.3 55.9 31 55.9 66.2 0 37.8-29.8 58.6-69.7 58.6z' />
</svg>
</>
<svg
aria-hidden='true'
viewBox='0 0 448 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M0 32v448h448V32H0zm243.8 349.4c0 43.6-25.6 63.5-62.9 63.5-33.7 0-53.2-17.4-63.2-38.5l34.3-20.7c6.6 11.7 12.6 21.6 27.1 21.6 13.8 0 22.6-5.4 22.6-26.5V237.7h42.1v143.7zm99.6 63.5c-39.1 0-64.4-18.6-76.7-43l34.3-19.8c9 14.7 20.8 25.6 41.5 25.6 17.4 0 28.6-8.7 28.6-20.8 0-14.4-11.4-19.5-30.7-28l-10.5-4.5c-30.4-12.9-50.5-29.2-50.5-63.5 0-31.6 24.1-55.6 61.6-55.6 26.8 0 46 9.3 59.8 33.7L368 290c-7.2-12.9-15-18-27.1-18-12.3 0-20.1 7.8-20.1 18 0 12.6 7.8 17.7 25.9 25.6l10.5 4.5c35.8 15.3 55.9 31 55.9 66.2 0 37.8-29.8 58.6-69.7 58.6z' />
</svg>
);
}

View File

@@ -7,35 +7,33 @@ function LightBulb(
const { t } = useTranslation();
return (
<>
<svg
xmlns='http://www.w3.org/2000/svg'
width='50'
height='50'
viewBox='0 0 50 50'
fill='none'
{...props}
>
<g aria-hidden='true'>
<title>{t('icons.hint')}</title>
<svg
xmlns='http://www.w3.org/2000/svg'
width='50'
height='50'
viewBox='0 0 50 50'
fill='none'
{...props}
>
<g aria-hidden='true'>
<title>{t('icons.hint')}</title>
<path
d='M25 48.5C38.1168 48.5 48.75 37.8668 48.75 24.75C48.75 11.6332 38.1168 1 25 1C11.8832 1 1.25 11.6332 1.25 24.75C1.25 37.8668 11.8832 48.5 25 48.5Z'
fill='var(--primary-color)'
stroke='var(--primary-color)'
strokeWidth='0.25'
/>
<path
d='M31.3494 27.9901C33.0751 26.3241 35 24.4657 35 19.5C35 14 30.2467 10 25 10C19.7533 10 15 14 15 19.5C15 24.5098 16.6928 26.3561 18.2307 28.0335C19.4555 29.3695 20.0464 30.4781 20.1412 33.1128C23.0869 33.1553 26.0383 33.1713 28.9835 33.1128C28.9835 30.45 29.9475 29.3436 31.3494 27.9901Z'
fill='var(--primary-background)'
/>
<path
d='M20.1247 35.2025H28.9835C28.9835 35.2025 28.7011 38.7811 28.4835 39.2025C28.1437 39.8603 26.9835 41.7025 24.5404 41.7025C21.4835 41.7025 20.8417 39.8603 20.4835 39.2025C20.254 38.7811 20.1247 35.2025 20.1247 35.2025Z'
fill='var(--primary-background)'
/>
</g>
</svg>
</>
<path
d='M25 48.5C38.1168 48.5 48.75 37.8668 48.75 24.75C48.75 11.6332 38.1168 1 25 1C11.8832 1 1.25 11.6332 1.25 24.75C1.25 37.8668 11.8832 48.5 25 48.5Z'
fill='var(--primary-color)'
stroke='var(--primary-color)'
strokeWidth='0.25'
/>
<path
d='M31.3494 27.9901C33.0751 26.3241 35 24.4657 35 19.5C35 14 30.2467 10 25 10C19.7533 10 15 14 15 19.5C15 24.5098 16.6928 26.3561 18.2307 28.0335C19.4555 29.3695 20.0464 30.4781 20.1412 33.1128C23.0869 33.1553 26.0383 33.1713 28.9835 33.1128C28.9835 30.45 29.9475 29.3436 31.3494 27.9901Z'
fill='var(--primary-background)'
/>
<path
d='M20.1247 35.2025H28.9835C28.9835 35.2025 28.7011 38.7811 28.4835 39.2025C28.1437 39.8603 26.9835 41.7025 24.5404 41.7025C21.4835 41.7025 20.8417 39.8603 20.4835 39.2025C20.254 38.7811 20.1247 35.2025 20.1247 35.2025Z'
fill='var(--primary-background)'
/>
</g>
</svg>
);
}

View File

@@ -4,16 +4,14 @@ function PythonIcon(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
viewBox='0 0 448 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M439.8 200.5c-7.7-30.9-22.3-54.2-53.4-54.2h-40.1v47.4c0 36.8-31.2 67.8-66.8 67.8H172.7c-29.2 0-53.4 25-53.4 54.3v101.8c0 29 25.2 46 53.4 54.3 33.8 9.9 66.3 11.7 106.8 0 26.9-7.8 53.4-23.5 53.4-54.3v-40.7H226.2v-13.6h160.2c31.1 0 42.6-21.7 53.4-54.2 11.2-33.5 10.7-65.7 0-108.6zM286.2 404c11.1 0 20.1 9.1 20.1 20.3 0 11.3-9 20.4-20.1 20.4-11 0-20.1-9.2-20.1-20.4.1-11.3 9.1-20.3 20.1-20.3zM167.8 248.1h106.8c29.7 0 53.4-24.5 53.4-54.3V91.9c0-29-24.4-50.7-53.4-55.6-35.8-5.9-74.7-5.6-106.8.1-45.2 8-53.4 24.7-53.4 55.6v40.7h106.9v13.6h-147c-31.1 0-58.3 18.7-66.8 54.2-9.8 40.7-10.2 66.1 0 108.6 7.6 31.6 25.7 54.2 56.8 54.2H101v-48.8c0-35.3 30.5-66.4 66.8-66.4zm-6.7-142.6c-11.1 0-20.1-9.1-20.1-20.3.1-11.3 9-20.4 20.1-20.4 11 0 20.1 9.2 20.1 20.4s-9 20.3-20.1 20.3z' />
</svg>
</>
<svg
aria-hidden='true'
viewBox='0 0 448 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M439.8 200.5c-7.7-30.9-22.3-54.2-53.4-54.2h-40.1v47.4c0 36.8-31.2 67.8-66.8 67.8H172.7c-29.2 0-53.4 25-53.4 54.3v101.8c0 29 25.2 46 53.4 54.3 33.8 9.9 66.3 11.7 106.8 0 26.9-7.8 53.4-23.5 53.4-54.3v-40.7H226.2v-13.6h160.2c31.1 0 42.6-21.7 53.4-54.2 11.2-33.5 10.7-65.7 0-108.6zM286.2 404c11.1 0 20.1 9.1 20.1 20.3 0 11.3-9 20.4-20.1 20.4-11 0-20.1-9.2-20.1-20.4.1-11.3 9.1-20.3 20.1-20.3zM167.8 248.1h106.8c29.7 0 53.4-24.5 53.4-54.3V91.9c0-29-24.4-50.7-53.4-55.6-35.8-5.9-74.7-5.6-106.8.1-45.2 8-53.4 24.7-53.4 55.6v40.7h106.9v13.6h-147c-31.1 0-58.3 18.7-66.8 54.2-9.8 40.7-10.2 66.1 0 108.6 7.6 31.6 25.7 54.2 56.8 54.2H101v-48.8c0-35.3 30.5-66.4 66.8-66.4zm-6.7-142.6c-11.1 0-20.1-9.1-20.1-20.3.1-11.3 9-20.4 20.1-20.4 11 0 20.1 9.2 20.1 20.4s-9 20.3-20.1 20.3z' />
</svg>
);
}

View File

@@ -4,30 +4,28 @@ function Quote(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
xmlns='http://www.w3.org/2000/svg'
width='50'
height='50'
viewBox='0 0 50 50'
fill='none'
{...props}
>
<path
d='M25 48.5C38.1168 48.5 48.75 37.8668 48.75 24.75C48.75 11.6332 38.1168 1 25 1C11.8832 1 1.25 11.6332 1.25 24.75C1.25 37.8668 11.8832 48.5 25 48.5Z'
fill='var(--primary-color)'
stroke='var(--primary-color)'
/>
<path
d='M11 35.9837C13.7505 34.1517 16.501 32.3197 16.5032 25.0085C15.6296 24.9918 11.9169 24.9918 11 24.9918C11 24.0759 11.0181 15.3097 11 14H22V25.0085C22 36.8997 11 35.9837 11 35.9837Z'
fill='var(--primary-background)'
/>
<path
d='M29 35.9837C31.7505 34.1517 34.501 32.3197 34.5032 25.0084C33.6296 24.9919 29.9168 24.9919 29 24.9919C29 24.0759 29.018 15.3097 29 14H40V25.0084C40 36.8997 29 35.9837 29 35.9837Z'
fill='var(--primary-background)'
/>
</svg>
</>
<svg
xmlns='http://www.w3.org/2000/svg'
width='50'
height='50'
viewBox='0 0 50 50'
fill='none'
{...props}
>
<path
d='M25 48.5C38.1168 48.5 48.75 37.8668 48.75 24.75C48.75 11.6332 38.1168 1 25 1C11.8832 1 1.25 11.6332 1.25 24.75C1.25 37.8668 11.8832 48.5 25 48.5Z'
fill='var(--primary-color)'
stroke='var(--primary-color)'
/>
<path
d='M11 35.9837C13.7505 34.1517 16.501 32.3197 16.5032 25.0085C15.6296 24.9918 11.9169 24.9918 11 24.9918C11 24.0759 11.0181 15.3097 11 14H22V25.0085C22 36.8997 11 35.9837 11 35.9837Z'
fill='var(--primary-background)'
/>
<path
d='M29 35.9837C31.7505 34.1517 34.501 32.3197 34.5032 25.0084C33.6296 24.9919 29.9168 24.9919 29 24.9919C29 24.0759 29.018 15.3097 29 14H40V25.0084C40 36.8997 29 35.9837 29 35.9837Z'
fill='var(--primary-background)'
/>
</svg>
);
}

View File

@@ -4,16 +4,14 @@ function ReactIcon(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
viewBox='0 0 512 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M418.2 177.2c-5.4-1.8-10.8-3.5-16.2-5.1.9-3.7 1.7-7.4 2.5-11.1 12.3-59.6 4.2-107.5-23.1-123.3-26.3-15.1-69.2.6-112.6 38.4-4.3 3.7-8.5 7.6-12.5 11.5-2.7-2.6-5.5-5.2-8.3-7.7-45.5-40.4-91.1-57.4-118.4-41.5-26.2 15.2-34 60.3-23 116.7 1.1 5.6 2.3 11.1 3.7 16.7-6.4 1.8-12.7 3.8-18.6 5.9C38.3 196.2 0 225.4 0 255.6c0 31.2 40.8 62.5 96.3 81.5 4.5 1.5 9 3 13.6 4.3-1.5 6-2.8 11.9-4 18-10.5 55.5-2.3 99.5 23.9 114.6 27 15.6 72.4-.4 116.6-39.1 3.5-3.1 7-6.3 10.5-9.7 4.4 4.3 9 8.4 13.6 12.4 42.8 36.8 85.1 51.7 111.2 36.6 27-15.6 35.8-62.9 24.4-120.5-.9-4.4-1.9-8.9-3-13.5 3.2-.9 6.3-1.9 9.4-2.9 57.7-19.1 99.5-50 99.5-81.7 0-30.3-39.4-59.7-93.8-78.4zM282.9 92.3c37.2-32.4 71.9-45.1 87.7-36 16.9 9.7 23.4 48.9 12.8 100.4-.7 3.4-1.4 6.7-2.3 10-22.2-5-44.7-8.6-67.3-10.6-13-18.6-27.2-36.4-42.6-53.1 3.9-3.7 7.7-7.2 11.7-10.7zM167.2 307.5c5.1 8.7 10.3 17.4 15.8 25.9-15.6-1.7-31.1-4.2-46.4-7.5 4.4-14.4 9.9-29.3 16.3-44.5 4.6 8.8 9.3 17.5 14.3 26.1zm-30.3-120.3c14.4-3.2 29.7-5.8 45.6-7.8-5.3 8.3-10.5 16.8-15.4 25.4-4.9 8.5-9.7 17.2-14.2 26-6.3-14.9-11.6-29.5-16-43.6zm27.4 68.9c6.6-13.8 13.8-27.3 21.4-40.6s15.8-26.2 24.4-38.9c15-1.1 30.3-1.7 45.9-1.7s31 .6 45.9 1.7c8.5 12.6 16.6 25.5 24.3 38.7s14.9 26.7 21.7 40.4c-6.7 13.8-13.9 27.4-21.6 40.8-7.6 13.3-15.7 26.2-24.2 39-14.9 1.1-30.4 1.6-46.1 1.6s-30.9-.5-45.6-1.4c-8.7-12.7-16.9-25.7-24.6-39s-14.8-26.8-21.5-40.6zm180.6 51.2c5.1-8.8 9.9-17.7 14.6-26.7 6.4 14.5 12 29.2 16.9 44.3-15.5 3.5-31.2 6.2-47 8 5.4-8.4 10.5-17 15.5-25.6zm14.4-76.5c-4.7-8.8-9.5-17.6-14.5-26.2-4.9-8.5-10-16.9-15.3-25.2 16.1 2 31.5 4.7 45.9 8-4.6 14.8-10 29.2-16.1 43.4zM256.2 118.3c10.5 11.4 20.4 23.4 29.6 35.8-19.8-.9-39.7-.9-59.5 0 9.8-12.9 19.9-24.9 29.9-35.8zM140.2 57c16.8-9.8 54.1 4.2 93.4 39 2.5 2.2 5 4.6 7.6 7-15.5 16.7-29.8 34.5-42.9 53.1-22.6 2-45 5.5-67.2 10.4-1.3-5.1-2.4-10.3-3.5-15.5-9.4-48.4-3.2-84.9 12.6-94zm-24.5 263.6c-4.2-1.2-8.3-2.5-12.4-3.9-21.3-6.7-45.5-17.3-63-31.2-10.1-7-16.9-17.8-18.8-29.9 0-18.3 31.6-41.7 77.2-57.6 5.7-2 11.5-3.8 17.3-5.5 6.8 21.7 15 43 24.5 63.6-9.6 20.9-17.9 42.5-24.8 64.5zm116.6 98c-16.5 15.1-35.6 27.1-56.4 35.3-11.1 5.3-23.9 5.8-35.3 1.3-15.9-9.2-22.5-44.5-13.5-92 1.1-5.6 2.3-11.2 3.7-16.7 22.4 4.8 45 8.1 67.9 9.8 13.2 18.7 27.7 36.6 43.2 53.4-3.2 3.1-6.4 6.1-9.6 8.9zm24.5-24.3c-10.2-11-20.4-23.2-30.3-36.3 9.6.4 19.5.6 29.5.6 10.3 0 20.4-.2 30.4-.7-9.2 12.7-19.1 24.8-29.6 36.4zm130.7 30c-.9 12.2-6.9 23.6-16.5 31.3-15.9 9.2-49.8-2.8-86.4-34.2-4.2-3.6-8.4-7.5-12.7-11.5 15.3-16.9 29.4-34.8 42.2-53.6 22.9-1.9 45.7-5.4 68.2-10.5 1 4.1 1.9 8.2 2.7 12.2 4.9 21.6 5.7 44.1 2.5 66.3zm18.2-107.5c-2.8.9-5.6 1.8-8.5 2.6-7-21.8-15.6-43.1-25.5-63.8 9.6-20.4 17.7-41.4 24.5-62.9 5.2 1.5 10.2 3.1 15 4.7 46.6 16 79.3 39.8 79.3 58 0 19.6-34.9 44.9-84.8 61.4zm-149.7-15c25.3 0 45.8-20.5 45.8-45.8s-20.5-45.8-45.8-45.8c-25.3 0-45.8 20.5-45.8 45.8s20.5 45.8 45.8 45.8z' />
</svg>
</>
<svg
aria-hidden='true'
viewBox='0 0 512 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M418.2 177.2c-5.4-1.8-10.8-3.5-16.2-5.1.9-3.7 1.7-7.4 2.5-11.1 12.3-59.6 4.2-107.5-23.1-123.3-26.3-15.1-69.2.6-112.6 38.4-4.3 3.7-8.5 7.6-12.5 11.5-2.7-2.6-5.5-5.2-8.3-7.7-45.5-40.4-91.1-57.4-118.4-41.5-26.2 15.2-34 60.3-23 116.7 1.1 5.6 2.3 11.1 3.7 16.7-6.4 1.8-12.7 3.8-18.6 5.9C38.3 196.2 0 225.4 0 255.6c0 31.2 40.8 62.5 96.3 81.5 4.5 1.5 9 3 13.6 4.3-1.5 6-2.8 11.9-4 18-10.5 55.5-2.3 99.5 23.9 114.6 27 15.6 72.4-.4 116.6-39.1 3.5-3.1 7-6.3 10.5-9.7 4.4 4.3 9 8.4 13.6 12.4 42.8 36.8 85.1 51.7 111.2 36.6 27-15.6 35.8-62.9 24.4-120.5-.9-4.4-1.9-8.9-3-13.5 3.2-.9 6.3-1.9 9.4-2.9 57.7-19.1 99.5-50 99.5-81.7 0-30.3-39.4-59.7-93.8-78.4zM282.9 92.3c37.2-32.4 71.9-45.1 87.7-36 16.9 9.7 23.4 48.9 12.8 100.4-.7 3.4-1.4 6.7-2.3 10-22.2-5-44.7-8.6-67.3-10.6-13-18.6-27.2-36.4-42.6-53.1 3.9-3.7 7.7-7.2 11.7-10.7zM167.2 307.5c5.1 8.7 10.3 17.4 15.8 25.9-15.6-1.7-31.1-4.2-46.4-7.5 4.4-14.4 9.9-29.3 16.3-44.5 4.6 8.8 9.3 17.5 14.3 26.1zm-30.3-120.3c14.4-3.2 29.7-5.8 45.6-7.8-5.3 8.3-10.5 16.8-15.4 25.4-4.9 8.5-9.7 17.2-14.2 26-6.3-14.9-11.6-29.5-16-43.6zm27.4 68.9c6.6-13.8 13.8-27.3 21.4-40.6s15.8-26.2 24.4-38.9c15-1.1 30.3-1.7 45.9-1.7s31 .6 45.9 1.7c8.5 12.6 16.6 25.5 24.3 38.7s14.9 26.7 21.7 40.4c-6.7 13.8-13.9 27.4-21.6 40.8-7.6 13.3-15.7 26.2-24.2 39-14.9 1.1-30.4 1.6-46.1 1.6s-30.9-.5-45.6-1.4c-8.7-12.7-16.9-25.7-24.6-39s-14.8-26.8-21.5-40.6zm180.6 51.2c5.1-8.8 9.9-17.7 14.6-26.7 6.4 14.5 12 29.2 16.9 44.3-15.5 3.5-31.2 6.2-47 8 5.4-8.4 10.5-17 15.5-25.6zm14.4-76.5c-4.7-8.8-9.5-17.6-14.5-26.2-4.9-8.5-10-16.9-15.3-25.2 16.1 2 31.5 4.7 45.9 8-4.6 14.8-10 29.2-16.1 43.4zM256.2 118.3c10.5 11.4 20.4 23.4 29.6 35.8-19.8-.9-39.7-.9-59.5 0 9.8-12.9 19.9-24.9 29.9-35.8zM140.2 57c16.8-9.8 54.1 4.2 93.4 39 2.5 2.2 5 4.6 7.6 7-15.5 16.7-29.8 34.5-42.9 53.1-22.6 2-45 5.5-67.2 10.4-1.3-5.1-2.4-10.3-3.5-15.5-9.4-48.4-3.2-84.9 12.6-94zm-24.5 263.6c-4.2-1.2-8.3-2.5-12.4-3.9-21.3-6.7-45.5-17.3-63-31.2-10.1-7-16.9-17.8-18.8-29.9 0-18.3 31.6-41.7 77.2-57.6 5.7-2 11.5-3.8 17.3-5.5 6.8 21.7 15 43 24.5 63.6-9.6 20.9-17.9 42.5-24.8 64.5zm116.6 98c-16.5 15.1-35.6 27.1-56.4 35.3-11.1 5.3-23.9 5.8-35.3 1.3-15.9-9.2-22.5-44.5-13.5-92 1.1-5.6 2.3-11.2 3.7-16.7 22.4 4.8 45 8.1 67.9 9.8 13.2 18.7 27.7 36.6 43.2 53.4-3.2 3.1-6.4 6.1-9.6 8.9zm24.5-24.3c-10.2-11-20.4-23.2-30.3-36.3 9.6.4 19.5.6 29.5.6 10.3 0 20.4-.2 30.4-.7-9.2 12.7-19.1 24.8-29.6 36.4zm130.7 30c-.9 12.2-6.9 23.6-16.5 31.3-15.9 9.2-49.8-2.8-86.4-34.2-4.2-3.6-8.4-7.5-12.7-11.5 15.3-16.9 29.4-34.8 42.2-53.6 22.9-1.9 45.7-5.4 68.2-10.5 1 4.1 1.9 8.2 2.7 12.2 4.9 21.6 5.7 44.1 2.5 66.3zm18.2-107.5c-2.8.9-5.6 1.8-8.5 2.6-7-21.8-15.6-43.1-25.5-63.8 9.6-20.4 17.7-41.4 24.5-62.9 5.2 1.5 10.2 3.1 15 4.7 46.6 16 79.3 39.8 79.3 58 0 19.6-34.9 44.9-84.8 61.4zm-149.7-15c25.3 0 45.8-20.5 45.8-45.8s-20.5-45.8-45.8-45.8c-25.3 0-45.8 20.5-45.8 45.8s20.5 45.8 45.8 45.8z' />
</svg>
);
}

View File

@@ -4,16 +4,14 @@ function ResponsiveDesign(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
viewBox='0 0 640 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M112 48h352v48h48V32a32.09 32.09 0 00-32-32H96a32.09 32.09 0 00-32 32v256H16a16 16 0 00-16 16v16a64.14 64.14 0 0063.91 64H352v-96H112zm492 80H420a36 36 0 00-36 36v312a36 36 0 0036 36h184a36 36 0 0036-36V164a36 36 0 00-36-36zm-12 336H432V176h160z' />
</svg>
</>
<svg
aria-hidden='true'
viewBox='0 0 640 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M112 48h352v48h48V32a32.09 32.09 0 00-32-32H96a32.09 32.09 0 00-32 32v256H16a16 16 0 00-16 16v16a64.14 64.14 0 0063.91 64H352v-96H112zm492 80H420a36 36 0 00-36 36v312a36 36 0 0036 36h184a36 36 0 0036-36V164a36 36 0 00-36-36zm-12 336H432V176h160z' />
</svg>
);
}

View File

@@ -4,18 +4,16 @@ function RosettaCodeIcon(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
xmlns='http://www.w3.org/2000/svg'
height='16'
width='14'
viewBox='0 0 448 512'
{...props}
>
<path d='M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zM176 432h96c8.8 0 16 7.2 16 16s-7.2 16-16 16H176c-8.8 0-16-7.2-16-16s7.2-16 16-16z' />
</svg>
</>
<svg
aria-hidden='true'
xmlns='http://www.w3.org/2000/svg'
height='16'
width='14'
viewBox='0 0 448 512'
{...props}
>
<path d='M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zM176 432h96c8.8 0 16 7.2 16 16s-7.2 16-16 16H176c-8.8 0-16-7.2-16-16s7.2-16 16-16z' />
</svg>
);
}

View File

@@ -4,16 +4,14 @@ function Shield(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
viewBox='0 0 512 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M466.5 83.7l-192-80a48.15 48.15 0 00-36.9 0l-192 80C27.7 91.1 16 108.6 16 128c0 198.5 114.5 335.7 221.5 380.3 11.8 4.9 25.1 4.9 36.9 0C360.1 472.6 496 349.3 496 128c0-19.4-11.7-36.9-29.5-44.3zm-47.2 114.2l-184 184c-6.2 6.2-16.4 6.2-22.6 0l-104-104c-6.2-6.2-6.2-16.4 0-22.6l22.6-22.6c6.2-6.2 16.4-6.2 22.6 0l70.1 70.1 150.1-150.1c6.2-6.2 16.4-6.2 22.6 0l22.6 22.6c6.3 6.3 6.3 16.4 0 22.6z' />
</svg>
</>
<svg
aria-hidden='true'
viewBox='0 0 512 512'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M466.5 83.7l-192-80a48.15 48.15 0 00-36.9 0l-192 80C27.7 91.1 16 108.6 16 128c0 198.5 114.5 335.7 221.5 380.3 11.8 4.9 25.1 4.9 36.9 0C360.1 472.6 496 349.3 496 128c0-19.4-11.7-36.9-29.5-44.3zm-47.2 114.2l-184 184c-6.2 6.2-16.4 6.2-22.6 0l-104-104c-6.2-6.2-6.2-16.4 0-22.6l22.6-22.6c6.2-6.2 16.4-6.2 22.6 0l70.1 70.1 150.1-150.1c6.2-6.2 16.4-6.2 22.6 0l22.6 22.6c6.3 6.3 6.3 16.4 0 22.6z' />
</svg>
);
}

View File

@@ -4,23 +4,21 @@ function SupporterBadge(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
xmlns='http://www.w3.org/2000/svg'
width='304'
height='347'
viewBox='0 0 304 347'
<svg
xmlns='http://www.w3.org/2000/svg'
width='304'
height='347'
viewBox='0 0 304 347'
fill='currentColor'
{...props}
>
<path
fillRule='evenodd'
clipRule='evenodd'
d='M0.5 -0.5V261L147.5 347L303.5 261V-0.5H0.5ZM68.625 61.9398C68.6211 60.616 67.7036 59.3001 66.786 58.3863C65.4624 57.4725 64.088 57.0196 62.7683 57.0235C58.7037 57.0313 52.7454 61.2369 45.6002 69.3319C25.7459 91.9846 15.602 113.927 16.012 146.283C16.4571 178.624 24.3832 202.354 41.9144 223.843C50.9181 235.179 57.8135 241.006 62.7409 240.994C64.0607 240.994 65.8919 240.072 66.7509 239.155C67.6645 237.831 68.5742 236.456 68.5742 235.136C68.5664 232.442 66.7274 229.295 62.249 225.292C40.9539 205.01 29.9979 178.839 29.9198 146.252C29.8495 116.797 40.2667 92.3751 60.9761 72.4324C65.9426 67.3326 68.6289 64.2281 68.625 61.9398ZM175.561 152.082C173.541 151.566 174.198 148.64 175.284 143.8C178.383 129.999 184.975 100.635 142.959 67.192C142.959 67.192 150.405 90.8522 112.859 143.651C77.276 193.646 124.091 224.496 129.131 227.612C129.406 227.79 129.562 227.873 129.562 227.873C129.562 227.873 129.411 227.786 129.131 227.612C125.903 225.528 106.418 210.506 133.701 165.972C135.302 163.323 137.052 160.75 138.953 157.956C143.343 151.502 148.535 143.868 154.543 131.397C154.543 131.397 162.165 142.156 158.186 165.48C152.921 196.666 177.176 192.362 183.174 191.297H183.174C183.955 191.158 184.426 191.075 184.483 191.132C195.372 203.954 176.028 226.313 174.149 227.811C174.05 227.877 174.019 227.898 174.062 227.873C174.085 227.86 174.114 227.839 174.149 227.811L174.157 227.805C176.973 225.931 230.459 190.319 189.957 137.684C189.149 138.492 188.273 140.138 187.259 142.044C184.661 146.926 181.156 153.514 175.561 152.082ZM236.132 61.9164C236.136 60.5926 237.053 59.2766 237.971 58.3629C239.294 57.4491 240.669 56.9961 241.988 57C246.053 57.0078 252.011 61.2135 259.157 69.3085C279.011 91.9611 289.155 113.903 288.745 146.26C288.3 178.6 280.374 202.331 262.842 223.82C253.839 235.156 246.943 240.982 242.016 240.97C240.696 240.967 238.865 240.049 238.006 239.131C237.092 237.807 236.182 236.433 236.182 235.113C236.19 232.419 238.029 229.271 242.508 225.269C263.803 204.986 274.759 178.815 274.837 146.228C274.907 116.773 264.49 92.3477 243.781 72.409C238.814 67.3091 236.128 64.2047 236.132 61.9164Z'
fill='currentColor'
{...props}
>
<path
fillRule='evenodd'
clipRule='evenodd'
d='M0.5 -0.5V261L147.5 347L303.5 261V-0.5H0.5ZM68.625 61.9398C68.6211 60.616 67.7036 59.3001 66.786 58.3863C65.4624 57.4725 64.088 57.0196 62.7683 57.0235C58.7037 57.0313 52.7454 61.2369 45.6002 69.3319C25.7459 91.9846 15.602 113.927 16.012 146.283C16.4571 178.624 24.3832 202.354 41.9144 223.843C50.9181 235.179 57.8135 241.006 62.7409 240.994C64.0607 240.994 65.8919 240.072 66.7509 239.155C67.6645 237.831 68.5742 236.456 68.5742 235.136C68.5664 232.442 66.7274 229.295 62.249 225.292C40.9539 205.01 29.9979 178.839 29.9198 146.252C29.8495 116.797 40.2667 92.3751 60.9761 72.4324C65.9426 67.3326 68.6289 64.2281 68.625 61.9398ZM175.561 152.082C173.541 151.566 174.198 148.64 175.284 143.8C178.383 129.999 184.975 100.635 142.959 67.192C142.959 67.192 150.405 90.8522 112.859 143.651C77.276 193.646 124.091 224.496 129.131 227.612C129.406 227.79 129.562 227.873 129.562 227.873C129.562 227.873 129.411 227.786 129.131 227.612C125.903 225.528 106.418 210.506 133.701 165.972C135.302 163.323 137.052 160.75 138.953 157.956C143.343 151.502 148.535 143.868 154.543 131.397C154.543 131.397 162.165 142.156 158.186 165.48C152.921 196.666 177.176 192.362 183.174 191.297H183.174C183.955 191.158 184.426 191.075 184.483 191.132C195.372 203.954 176.028 226.313 174.149 227.811C174.05 227.877 174.019 227.898 174.062 227.873C174.085 227.86 174.114 227.839 174.149 227.811L174.157 227.805C176.973 225.931 230.459 190.319 189.957 137.684C189.149 138.492 188.273 140.138 187.259 142.044C184.661 146.926 181.156 153.514 175.561 152.082ZM236.132 61.9164C236.136 60.5926 237.053 59.2766 237.971 58.3629C239.294 57.4491 240.669 56.9961 241.988 57C246.053 57.0078 252.011 61.2135 259.157 69.3085C279.011 91.9611 289.155 113.903 288.745 146.26C288.3 178.6 280.374 202.331 262.842 223.82C253.839 235.156 246.943 240.982 242.016 240.97C240.696 240.967 238.865 240.049 238.006 239.131C237.092 237.807 236.182 236.433 236.182 235.113C236.19 232.419 238.029 229.271 242.508 225.269C263.803 204.986 274.759 178.815 274.837 146.228C274.907 116.773 264.49 92.3477 243.781 72.409C238.814 67.3091 236.128 64.2047 236.132 61.9164Z'
fill='currentColor'
/>
</svg>
</>
/>
</svg>
);
}

View File

@@ -4,16 +4,14 @@ function TensorflowIcon(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
viewBox='0 0 24 24'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M1.292 5.856L11.54 0v24l-4.095-2.378V7.603l-6.168 3.564.015-5.31zm21.43 5.311l-.014-5.31L12.46 0v24l4.095-2.378V14.87l3.092 1.788-.018-4.618-3.074-1.756V7.603l6.168 3.564z' />
</svg>
</>
<svg
aria-hidden='true'
viewBox='0 0 24 24'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path d='M1.292 5.856L11.54 0v24l-4.095-2.378V7.603l-6.168 3.564.015-5.31zm21.43 5.311l-.014-5.31L12.46 0v24l4.095-2.378V14.87l3.092 1.788-.018-4.618-3.074-1.756V7.603l6.168 3.564z' />
</svg>
);
}

View File

@@ -4,16 +4,14 @@ function VikingHelmet(
props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>
): JSX.Element {
return (
<>
<svg
aria-hidden='true'
xmlns='http://www.w3.org/2000/svg'
viewBox='0 0 512 512'
{...props}
>
<path d='M52.441 53.88c-35.103 34.696-41.31 73.89-33.228 117.837 6.29 34.202 22.079 70.807 40.892 107.767 17.738-27.114 41.117-56.824 68.676-78.517-20.7-17.164-38.261-35.891-51.367-56.447-17.29-27.12-26.504-57.61-24.973-90.64zm407.118 0c1.531 33.03-7.683 63.52-24.973 90.64-13.106 20.556-30.667 39.283-51.367 56.447 27.559 21.693 50.938 51.403 68.676 78.517 18.813-36.96 34.603-73.565 40.892-107.767 8.082-43.947 1.875-83.141-33.228-117.836zM256 179c-8.702 0-17.061 2.757-23 7.316v22.38c6.7-2.648 14.535-4.016 23-4.016s16.3 1.368 23 4.015v-22.379c-5.939-4.559-14.298-7.316-23-7.316zm-41 30.053c-30.485 11.577-60.043 34.66-84.166 62.804C98.718 309.326 76.784 355.501 73.482 391H215V209.053zm82 0V391h141.518c-3.301-35.499-25.236-81.674-57.352-119.143-24.123-28.143-53.681-51.227-84.166-62.804zm-153.502 3.49c-29.097 22.175-55.189 56.212-73.732 85.506a2034.036 2034.036 0 0 0 9.447 17.562c10.162-19.226 23.088-38.126 37.953-55.468 11.983-13.98 25.289-26.965 39.557-38.155a416.25 416.25 0 0 1-13.225-9.445zm225.004 0a416.25 416.25 0 0 1-13.225 9.445c14.268 11.19 27.574 24.175 39.557 38.155 14.865 17.342 27.79 36.242 37.953 55.468 3.179-5.85 6.339-11.705 9.447-17.562-18.543-29.294-44.635-63.33-73.732-85.506zM256 222.68c-7.62 0-14.449 1.66-18.602 3.736-3.262 1.631-4.103 2.973-4.318 3.264.215.29 1.056 1.632 4.318 3.263 4.153 2.077 10.981 3.737 18.602 3.737 7.62 0 14.449-1.66 18.602-3.737 3.262-1.63 4.103-2.972 4.318-3.263-.215-.291-1.056-1.633-4.318-3.264-4.153-2.077-10.981-3.736-18.602-3.736zm22.92 7c.059.08.08.095.08 0 0-.096-.021-.08-.08 0zm-45.84 0c-.059-.08-.08-.096-.08 0 0 .095.021.08.08 0zm-.08 20.984v48.352c6.7-2.648 14.535-4.016 23-4.016s16.3 1.368 23 4.016v-48.352c-6.7 2.648-14.535 4.016-23 4.016s-16.3-1.368-23-4.016zM256 313c-7.62 0-14.449 1.66-18.602 3.736-3.262 1.632-4.103 2.973-4.318 3.264.215.291 1.056 1.632 4.318 3.264C241.551 325.34 248.38 327 256 327c7.62 0 14.449-1.66 18.602-3.736 3.262-1.632 4.103-2.973 4.318-3.264-.215-.291-1.056-1.632-4.318-3.264C270.449 314.66 263.62 313 256 313zm22.92 7c.059.08.08.096.08 0s-.021-.08-.08 0zm-45.84 0c-.059-.08-.08-.096-.08 0s.021.08.08 0zm-.08 20.984v45.87c6.7-2.649 14.535-4.016 23-4.016s16.3 1.367 23 4.016v-45.87c-6.7 2.648-14.535 4.016-23 4.016s-16.3-1.368-23-4.016zm23 59.854c-7.62 0-14.449 1.66-18.602 3.736-3.262 1.631-4.103 2.973-4.318 3.264.215.29 1.056 1.632 4.318 3.264 4.153 2.076 10.981 3.736 18.602 3.736 7.62 0 14.449-1.66 18.602-3.736 3.262-1.632 4.103-2.973 4.318-3.264-.215-.291-1.056-1.633-4.318-3.264-4.153-2.076-10.981-3.736-18.602-3.736zm22.92 7c.059.08.08.095.08 0 0-.096-.021-.08-.08 0zm-45.84 0c-.059-.08-.08-.096-.08 0 0 .095.021.08.08 0zM73 409v30h18.455c-2.78-4.422-4.455-9.52-4.455-15s1.676-10.578 4.455-15H73zm55 0c-7.013 0-13.194 2.204-17.227 5.229C106.74 417.253 105 420.615 105 424c0 3.385 1.74 6.747 5.773 9.771C114.806 436.796 120.987 439 128 439s13.194-2.204 17.227-5.229C149.26 430.747 151 427.385 151 424c0-3.385-1.74-6.747-5.773-9.771C141.194 411.204 135.013 409 128 409zm36.545 0c2.78 4.422 4.455 9.52 4.455 15s-1.676 10.578-4.455 15H215v-30h-50.455zM297 409v30h50.455c-2.78-4.422-4.455-9.52-4.455-15s1.676-10.578 4.455-15H297zm87 0c-7.013 0-13.194 2.204-17.227 5.229C362.74 417.253 361 420.615 361 424c0 3.385 1.74 6.747 5.773 9.771C370.806 436.796 376.987 439 384 439s13.194-2.204 17.227-5.229C405.26 430.747 407 427.385 407 424c0-3.385-1.74-6.747-5.773-9.771C397.194 411.204 391.013 409 384 409zm36.545 0c2.78 4.422 4.455 9.52 4.455 15s-1.676 10.578-4.455 15H439v-30h-18.455zM233 428.822v16.453l23 34.5 23-34.5v-16.453c-6.7 2.648-14.535 4.016-23 4.016s-16.3-1.368-23-4.016z' />
</svg>
</>
<svg
aria-hidden='true'
xmlns='http://www.w3.org/2000/svg'
viewBox='0 0 512 512'
{...props}
>
<path d='M52.441 53.88c-35.103 34.696-41.31 73.89-33.228 117.837 6.29 34.202 22.079 70.807 40.892 107.767 17.738-27.114 41.117-56.824 68.676-78.517-20.7-17.164-38.261-35.891-51.367-56.447-17.29-27.12-26.504-57.61-24.973-90.64zm407.118 0c1.531 33.03-7.683 63.52-24.973 90.64-13.106 20.556-30.667 39.283-51.367 56.447 27.559 21.693 50.938 51.403 68.676 78.517 18.813-36.96 34.603-73.565 40.892-107.767 8.082-43.947 1.875-83.141-33.228-117.836zM256 179c-8.702 0-17.061 2.757-23 7.316v22.38c6.7-2.648 14.535-4.016 23-4.016s16.3 1.368 23 4.015v-22.379c-5.939-4.559-14.298-7.316-23-7.316zm-41 30.053c-30.485 11.577-60.043 34.66-84.166 62.804C98.718 309.326 76.784 355.501 73.482 391H215V209.053zm82 0V391h141.518c-3.301-35.499-25.236-81.674-57.352-119.143-24.123-28.143-53.681-51.227-84.166-62.804zm-153.502 3.49c-29.097 22.175-55.189 56.212-73.732 85.506a2034.036 2034.036 0 0 0 9.447 17.562c10.162-19.226 23.088-38.126 37.953-55.468 11.983-13.98 25.289-26.965 39.557-38.155a416.25 416.25 0 0 1-13.225-9.445zm225.004 0a416.25 416.25 0 0 1-13.225 9.445c14.268 11.19 27.574 24.175 39.557 38.155 14.865 17.342 27.79 36.242 37.953 55.468 3.179-5.85 6.339-11.705 9.447-17.562-18.543-29.294-44.635-63.33-73.732-85.506zM256 222.68c-7.62 0-14.449 1.66-18.602 3.736-3.262 1.631-4.103 2.973-4.318 3.264.215.29 1.056 1.632 4.318 3.263 4.153 2.077 10.981 3.737 18.602 3.737 7.62 0 14.449-1.66 18.602-3.737 3.262-1.63 4.103-2.972 4.318-3.263-.215-.291-1.056-1.633-4.318-3.264-4.153-2.077-10.981-3.736-18.602-3.736zm22.92 7c.059.08.08.095.08 0 0-.096-.021-.08-.08 0zm-45.84 0c-.059-.08-.08-.096-.08 0 0 .095.021.08.08 0zm-.08 20.984v48.352c6.7-2.648 14.535-4.016 23-4.016s16.3 1.368 23 4.016v-48.352c-6.7 2.648-14.535 4.016-23 4.016s-16.3-1.368-23-4.016zM256 313c-7.62 0-14.449 1.66-18.602 3.736-3.262 1.632-4.103 2.973-4.318 3.264.215.291 1.056 1.632 4.318 3.264C241.551 325.34 248.38 327 256 327c7.62 0 14.449-1.66 18.602-3.736 3.262-1.632 4.103-2.973 4.318-3.264-.215-.291-1.056-1.632-4.318-3.264C270.449 314.66 263.62 313 256 313zm22.92 7c.059.08.08.096.08 0s-.021-.08-.08 0zm-45.84 0c-.059-.08-.08-.096-.08 0s.021.08.08 0zm-.08 20.984v45.87c6.7-2.649 14.535-4.016 23-4.016s16.3 1.367 23 4.016v-45.87c-6.7 2.648-14.535 4.016-23 4.016s-16.3-1.368-23-4.016zm23 59.854c-7.62 0-14.449 1.66-18.602 3.736-3.262 1.631-4.103 2.973-4.318 3.264.215.29 1.056 1.632 4.318 3.264 4.153 2.076 10.981 3.736 18.602 3.736 7.62 0 14.449-1.66 18.602-3.736 3.262-1.632 4.103-2.973 4.318-3.264-.215-.291-1.056-1.633-4.318-3.264-4.153-2.076-10.981-3.736-18.602-3.736zm22.92 7c.059.08.08.095.08 0 0-.096-.021-.08-.08 0zm-45.84 0c-.059-.08-.08-.096-.08 0 0 .095.021.08.08 0zM73 409v30h18.455c-2.78-4.422-4.455-9.52-4.455-15s1.676-10.578 4.455-15H73zm55 0c-7.013 0-13.194 2.204-17.227 5.229C106.74 417.253 105 420.615 105 424c0 3.385 1.74 6.747 5.773 9.771C114.806 436.796 120.987 439 128 439s13.194-2.204 17.227-5.229C149.26 430.747 151 427.385 151 424c0-3.385-1.74-6.747-5.773-9.771C141.194 411.204 135.013 409 128 409zm36.545 0c2.78 4.422 4.455 9.52 4.455 15s-1.676 10.578-4.455 15H215v-30h-50.455zM297 409v30h50.455c-2.78-4.422-4.455-9.52-4.455-15s1.676-10.578 4.455-15H297zm87 0c-7.013 0-13.194 2.204-17.227 5.229C362.74 417.253 361 420.615 361 424c0 3.385 1.74 6.747 5.773 9.771C370.806 436.796 376.987 439 384 439s13.194-2.204 17.227-5.229C405.26 430.747 407 427.385 407 424c0-3.385-1.74-6.747-5.773-9.771C397.194 411.204 391.013 409 384 409zm36.545 0c2.78 4.422 4.455 9.52 4.455 15s-1.676 10.578-4.455 15H439v-30h-18.455zM233 428.822v16.453l23 34.5 23-34.5v-16.453c-6.7 2.648-14.535 4.016-23 4.016s-16.3-1.368-23-4.016z' />
</svg>
);
}

View File

@@ -298,11 +298,7 @@ class DonateForm extends Component<DonateFormProps, DonateFormComponentState> {
}
renderPageForm() {
return (
<>
<div>{this.renderButtonGroup()}</div>
</>
);
return <div>{this.renderButtonGroup()}</div>;
}
render() {

View File

@@ -64,15 +64,13 @@ export const ThankYouMessage = ({
const OtherWaysToSupport = (): JSX.Element => {
const { t } = useTranslation();
return (
<>
<p>
<Trans i18nKey='donate.if-support-further'>
<a href={t('links:donate.one-time-external-url')}>placeholder</a>
<a href={t('links:donate.mail-check-url')}>placeholder</a>
<a href={t('links:donate.other-ways-url')}>placeholder</a>
</Trans>
</p>
</>
<p>
<Trans i18nKey='donate.if-support-further'>
<a href={t('links:donate.one-time-external-url')}>placeholder</a>
<a href={t('links:donate.mail-check-url')}>placeholder</a>
<a href={t('links:donate.other-ways-url')}>placeholder</a>
</Trans>
</p>
);
};
@@ -148,11 +146,7 @@ export const DonationFaqText = (): JSX.Element => {
},
{
Q: t('donate.does-crypto'),
A: (
<>
<p>{t('donate.yes-cryptocurrency')}</p>
</>
)
A: <p>{t('donate.yes-cryptocurrency')}</p>
},
{
@@ -192,11 +186,7 @@ export const DonationFaqText = (): JSX.Element => {
{ Q: t('donate.how-update'), A: <p>{t('donate.forward-receipt')}</p> },
{
Q: t('donate.anything-else'),
A: (
<>
<p>{t('donate.other-support')}</p>
</>
)
A: <p>{t('donate.other-support')}</p>
}
];

View File

@@ -150,7 +150,7 @@ export default class PayPalButtonScriptLoader extends Component<
});
}
render(): JSX.Element {
render(): JSX.Element | null {
const {
isSdkLoaded,
isSubscription
@@ -164,7 +164,7 @@ export default class PayPalButtonScriptLoader extends Component<
style
} = this.props;
if (!isSdkLoaded) return <></>;
if (!isSdkLoaded) return null;
// TODO: fill in the full list of props instead of any
// eslint-disable-next-line @typescript-eslint/no-explicit-any

View File

@@ -91,38 +91,36 @@ function MapLi({
index: number;
}) {
return (
<>
<li
data-test-label='curriculum-map-button'
data-playwright-test-label='curriculum-map-button'
>
<div className='progress-icon-wrapper'>
<div
className={`progress-icon${showProgressionLines ? ' show-progression-lines' : ''}`}
>
<RibbonIcon
value={index + 1}
showNumbers={showNumbers}
isCompleted={completed}
isClaimed={claimed}
/>
</div>
</div>
<ButtonLink
block
size='large'
className='map-superblock-link'
href={`/learn/${superBlock}/`}
<li
data-test-label='curriculum-map-button'
data-playwright-test-label='curriculum-map-button'
>
<div className='progress-icon-wrapper'>
<div
className={`progress-icon${showProgressionLines ? ' show-progression-lines' : ''}`}
>
<div style={linkSpacingStyle}>
<SuperBlockIcon className='map-icon' superBlock={superBlock} />
{getSuperBlockTitleForMap(superBlock)}
</div>
{landing && <LinkButton />}
</ButtonLink>
</li>
</>
<RibbonIcon
value={index + 1}
showNumbers={showNumbers}
isCompleted={completed}
isClaimed={claimed}
/>
</div>
</div>
<ButtonLink
block
size='large'
className='map-superblock-link'
href={`/learn/${superBlock}/`}
>
<div style={linkSpacingStyle}>
<SuperBlockIcon className='map-icon' superBlock={superBlock} />
{getSuperBlockTitleForMap(superBlock)}
</div>
{landing && <LinkButton />}
</ButtonLink>
</li>
);
}

View File

@@ -35,10 +35,10 @@ const ExamResultsModal = ({
},
isOpen,
closeModal
}: ExamResultsModalProps): JSX.Element => {
}: ExamResultsModalProps): JSX.Element | null => {
const { t } = useTranslation();
if (!examResults) return <></>;
if (!examResults) return null;
const {
numberOfCorrectAnswers,

View File

@@ -72,6 +72,7 @@ const GrowthBookReduxConnector = ({
showModalsRandomly,
setIsRandomCompletionThreshold
]);
// eslint-disable-next-line react/jsx-no-useless-fragment
return <>{children}</>;
};

View File

@@ -19,14 +19,12 @@ function ChallengeTitle({
return (
<div className='challenge-title-wrap'>
{translationPending && (
<>
<Link
className='title-translation-cta'
to={i18next.t('links:help-translate-link-url')}
>
{i18next.t('misc.translation-pending')}
</Link>
</>
<Link
className='title-translation-cta'
to={i18next.t('links:help-translate-link-url')}
>
{i18next.t('misc.translation-pending')}
</Link>
)}
<div className='challenge-title'>
<h1 id='content-start' data-playwright-test-label='challenge-title'>

View File

@@ -226,19 +226,17 @@ function Hotkeys({
// allowChanges is necessary if the handlers depend on props (in this case
// canFocusEditor)
return (
<>
<HotKeys
id='editor-layout'
data-playwright-test-label='hotkeys'
allowChanges={true}
handlers={handlers}
innerRef={containerRef}
keyMap={keyMap}
>
{children}
<GlobalHotKeys />
</HotKeys>
</>
<HotKeys
id='editor-layout'
data-playwright-test-label='hotkeys'
allowChanges={true}
handlers={handlers}
innerRef={containerRef}
keyMap={keyMap}
>
{children}
<GlobalHotKeys />
</HotKeys>
);
}

View File

@@ -5,8 +5,8 @@ interface NotesProps {
notes?: string;
}
function Notes({ notes }: NotesProps): JSX.Element {
return <>{notes && <PrismFormatted text={notes} />}</>;
function Notes({ notes }: NotesProps): JSX.Element | null {
return notes ? <PrismFormatted text={notes} /> : null;
}
Notes.displayName = 'Notes';

View File

@@ -84,18 +84,16 @@ function ToolPanel({
</Button>
</>
)}
<>
<Spacer size='xxs' />
<Button block={true} variant='primary' onClick={openResetModal}>
{isMobile
? t(canSaveToDB(challengeType) ? 'buttons.revert' : 'buttons.reset')
: t(
canSaveToDB(challengeType)
? 'buttons.revert-to-saved-code'
: 'buttons.reset-lesson'
)}
</Button>
</>
<Spacer size='xxs' />
<Button block={true} variant='primary' onClick={openResetModal}>
{isMobile
? t(canSaveToDB(challengeType) ? 'buttons.revert' : 'buttons.reset')
: t(
canSaveToDB(challengeType)
? 'buttons.revert-to-saved-code'
: 'buttons.reset-lesson'
)}
</Button>
<Spacer size='xxs' />
<Dropdown dropup>
<Dropdown.Toggle

View File

@@ -505,16 +505,12 @@ function ShowExam(props: ShowExamProps) {
<Alert variant='info'>
<p>{t('learn.exam.qualified')}</p>
</Alert>
) : !prerequisitesComplete ? (
<MissingPrerequisites
missingPrerequisites={missingPrerequisites}
/>
) : (
<>
{!prerequisitesComplete ? (
<MissingPrerequisites
missingPrerequisites={missingPrerequisites}
/>
) : (
<FoundationalCSharpSurveyAlert />
)}
</>
<FoundationalCSharpSurveyAlert />
)}
<PrismFormatted text={description} />
<Spacer size='m' />

View File

@@ -93,81 +93,77 @@ function LinkMsUser({
<p>{t('learn.ms.link-signin')}</p>
<Login />
</>
) : (
) : msUsername ? (
<>
{msUsername ? (
<>
<p>{t('learn.ms.linked', { msUsername })}</p>
<Button
block={true}
variant='primary'
disabled={isProcessing}
onClick={unlinkMsUsername}
>
{t('buttons.unlink-account')}
</Button>
</>
) : (
<div>
<ChallengeHeading heading={'learn.ms.link-header'} />
<Spacer size='xs' />
<p>{t('learn.ms.unlinked')}</p>
<ol className='link-ms-user-ol'>
<li>
<Trans i18nKey='learn.ms.link-li-1'>
<a
href='https://learn.microsoft.com/users/me/transcript'
rel='noreferrer'
target='_blank'
>
placeholder
</a>
</Trans>
</li>
<li>{t('learn.ms.link-li-2')}</li>
<li>{t('learn.ms.link-li-3')}</li>
<li>{t('learn.ms.link-li-4')}</li>
<li>
<Trans i18nKey='learn.ms.link-li-5'>
<pre className='language-html'>placeholder</pre>
</Trans>
</li>
<li>{t('learn.ms.link-li-6')}</li>
</ol>
<Spacer size='m' />
<form onSubmit={handleLinkUsername}>
<FormGroup validationState={isValid ? 'success' : 'error'}>
<ControlLabel htmlFor='transcript-link'>
<strong>{t('learn.ms.transcript-label')}</strong>
</ControlLabel>
<FormControl
id='transcript-link'
type='url'
onChange={handleInputChange}
placeholder='https://learn.microsoft.com/en-us/users/username/transcript/transcriptId'
/>
</FormGroup>
<Button
disabled={isDisabled}
block={true}
variant='primary'
onClick={handleLinkUsername}
>
{t('buttons.link-account')}
</Button>
{showWarning && (
<HelpBlock>
<Trans i18nKey='learn.ms.invalid-transcript'>
placeholder <code>placeholder</code> placeholder
</Trans>
</HelpBlock>
)}
</form>
</div>
)}
<p>{t('learn.ms.linked', { msUsername })}</p>
<Button
block={true}
variant='primary'
disabled={isProcessing}
onClick={unlinkMsUsername}
>
{t('buttons.unlink-account')}
</Button>
</>
) : (
<div>
<ChallengeHeading heading={'learn.ms.link-header'} />
<Spacer size='xs' />
<p>{t('learn.ms.unlinked')}</p>
<ol className='link-ms-user-ol'>
<li>
<Trans i18nKey='learn.ms.link-li-1'>
<a
href='https://learn.microsoft.com/users/me/transcript'
rel='noreferrer'
target='_blank'
>
placeholder
</a>
</Trans>
</li>
<li>{t('learn.ms.link-li-2')}</li>
<li>{t('learn.ms.link-li-3')}</li>
<li>{t('learn.ms.link-li-4')}</li>
<li>
<Trans i18nKey='learn.ms.link-li-5'>
<pre className='language-html'>placeholder</pre>
</Trans>
</li>
<li>{t('learn.ms.link-li-6')}</li>
</ol>
<Spacer size='m' />
<form onSubmit={handleLinkUsername}>
<FormGroup validationState={isValid ? 'success' : 'error'}>
<ControlLabel htmlFor='transcript-link'>
<strong>{t('learn.ms.transcript-label')}</strong>
</ControlLabel>
<FormControl
id='transcript-link'
type='url'
onChange={handleInputChange}
placeholder='https://learn.microsoft.com/en-us/users/username/transcript/transcriptId'
/>
</FormGroup>
<Button
disabled={isDisabled}
block={true}
variant='primary'
onClick={handleLinkUsername}
>
{t('buttons.link-account')}
</Button>
{showWarning && (
<HelpBlock>
<Trans i18nKey='learn.ms.invalid-transcript'>
placeholder <code>placeholder</code> placeholder
</Trans>
</HelpBlock>
)}
</form>
</div>
);
}

View File

@@ -320,16 +320,14 @@ const ShowQuiz = ({
</div>
<Spacer size='m' />
{!isPassed ? (
<>
<Button
block={true}
variant='primary'
onClick={handleFinishQuiz}
disabled={hasSubmitted}
>
{t('buttons.finish-quiz')}
</Button>
</>
<Button
block={true}
variant='primary'
onClick={handleFinishQuiz}
disabled={hasSubmitted}
>
{t('buttons.finish-quiz')}
</Button>
) : (
<Button
block={true}

View File

@@ -24,16 +24,14 @@ function LegacyLinks({ superBlock }: LegacyLinksProps): JSX.Element {
if (isOldRespCert(superBlock)) {
return (
<>
<Alert variant='info'>
<p>
{t('intro:misc-text.legacy-desc')}{' '}
<Link sameTab={false} to={`/learn/2022/responsive-web-design`}>
{t('intro:misc-text.legacy-go-back')}
</Link>
</p>
</Alert>
</>
<Alert variant='info'>
<p>
{t('intro:misc-text.legacy-desc')}{' '}
<Link sameTab={false} to={`/learn/2022/responsive-web-design`}>
{t('intro:misc-text.legacy-go-back')}
</Link>
</p>
</Alert>
);
} else if (isRelationalDbCert(superBlock)) {
return (
@@ -53,11 +51,7 @@ function LegacyLinks({ superBlock }: LegacyLinksProps): JSX.Element {
</Alert>
);
} else {
return (
<>
<GitpodNote superBlock={superBlock} />
</>
);
return <GitpodNote superBlock={superBlock} />;
}
}

View File

@@ -261,17 +261,15 @@ export const SuperBlockAccordion = ({
// show coming soon on production, and all the challenges in dev
if (chapter.comingSoon && !showUpcomingChanges) {
return (
<>
<ComingSoon key={chapter.name}>
{Object.values(FsdChapters).includes(chapter.name) && (
<ChapterIcon
className='map-icon'
chapter={chapter.name as FsdChapters}
/>
)}
{t(`intro:full-stack-developer.chapters.${chapter.name}`)}
</ComingSoon>
</>
<ComingSoon key={chapter.name}>
{Object.values(FsdChapters).includes(chapter.name) && (
<ChapterIcon
className='map-icon'
chapter={chapter.name as FsdChapters}
/>
)}
{t(`intro:full-stack-developer.chapters.${chapter.name}`)}
</ComingSoon>
);
}

View File

@@ -15,7 +15,7 @@ export const ConditionalDonationAlert = ({
superBlock,
onCertificationDonationAlertClick,
isDonating
}: SuperBlockIntroProps): JSX.Element => {
}: SuperBlockIntroProps): JSX.Element | null => {
const { t } = useTranslation();
const betaCertifications: SuperBlocks[] = [];
@@ -60,7 +60,7 @@ export const ConditionalDonationAlert = ({
</Alert>
);
return <></>;
return null;
};
function SuperBlockIntro(props: SuperBlockIntroProps): JSX.Element {

View File

@@ -114,6 +114,7 @@ export default tseslint.config(
],
'react/prop-types': 'off',
'react/jsx-no-useless-fragment': 'error',
'no-only-tests/no-only-tests': 'error',
'no-unused-vars': 'off',
'no-unused-expressions': 'error', // This is so the js rules are more in line with the ts rules