Skip to content

Commit

Permalink
feat: Add Home Icon (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsladerman authored Apr 29, 2024
1 parent 508282a commit 8dd3942
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/components/icons/HomeIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import createIcon from './createIcon'

export default createIcon(({ size, color }) => (
<svg
width={size}
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
id="Vector"
d="M9.98773 2.76701C9.89282 2.76906 9.80436 2.80044 9.71938 2.85877L1.13012 9.63977C0.932565 9.79854 0.904501 10.0914 1.05239 10.2826C1.19823 10.471 1.50837 10.5013 1.69521 10.3532L10.0019 3.79827L18.3087 10.3532C18.4955 10.5013 18.7971 10.4699 18.9444 10.2826C19.0905 10.0967 19.0749 9.78782 18.8737 9.63977L10.2845 2.85877C10.1839 2.79255 10.0827 2.76496 9.98773 2.76701ZM4.35103 8.84892L3.44698 9.56238V16.7813C3.44698 17.0309 3.64927 17.2332 3.89885 17.2332H8.19348C8.44307 17.2332 8.6455 17.0307 8.6455 16.7812V14.0688C8.6455 13.3096 9.2426 12.7125 10.0018 12.7125C10.761 12.7125 11.3581 13.3096 11.3581 14.0688V16.7812C11.3581 17.0307 11.5604 17.2332 11.8099 17.2332H16.1046C16.3542 17.2332 16.5566 17.0307 16.5566 16.7812V9.56222L15.6525 8.84876V16.3288H12.262V14.0685C12.262 12.824 11.2462 11.8082 10.0017 11.8082C8.75723 11.8082 7.74137 12.824 7.74137 14.0685V16.3288H4.35088L4.35103 8.84892Z"
fill="white"
stroke={color}
strokeWidth="0.25"
/>
</svg>
))
1 change: 1 addition & 0 deletions src/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export { default as CommandIcon } from './components/icons/CommandIcon'
export { default as CompassIcon } from './components/icons/CompassIcon'
export { default as ComponentsIcon } from './components/icons/ComponentsIcon'
export { default as ComputerNodeIcon } from './components/icons/ComputerNodeIcon'
export { default as HomeIcon } from './components/icons/HomeIcon'
export { default as ConfettiIcon } from './components/icons/ConfettiIcon'
export { default as ConsoleIcon } from './components/icons/ConsoleIcon'
export { default as CookieIcon } from './components/icons/CookieIcon'
Expand Down

0 comments on commit 8dd3942

Please sign in to comment.