Skip to content

Commit

Permalink
Change social links to open in new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian-Magnuson committed Nov 5, 2023
1 parent 60bafa6 commit 04288a4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/app/about/officer-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ export default function OfficerCard({
socialLinksData,
}: OfficerCardProperties) {
const socialLinks = socialLinksData.map((link) => (
<a href={link.url} key={link.name}>
<a
href={link.url}
key={link.name}
target="_blank"
rel="noopener noreferrer"
>
<Image src={link.icon} alt={link.name} height={30} width={30} />
</a>
));
Expand Down

0 comments on commit 04288a4

Please sign in to comment.