{(isText && !isSmall) &&
{t('View this externally')}
}
{withTitle && (
{t('external links')}
)}
{links.length
? links.map((link, index) =>
{link})
:
{t('none')}
}
);
}
export default React.memo(styled(LinkExternal)`
text-align: right;
&.isMain {
text-align: left;
}
&.isSmall {
font-size: var(--font-size-small);
line-height: 1.35;
text-align: center;
}
&.isSidebar {
text-align: center;
.links {
img {
height: 2rem;
width: 2rem;
}
}
}
&:not(.fullColor) {
.links {
img {
filter: grayscale(1) opacity(0.66);
&:hover {
filter: grayscale(0) opacity(1);
}
}
}
}
.links {
img {
border-radius: 50%;
cursor: pointer;
height: 1.5rem;
width: 1.5rem;
}
span {
word-wrap: normal;
display: inline-block;
}
span+span {
margin-left: 0.3rem;
}
}
&.isLogo {
line-height: 1;
.links {
white-space: nowrap;
}
}
`);