Skip to content

Commit 0f52222

Browse files
divided into 3 paths
Signed-off-by: Rajesh-Nagarajan-11 <[email protected]>
1 parent f7b56fc commit 0f52222

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

src/icons/Academy/AcademyIcon.tsx

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,41 @@ import { DEFAULT_HEIGHT, DEFAULT_WIDTH, KEPPEL_GREEN_FILL,} from '../../constant
33
import { IconProps } from '../types';
44

55
type AcademyIconProps = {
6-
primaryFill: string;
6+
topFill: string;
7+
centerFill: string;
8+
bottomFill: string;
79
} & IconProps;
810

911
const AcademyIcon: FC<AcademyIconProps> = ({
1012
width = DEFAULT_WIDTH,
1113
height = DEFAULT_HEIGHT,
12-
primaryFill = KEPPEL_GREEN_FILL,
14+
topFill = KEPPEL_GREEN_FILL,
15+
centerFill = KEPPEL_GREEN_FILL,
16+
bottomFill = KEPPEL_GREEN_FILL,
1317
...props
1418
}) => {
1519
return (
1620
<svg
1721
width={width}
1822
height={height}
1923
xmlns="http://www.w3.org/2000/svg"
20-
viewBox="0 0 512 512"
24+
viewBox="0 0 22 22"
2125
data-testid="academy-icon-svg"
2226
{...props}
2327
>
24-
<path d="M496 128v16a8 8 0 0 1-8 8h-24v12c0 6.627-5.373 12-12 12H60c-6.627 0-12-5.373-12-12v-12H24a8 8 0 0 1-8-8v-16a8 8 0 0 1 4.941-7.392l232-88a7.996 7.996 0 0 1 6.118 0l232 88A8 8 0 0 1 496 128zm-24 304H40c-13.255 0-24 10.745-24 24v16a8 8 0 0 0 8 8h464a8 8 0 0 0 8-8v-16c0-13.255-10.745-24-24-24zM96 192v192H60c-6.627 0-12 5.373-12 12v20h416v-20c0-6.627-5.373-12-12-12h-36V192h-64v192h-64V192h-64v192h-64V192H96z" fill={primaryFill} />
25-
</svg>
28+
<path
29+
fill={topFill}
30+
d="M22.5,4.5v.8c0,.2-.2.4-.4.4h-1.1v.6c0,.3-.3.6-.6.6H2.1c-.3,0-.6-.3-.6-.6v-.6H.4c-.2,0-.4-.2-.4-.4v-.8c0-.2,0-.3.2-.3L11.1,0c0,0,.2,0,.3,0l10.9,4.1c.1,0,.2.2.2.3Z"
31+
/>
32+
<path
33+
fill={centerFill}
34+
d="M3.8,7.5v9h-1.7c-.3,0-.6.3-.6.6v.9h19.5v-.9c0-.3-.3-.6-.6-.6h-1.7V7.5h-3v9h-3V7.5h-3v9h-3V7.5h-3Z"
35+
/>
36+
<path
37+
fill={bottomFill}
38+
d="M21.4,18.8H1.1c-.6,0-1.1.5-1.1,1.1v.8c0,.2.2.4.4.4h21.8c.2,0,.4-.2.4-.4v-.8c0-.6-.5-1.1-1.1-1.1Z"
39+
/>
40+
</svg>
2641
);
2742
};
2843

0 commit comments

Comments
 (0)