generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add OrgIcon component and update icons index
Signed-off-by: Amit Amrutiya <[email protected]>
- Loading branch information
1 parent
42783be
commit 1a72ff7
Showing
3 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
import React from 'react'; | ||
|
||
interface OrgIconProps { | ||
width?: number; | ||
height?: number; | ||
fill?: string; | ||
secondaryFill?: string; | ||
} | ||
|
||
const OrgIcon: React.FC<OrgIconProps> = ({ | ||
width = 24, | ||
height = 24, | ||
fill = '#F6F8F8', | ||
secondaryFill = '#294957' | ||
}) => ( | ||
<svg | ||
width={width} | ||
height={height} | ||
viewBox="0 0 154 142" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M76.6481 101.891C67.2607 101.891 59.7891 109.554 59.7891 118.75V140.781H93.6987V118.941C93.5072 109.554 86.0355 101.891 76.6481 101.891Z" | ||
fill={fill} | ||
/> | ||
<path | ||
d="M113.156 140.987H150.706V56.1172H113.156V140.987ZM124.076 63.3972C124.076 62.8225 124.459 62.4393 125.034 62.4393H139.02C139.594 62.4393 139.977 62.8225 139.977 63.3972V74.7005C139.977 75.2752 139.594 75.6584 139.02 75.6584H125.226C124.651 75.6584 124.268 75.2752 124.268 74.7005V63.3972H124.076ZM124.076 83.13C124.076 82.5552 124.459 82.1721 125.034 82.1721H139.02C139.594 82.1721 139.977 82.5552 139.977 83.13V94.4332C139.977 95.008 139.594 95.3911 139.02 95.3911H125.226C124.651 95.3911 124.268 95.008 124.268 94.4332V83.13H124.076ZM124.076 102.671C124.076 102.096 124.459 101.713 125.034 101.713H139.02C139.594 101.713 139.977 102.096 139.977 102.671V113.974C139.977 114.549 139.594 114.932 139.02 114.932H125.226C124.651 114.932 124.268 114.549 124.268 113.974V102.671H124.076ZM124.076 122.212C124.076 121.638 124.459 121.254 125.034 121.254H139.02C139.594 121.254 139.977 121.638 139.977 122.212V133.516C139.977 134.09 139.594 134.473 139.02 134.473H125.226C124.651 134.473 124.268 134.09 124.268 133.516V122.212H124.076Z" | ||
fill={secondaryFill} | ||
/> | ||
<path d="M138.065 64.5625H126.188V73.9499H138.065V64.5625Z" fill={fill} /> | ||
<path d="M138.065 84.0859H126.188V93.4734H138.065V84.0859Z" fill={fill} /> | ||
<path d="M138.065 103.609H126.188V112.997H138.065V103.609Z" fill={fill} /> | ||
<path d="M138.065 123.375H126.188V132.762H138.065V123.375Z" fill={fill} /> | ||
<path d="M153.262 47.6719H110.156V54.1856H153.262V47.6719Z" fill={secondaryFill} /> | ||
<path d="M95.2488 0H57.8906V6.51373H95.2488V0Z" fill={secondaryFill} /> | ||
<path d="M113.798 8.625H39.6562V15.1387H113.798V8.625Z" fill={secondaryFill} /> | ||
<path | ||
d="M45.0391 141.03H57.6833V118.999C57.6833 108.653 66.1129 100.032 76.6498 100.032C86.9951 100.032 95.6162 108.462 95.6162 118.999V141.03H108.261V17.0781H45.0391V141.03ZM81.6309 24.3582C81.6309 23.7834 82.014 23.4003 82.5888 23.4003H96.3825C96.9573 23.4003 97.3404 23.7834 97.3404 24.3582V35.6614C97.3404 36.2361 96.9573 36.6193 96.3825 36.6193H82.5888C82.014 36.6193 81.6309 36.2361 81.6309 35.6614V24.3582ZM81.6309 44.0909C81.6309 43.5162 82.014 43.133 82.5888 43.133H96.3825C96.9573 43.133 97.3404 43.5162 97.3404 44.0909V55.3941C97.3404 55.9689 96.9573 56.3521 96.3825 56.3521H82.5888C82.014 56.3521 81.6309 55.9689 81.6309 55.3941V44.0909ZM81.6309 61.7163C81.6309 61.1416 82.014 60.7584 82.5888 60.7584H96.3825C96.9573 60.7584 97.3404 61.1416 97.3404 61.7163V73.0195C97.3404 73.5943 96.9573 73.9774 96.3825 73.9774H82.5888C82.014 73.9774 81.6309 73.5943 81.6309 73.0195V61.7163ZM81.6309 81.449C81.6309 80.8743 82.014 80.4911 82.5888 80.4911H96.3825C96.9573 80.4911 97.3404 80.8743 97.3404 81.449V92.7523C97.3404 93.327 96.9573 93.7102 96.3825 93.7102H82.5888C82.014 93.7102 81.6309 93.327 81.6309 92.7523V81.449ZM55.9591 24.3582C55.9591 23.7834 56.3423 23.4003 56.917 23.4003H70.7108C71.2855 23.4003 71.6687 23.7834 71.6687 24.3582V35.6614C71.6687 36.2361 71.2855 36.6193 70.7108 36.6193H56.917C56.3423 36.6193 55.9591 36.2361 55.9591 35.6614V24.3582ZM55.9591 44.0909C55.9591 43.5162 56.3423 43.133 56.917 43.133H70.7108C71.2855 43.133 71.6687 43.5162 71.6687 44.0909V55.3941C71.6687 55.9689 71.2855 56.3521 70.7108 56.3521H56.917C56.3423 56.3521 55.9591 55.9689 55.9591 55.3941V44.0909ZM55.9591 61.7163C55.9591 61.1416 56.3423 60.7584 56.917 60.7584H70.7108C71.2855 60.7584 71.6687 61.1416 71.6687 61.7163V73.0195C71.6687 73.5943 71.2855 73.9774 70.7108 73.9774H56.917C56.3423 73.9774 55.9591 73.5943 55.9591 73.0195V61.7163ZM55.9591 81.449C55.9591 80.8743 56.3423 80.4911 56.917 80.4911H70.7108C71.2855 80.4911 71.6687 80.8743 71.6687 81.449V92.7523C71.6687 93.327 71.2855 93.7102 70.7108 93.7102H56.917C56.3423 93.7102 55.9591 93.327 55.9591 92.7523V81.449Z" | ||
fill="#00b39f" | ||
/> | ||
<path d="M69.7686 82.375H57.8906V91.7624H69.7686V82.375Z" fill={fill} /> | ||
<path d="M95.4092 82.375H83.5312V91.7624H95.4092V82.375Z" fill={fill} /> | ||
<path d="M95.4092 45.0391H83.5312V54.4265H95.4092V45.0391Z" fill={fill} /> | ||
<path d="M95.4092 25.4609H83.5312V34.8484H95.4092V25.4609Z" fill={fill} /> | ||
<path d="M69.7686 25.4609H57.8906V34.8484H69.7686V25.4609Z" fill={fill} /> | ||
<path d="M69.7686 45.0391H57.8906V54.4265H69.7686V45.0391Z" fill={fill} /> | ||
<path d="M69.7686 62.8516H57.8906V72.239H69.7686V62.8516Z" fill={fill} /> | ||
<path d="M95.4092 62.8516H83.5312V72.239H95.4092V62.8516Z" fill={fill} /> | ||
<path | ||
d="M2.75781 140.987H40.3075V56.1172H2.75781V140.987ZM13.6779 63.3972C13.6779 62.8225 14.061 62.4393 14.6358 62.4393H28.4296C29.0043 62.4393 29.3875 62.8225 29.3875 63.3972V74.7005C29.3875 75.2752 29.0043 75.6584 28.4296 75.6584H14.6358C14.061 75.6584 13.6779 75.2752 13.6779 74.7005V63.3972ZM13.6779 83.13C13.6779 82.5552 14.061 82.1721 14.6358 82.1721H28.4296C29.0043 82.1721 29.3875 82.5552 29.3875 83.13V94.4332C29.3875 95.008 29.0043 95.3911 28.4296 95.3911H14.6358C14.061 95.3911 13.6779 95.008 13.6779 94.4332V83.13ZM13.6779 102.671C13.6779 102.096 14.061 101.713 14.6358 101.713H28.4296C29.0043 101.713 29.3875 102.096 29.3875 102.671V113.974C29.3875 114.549 29.0043 114.932 28.4296 114.932H14.6358C14.061 114.932 13.6779 114.549 13.6779 113.974V102.671ZM13.6779 122.212C13.6779 121.638 14.061 121.254 14.6358 121.254H28.4296C29.0043 121.254 29.3875 121.638 29.3875 122.212V133.516C29.3875 134.09 29.0043 134.473 28.4296 134.473H14.6358C14.061 134.473 13.6779 134.09 13.6779 133.516V122.212Z" | ||
fill={secondaryFill} | ||
/> | ||
<path d="M27.6748 123.375H15.7969V132.762H27.6748V123.375Z" fill={fill} /> | ||
<path d="M27.6748 103.609H15.7969V112.997H27.6748V103.609Z" fill={fill} /> | ||
<path d="M27.6748 64.5625H15.7969V73.9499H27.6748V64.5625Z" fill={fill} /> | ||
<path d="M27.6748 84.0859H15.7969V93.4734H27.6748V84.0859Z" fill={fill} /> | ||
<path d="M43.1055 47.6719H0V54.1856H43.1055V47.6719Z" fill={secondaryFill} /> | ||
</svg> | ||
); | ||
|
||
export default OrgIcon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import OrgIcon from './OrgIcon'; | ||
export { OrgIcon }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters