fix(client/UI): add new icon for fsd (#57461)

This commit is contained in:
Tom
2024-12-10 01:41:04 -06:00
committed by GitHub
parent 7260918523
commit 52f1f27179
2 changed files with 24 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
import React from 'react';
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>
</>
);
}
Code.displayName = 'Code';
export default Code;
+2 -1
View File
@@ -19,6 +19,7 @@ import CSharpLogo from './c-sharp-logo';
import A2EnglishIcon from './a2-english';
import B1EnglishIcon from './b1-english';
import RosettaCodeIcon from './rosetta-code';
import Code from './code';
const iconMap = {
[SuperBlocks.RespWebDesignNew]: ResponsiveDesign,
@@ -39,7 +40,7 @@ const iconMap = {
[SuperBlocks.ProjectEuler]: Graduation,
[SuperBlocks.CollegeAlgebraPy]: CollegeAlgebra,
[SuperBlocks.FoundationalCSharp]: CSharpLogo,
[SuperBlocks.FullStackDeveloper]: ResponsiveDesign,
[SuperBlocks.FullStackDeveloper]: Code,
[SuperBlocks.A2English]: A2EnglishIcon,
[SuperBlocks.B1English]: B1EnglishIcon,
[SuperBlocks.RosettaCode]: RosettaCodeIcon,