Jwesson/fix target link (#914)

* fix: add _parent to social media links

---------

Co-authored-by: Jason Wesson <jwesson@2u.com>
This commit is contained in:
Jason Wesson
2023-11-14 08:38:07 -08:00
committed by GitHub
parent 542fa3d5ce
commit b665d3897b

View File

@@ -154,7 +154,7 @@ class ProfilePluginPage extends React.Component {
}
const SocialLink = ({ url, name, platform }) => (
<a href={url} className="font-weight-bold">
<a href={url} className="font-weight-bold" target="_parent">
<FontAwesomeIcon className="mr-2" icon={platformDisplayInfo[platform].icon} />
{name}
</a>