Skip to content

Commit a4c17fe

Browse files
Merge pull request #653 from reach2saksham/fix/footer-external-links
fix: add target blank and rel noopener to external footer links
2 parents c194e39 + f311eb6 commit a4c17fe

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/components/shared/Footer.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,19 @@ export function Footer() {
5959
<Link aria-label="Contact by Mail" className='text-zinc-500 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='mailto:[email protected]'>
6060
<FontAwesomeIcon icon={faEnvelope} size='xl' />
6161
</Link>
62-
<Link aria-label="Follow on GitHub" className='text-zinc-500 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://github.com/AOSSIE-Org'>
62+
<Link aria-label="Follow on GitHub" className='text-zinc-500 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://github.com/AOSSIE-Org' target="_blank" rel="noopener noreferrer">
6363
<FontAwesomeIcon icon={faGithub} size='xl' />
6464
</Link>
65-
<Link aria-label="Join on Discord" className='text-zinc-500 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://discord.gg/hjUhu33uAn'>
65+
<Link aria-label="Join on Discord" className='text-zinc-500 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://discord.gg/hjUhu33uAn' target="_blank" rel="noopener noreferrer">
6666
<FontAwesomeIcon icon={faDiscord} size='xl' />
6767
</Link>
68-
<Link aria-label="Follow on LinkedIn" className='text-zinc-500 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://www.linkedin.com/company/aossie/'>
68+
<Link aria-label="Follow on LinkedIn" className='text-zinc-500 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://www.linkedin.com/company/aossie/' target="_blank" rel="noopener noreferrer">
6969
<FontAwesomeIcon icon={faLinkedin} size='xl' />
7070
</Link>
71-
<Link aria-label="Follow on X (Twitter)" className='text-zinc-500 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://x.com/aossie_org'>
71+
<Link aria-label="Follow on X (Twitter)" className='text-zinc-500 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://x.com/aossie_org' target="_blank" rel="noopener noreferrer">
7272
<FontAwesomeIcon icon={faXTwitter} size='xl' />
7373
</Link>
74-
<Link aria-label="Subscribe on YouTube" className='text-zinc-500 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://www.youtube.com/@AOSSIE-Org'>
74+
<Link aria-label="Subscribe on YouTube" className='text-zinc-500 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://www.youtube.com/@AOSSIE-Org' target="_blank" rel="noopener noreferrer">
7575
<FontAwesomeIcon icon={faYoutube} size='xl' />
7676
</Link>
7777
</div>
@@ -94,4 +94,4 @@ export function Footer() {
9494
</Container.Outer>
9595
</motion.footer>
9696
)
97-
}
97+
}

0 commit comments

Comments
 (0)