Unverified Commit 34b598e6 authored by Jyothish's avatar Jyothish Committed by GitHub
Browse files

open external links in new tab (#387)

* open external links in new tab
parent 0da2c9fa
Pipeline #108179 passed with stages
in 8 minutes and 34 seconds
...@@ -38,7 +38,12 @@ const ExternalLink = (props: ExternalLinkProps) => { ...@@ -38,7 +38,12 @@ const ExternalLink = (props: ExternalLinkProps) => {
return ( return (
<span className={styles.container}> <span className={styles.container}>
<LinkIcon className={iconClass} /> <LinkIcon className={iconClass} />
<a className={linkClass} href={props.to}> <a
className={linkClass}
href={props.to}
target="_blank"
rel="nofollow noreferrer"
>
{props.linkText} {props.linkText}
</a> </a>
</span> </span>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment