mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
about dialog updated
This commit is contained in:
17
web/src/components/About/LinkComponent.jsx
Normal file
17
web/src/components/About/LinkComponent.jsx
Normal 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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user