about dialog updated

This commit is contained in:
Daniel Shleifman
2021-06-29 11:10:14 +03:00
parent 41f55975fe
commit 5d7741c2af
6 changed files with 52 additions and 50 deletions

View File

@@ -0,0 +1,17 @@
import { GitHub as GitHubIcon } from '@material-ui/icons'
import { LinkWrapper, LinkIcon } from './style'
export default function LinkComponent({ name, link }) {
return (
<LinkWrapper isLink={!!link} href={link} target='_blank' rel='noreferrer'>
{link && (
<LinkIcon>
<GitHubIcon />
</LinkIcon>
)}
<div>{name}</div>
</LinkWrapper>
)
}