Skip to content

Commit 1cbf394

Browse files
add noopener noreferrer for security fix (#518)
1 parent ed4e273 commit 1cbf394

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

src/components/General/Footer.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ export default function Footer() {
77
<div className='footer-container'>
88
<footer className='footer'>
99
<div className='left-container'>
10-
<a href='https://instagram.com/uclahack' className='icon-link'>
10+
<a href='https://instagram.com/uclahack' target='_blank' rel='noopener noreferrer' className='icon-link'>
1111
<Instagram size={32} />
1212
</a>
13-
<a href='https://facebook.com/acmhack' className='icon-link'>
13+
<a href='https://facebook.com/acmhack' target='_blank' rel='noopener noreferrer' className='icon-link'>
1414
<Facebook size={32} />
1515
</a>
16-
<a href='https://github.com/uclaacm' className='icon-link'>
16+
<a href='https://github.com/uclaacm' target='_blank' rel='noopener noreferrer' className='icon-link'>
1717
<Github size={32} />
1818
</a>
19-
<a href='https://discord.gg/3GSPECbCnE' className='icon-link'>
19+
<a href='https://discord.gg/3GSPECbCnE' target='_blank' rel='noopener noreferrer' className='icon-link'>
2020
<MessageCircle size={32} />
2121
</a>
2222
</div>

src/components/Home/FAQSection.jsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const faqs = [
1111
<>
1212
We post all recordings of our workshops on the ACM YouTube channel,
1313
which can be found{' '}
14-
<Link to='https://www.youtube.com/c/ACMUCLA/videos'>here</Link>!
14+
<a href='https://www.youtube.com/c/ACMUCLA/videos' target='_blank' rel='noopener noreferrer'>here</a>!
1515
</>
1616
),
1717
},
@@ -20,7 +20,7 @@ const faqs = [
2020
answer: (
2121
<>
2222
We recommend attending some of our events or asking us questions in the{' '}
23-
<Link to='https://discord.gg/3GSPECbCnE'>ACM Hack Discord</Link>. Check
23+
<a href ='https://discord.gg/3GSPECbCnE' target='_blank' rel='noopener noreferrer'>ACM Hack Discord</a>. Check
2424
out the events page for more information about the events we&apos;re
2525
holding this quarter. Everyone is welcome!
2626
</>
@@ -29,17 +29,17 @@ const faqs = [
2929
{
3030
question: 'Your past workshops seem interesting, how can I learn more?',
3131
answer: (
32-
// <>
33-
// Check out the <Link to='/archive'>archive</Link> page, where we keep a
34-
// record of all of our past workshops!
35-
// </>
3632
<>
37-
We keep a record of all our past workshops which can be found on our
38-
Github or the ACM YouTube channel! We are also currently in the process
39-
of reconstructing our archive page-- it&apos;s not accessible at the
40-
moment, but check back in a week, and it should be up and running.
41-
Pardon the dust!
33+
Check out the <Link to='/archive'>archive</Link> page, where we keep a
34+
record of all of our past workshops!
4235
</>
36+
// <>
37+
// We keep a record of all our past workshops which can be found on our
38+
// Github or the ACM YouTube channel! We are also currently in the process
39+
// of reconstructing our archive page-- it&apos;s not accessible at the
40+
// moment, but check back in a week, and it should be up and running.
41+
// Pardon the dust!
42+
// </>
4343
),
4444
},
4545
{
@@ -61,7 +61,7 @@ const faqs = [
6161
Send us an email at{' '}
6262
<Link to='mailto:hack@uclaacm.com'>hack@uclaacm.com</Link> or message us
6363
through the{' '}
64-
<Link to='https://discord.gg/3GSPECbCnE'>ACM Hack Discord</Link>!
64+
<a href='https://discord.gg/3GSPECbCnE' target='_blank' rel='noopener noreferrer'>ACM Hack Discord</a>!
6565
</>
6666
),
6767
},

0 commit comments

Comments
 (0)