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