Skip to content

Commit

Permalink
add noopener noreferrer to links to external websites
Browse files Browse the repository at this point in the history
  • Loading branch information
petar-i-todorov committed Jan 4, 2024
1 parent c956de2 commit 0547b7e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/components/hamburger-menu-lg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export default function HamburgerMenu({
<Link
to="https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley"
target="_blank"
rel="noopener noreferrer"
>
<Icon
name="facebook-logo"
Expand All @@ -102,6 +103,7 @@ export default function HamburgerMenu({
<Link
to="https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley"
target="_blank"
rel="noopener noreferrer"
>
<Icon
name="twitter-logo"
Expand All @@ -113,6 +115,7 @@ export default function HamburgerMenu({
<Link
to="https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley"
target="_blank"
rel="noopener noreferrer"
>
<Icon
name="instagram-logo"
Expand All @@ -124,6 +127,7 @@ export default function HamburgerMenu({
<Link
to="https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley"
target="_blank"
rel="noopener noreferrer"
>
<Icon
name="youtube-logo"
Expand All @@ -135,6 +139,7 @@ export default function HamburgerMenu({
<Link
to="https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley"
target="_blank"
rel="noopener noreferrer"
>
<Icon
name="twitch-logo"
Expand Down
5 changes: 5 additions & 0 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ function App() {
<Link
to="https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley"
target="_blank"
rel="noopener noreferrer"
>
<Icon
name="facebook-logo"
Expand All @@ -507,6 +508,7 @@ function App() {
<Link
to="https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley"
target="_blank"
rel="noopener noreferrer"
>
<Icon
name="twitter-logo"
Expand All @@ -518,6 +520,7 @@ function App() {
<Link
to="https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley"
target="_blank"
rel="noopener noreferrer"
>
<Icon
name="instagram-logo"
Expand All @@ -529,6 +532,7 @@ function App() {
<Link
to="https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley"
target="_blank"
rel="noopener noreferrer"
>
<Icon
name="youtube-logo"
Expand All @@ -540,6 +544,7 @@ function App() {
<Link
to="https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley"
target="_blank"
rel="noopener noreferrer"
>
<Icon
name="twitch-logo"
Expand Down

0 comments on commit 0547b7e

Please sign in to comment.