File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export const SmallFooter = () => {
13
13
{ /* In Germany, Austria, and Switzerland, the Impressum link is legally required. */ }
14
14
{ router . locale === 'de' && (
15
15
< li className = "mr-3 mr-xl-0" >
16
- < a href = "https://aka.ms/impressum_de" target = "_blank" >
16
+ < a href = "https://aka.ms/impressum_de" target = "_blank" rel = "noopener" >
17
17
Impressum
18
18
</ a >
19
19
< LinkExternalIcon size = { 12 } />
@@ -26,19 +26,13 @@ export const SmallFooter = () => {
26
26
</ li >
27
27
< li className = "mr-3 mr-xl-0" >
28
28
{ /* KO law requires link to privacy statement to be conspicuous */ }
29
- { router . locale === 'ko' ? (
30
- < Link
31
- href = { `/${ router . locale } /site-policy/privacy-policies/github-privacy-statement` }
32
- legacyBehavior = { false }
33
- className = "color-fg-attention text-bold"
34
- >
35
- { t ( 'privacy' ) }
36
- </ Link >
37
- ) : (
38
- < Link href = { `/${ router . locale } /site-policy/privacy-policies/github-privacy-statement` } >
39
- { t ( 'privacy' ) }
40
- </ Link >
41
- ) }
29
+ < Link
30
+ href = { `/${ router . locale } /site-policy/privacy-policies/github-privacy-statement` }
31
+ legacyBehavior = { false }
32
+ className = { router . locale === 'ko' ? 'color-fg-attention text-bold' : undefined }
33
+ >
34
+ { t ( 'privacy' ) }
35
+ </ Link >
42
36
</ li >
43
37
< li className = "mr-3 mr-xl-0" >
44
38
< a href = "https://github.com/security" > { t ( 'product.links.security' ) } </ a >
You can’t perform that action at this time.
0 commit comments