@@ -80,119 +80,119 @@ const HomePage = ({ data }) => {
80
80
return (
81
81
< div key = { "social icons" + index } >
82
82
{ icons . icon === "facebook" ? (
83
- < a href = { icons . url } target = "_blank" aria-label = "link to Facebook" >
83
+ < a href = { icons . url } target = "_blank" aria-label = "link to Facebook" rel = "noopener noreferrer" >
84
84
< RiFacebookBoxFill alt = "Facebook icon" />
85
85
</ a >
86
86
) : (
87
87
""
88
88
) }
89
89
{ icons . icon === "twitter" ? (
90
- < a href = { icons . url } target = "_blank" aria-label = "link to Twitter" >
90
+ < a href = { icons . url } target = "_blank" aria-label = "link to Twitter" rel = "noopener noreferrer" >
91
91
< RiTwitterFill alt = "Twitter icon" />
92
92
</ a >
93
93
) : (
94
94
""
95
95
) }
96
96
{ icons . icon === "linkedin" ? (
97
- < a href = { icons . url } target = "_blank" aria-label = "link to Linkedin" >
97
+ < a href = { icons . url } target = "_blank" aria-label = "link to Linkedin" rel = "noopener noreferrer" >
98
98
< RiLinkedinBoxFill alt = "Linkedin icon" />
99
99
</ a >
100
100
) : (
101
101
""
102
102
) }
103
103
{ icons . icon === "youtube" ? (
104
- < a href = { icons . url } target = "_blank" aria-label = "link to Youtube" >
104
+ < a href = { icons . url } target = "_blank" aria-label = "link to Youtube" rel = "noopener noreferrer" >
105
105
< RiYoutubeFill alt = "Youtube icon" />
106
106
</ a >
107
107
) : (
108
108
""
109
109
) }
110
110
{ icons . icon === "instagram" ? (
111
- < a href = { icons . url } target = "_blank" aria-label = "link to Instagram" >
111
+ < a href = { icons . url } target = "_blank" aria-label = "link to Instagram" rel = "noopener noreferrer" >
112
112
< RiInstagramFill alt = "Instagram icon" />
113
113
</ a >
114
114
) : (
115
115
""
116
116
) }
117
117
{ icons . icon === "rss" ? (
118
- < a href = { icons . url } target = "_blank" aria-label = "link to RSS" >
118
+ < a href = { icons . url } target = "_blank" aria-label = "link to RSS" rel = "noopener noreferrer" >
119
119
< RiRssFill alt = "RSS icon" />
120
120
</ a >
121
121
) : (
122
122
""
123
123
) }
124
124
{ icons . icon === "github" ? (
125
- < a href = { icons . url } target = "_blank" aria-label = "link to Github" >
125
+ < a href = { icons . url } target = "_blank" aria-label = "link to Github" rel = "noopener noreferrer" >
126
126
< RiGithubFill alt = "Github icon" />
127
127
</ a >
128
128
) : (
129
129
""
130
130
) }
131
131
{ icons . icon === "telegram" ? (
132
- < a href = { icons . url } target = "_blank" aria-label = "link to Telegram" >
132
+ < a href = { icons . url } target = "_blank" aria-label = "link to Telegram" rel = "noopener noreferrer" >
133
133
< RiTelegramFill alt = "Telegram icon" />
134
134
</ a >
135
135
) : (
136
136
""
137
137
) }
138
138
{ icons . icon === "pinterest" ? (
139
- < a href = { icons . url } target = "_blank" aria-label = "link to Pinterest" >
139
+ < a href = { icons . url } target = "_blank" aria-label = "link to Pinterest" rel = "noopener noreferrer" >
140
140
< RiPinterestFill alt = "Pinterest icon" />
141
141
</ a >
142
142
) : (
143
143
""
144
144
) }
145
145
{ icons . icon === "snapchat" ? (
146
- < a href = { icons . url } target = "_blank" aria-label = "link to Snapchat" >
146
+ < a href = { icons . url } target = "_blank" aria-label = "link to Snapchat" rel = "noopener noreferrer" >
147
147
< RiSnapchatFill alt = "Snapchat icon" />
148
148
</ a >
149
149
) : (
150
150
""
151
151
) }
152
152
{ icons . icon === "skype" ? (
153
- < a href = { icons . url } target = "_blank" aria-label = "link to Skype" >
153
+ < a href = { icons . url } target = "_blank" aria-label = "link to Skype" rel = "noopener noreferrer" >
154
154
< RiSkypeFill alt = "Skype icon" />
155
155
</ a >
156
156
) : (
157
157
""
158
158
) }
159
159
{ icons . icon === "wordpress" ? (
160
- < a href = { icons . url } target = "_blank" aria-label = "link to Wordpress" >
160
+ < a href = { icons . url } target = "_blank" aria-label = "link to Wordpress" rel = "noopener noreferrer" >
161
161
< FaWordpress alt = "Wordpress icon" />
162
162
</ a >
163
163
) : (
164
164
""
165
165
) }
166
166
{ icons . icon === "tiktok" ? (
167
- < a href = { icons . url } target = "_blank" aria-label = "link to Wordpress" >
167
+ < a href = { icons . url } target = "_blank" aria-label = "link to Wordpress" rel = "noopener noreferrer" >
168
168
< FaTiktok alt = "tiktok icon" />
169
169
</ a >
170
170
) : (
171
171
""
172
172
) }
173
173
{ icons . icon === "dribbble" ? (
174
- < a href = { icons . url } target = "_blank" aria-label = "link to Dribbble" >
174
+ < a href = { icons . url } target = "_blank" aria-label = "link to Dribbble" rel = "noopener noreferrer" >
175
175
< RiDribbbleFill alt = "Dribbble icon" />
176
176
</ a >
177
177
) : (
178
178
""
179
179
) }
180
180
{ icons . icon === "medium" ? (
181
- < a href = { icons . url } target = "_blank" aria-label = "link to Medium" >
181
+ < a href = { icons . url } target = "_blank" aria-label = "link to Medium" rel = "noopener noreferrer" >
182
182
< RiMediumFill alt = "Medium icon" />
183
183
</ a >
184
184
) : (
185
185
""
186
186
) }
187
187
{ icons . icon === "behance" ? (
188
- < a href = { icons . url } target = "_blank" aria-label = "link to Behance" >
188
+ < a href = { icons . url } target = "_blank" aria-label = "link to Behance" rel = "noopener noreferrer" >
189
189
< RiBehanceFill alt = "Behance icon" />
190
190
</ a >
191
191
) : (
192
192
""
193
193
) }
194
194
{ icons . icon === "vk" ? (
195
- < a href = { icons . url } target = "_blank" aria-label = "link to vk" >
195
+ < a href = { icons . url } target = "_blank" aria-label = "link to vk" rel = "noopener noreferrer" >
196
196
< FaVk alt = "vk icon" />
197
197
</ a >
198
198
) : (
0 commit comments