Skip to content

Commit faca872

Browse files
committed
change: open social links in new tab/window with no ref
1 parent 3c828c4 commit faca872

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/homepage/Social.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export interface SocialProps {
1111
export default function Social(props: SocialProps) {
1212
return (
1313
<div className="flex justify-center items-center rounded-4xl px-8 py-2 hover:scale-105 border-2 border-(--accent-color) hover:shadow-md dark:hover:bg-(--darkmode-background-color-hover)">
14-
<a href={props.link} className="flex items-center gap-2">
14+
<a target="_blank" rel="noreferrer" href={props.link} className="flex items-center gap-2">
1515
<img src={props.logo} alt={props.logoAlt} height={props.imageHeight} width={props.imageWidth}/>
1616
<span className="text-xl md:text-2xl dark:text-(--darkmode-text-color-secondary)">{props.name}</span>
1717
</a>

0 commit comments

Comments
 (0)