Skip to content

Commit 547ce11

Browse files
authored
specified link types
1 parent 5d80475 commit 547ce11

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/components/Footer/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ const Footer = () => {
4646
className="inline-block w-6 h-6 mr-4"
4747
aria-label="Reach out to me via LinkedIn"
4848
target="_blank"
49+
rel="noopener noreferrer"
4950
>
5051
<LinkedinIcon className="hover:scale-125 transition-all ease duration-200" />
5152
</a>
@@ -54,6 +55,7 @@ const Footer = () => {
5455
className="inline-block w-6 h-6 mr-4"
5556
aria-label="Reach out to me via Twitter"
5657
target="_blank"
58+
rel="noopener noreferrer"
5759
>
5860
<TwitterIcon className="hover:scale-125 transition-all ease duration-200" />
5961
</a>
@@ -62,6 +64,7 @@ const Footer = () => {
6264
className="inline-block w-6 h-6 mr-4 fill-light"
6365
aria-label="Check my profile on Github"
6466
target="_blank"
67+
rel="noopener noreferrer"
6568
>
6669
<GithubIcon className="fill-light dark:fill-dark hover:scale-125 transition-all ease duration-200" />
6770
</a>
@@ -70,6 +73,7 @@ const Footer = () => {
7073
className="inline-block w-6 h-6 mr-4"
7174
aria-label="Check my profile on Dribbble"
7275
target="_blank"
76+
rel="noopener noreferrer"
7377
>
7478
<DribbbleIcon className="hover:scale-125 transition-all ease duration-200" />
7579
</a>

src/components/Header/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ const toggle = () =>{
8383
</button>
8484
</nav>
8585
<div className=" hidden sm:flex items-center">
86-
<a href={siteMetadata.linkedin} className="inline-block w-6 h-6 mr-4" aria-label="Reach out to me via LinkedIn" target="_blank"><LinkedinIcon className="hover:scale-125 transition-all ease duration-200" /></a>
87-
<a href={siteMetadata.twitter} className="inline-block w-6 h-6 mr-4" aria-label="Reach out to me via Twitter" target="_blank"><TwitterIcon className="hover:scale-125 transition-all ease duration-200" /></a>
88-
<a href={siteMetadata.github} className="inline-block w-6 h-6 mr-4" aria-label="Check my profile on Github" target="_blank"><GithubIcon className=" hover:scale-125 transition-all ease duration-200 dark:fill-light" /></a>
89-
<a href={siteMetadata.dribbble} className="inline-block w-6 h-6 mr-4" aria-label="Check my profile on Dribbble" target="_blank"><DribbbleIcon className="hover:scale-125 transition-all ease duration-200" /></a>
86+
<a href={siteMetadata.linkedin} rel="noopener noreferrer" className="inline-block w-6 h-6 mr-4" aria-label="Reach out to me via LinkedIn" target="_blank"><LinkedinIcon className="hover:scale-125 transition-all ease duration-200" /></a>
87+
<a href={siteMetadata.twitter} rel="noopener noreferrer" className="inline-block w-6 h-6 mr-4" aria-label="Reach out to me via Twitter" target="_blank"><TwitterIcon className="hover:scale-125 transition-all ease duration-200" /></a>
88+
<a href={siteMetadata.github} rel="noopener noreferrer" className="inline-block w-6 h-6 mr-4" aria-label="Check my profile on Github" target="_blank"><GithubIcon className=" hover:scale-125 transition-all ease duration-200 dark:fill-light" /></a>
89+
<a href={siteMetadata.dribbble} rel="noopener noreferrer" className="inline-block w-6 h-6 mr-4" aria-label="Check my profile on Dribbble" target="_blank"><DribbbleIcon className="hover:scale-125 transition-all ease duration-200" /></a>
9090
</div>
9191
</header>
9292
)

0 commit comments

Comments
 (0)