Skip to content

Commit 45247e1

Browse files
david-cho-lerat-sonarsourcesonartech
authored andcommitted
SC-34919 Use regular font-weight in footer links
GitOrigin-RevId: 2b1bc85f185f97d62d1b4565835678393b501bea
1 parent f4e44a3 commit 45247e1

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

apps/sq-server/src/main/js/app/components/GlobalFooter.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export default function GlobalFooter({ hideLoggedInInfo }: Readonly<GlobalFooter
9797
<LinkStandalone
9898
enableOpenInNewTab
9999
highlight={LinkHighlight.CurrentColor}
100+
isDiscreet
100101
to="https://www.gnu.org/licenses/lgpl-3.0.txt"
101102
>
102103
{intl.formatMessage({ id: 'footer.license.lgplv3' })}
@@ -105,6 +106,7 @@ export default function GlobalFooter({ hideLoggedInInfo }: Readonly<GlobalFooter
105106
<LinkStandalone
106107
enableOpenInNewTab
107108
highlight={LinkHighlight.CurrentColor}
109+
isDiscreet
108110
to="https://www.sonarsource.com/legal/sonarqube/terms-and-conditions/"
109111
>
110112
{intl.formatMessage({ id: 'footer.license.sqs' })}
@@ -116,6 +118,7 @@ export default function GlobalFooter({ hideLoggedInInfo }: Readonly<GlobalFooter
116118
<LinkStandalone
117119
enableOpenInNewTab
118120
highlight={LinkHighlight.CurrentColor}
121+
isDiscreet
119122
to={COMMUNITY_FORUM_URL}
120123
>
121124
{intl.formatMessage({ id: 'footer.community' })}
@@ -126,6 +129,7 @@ export default function GlobalFooter({ hideLoggedInInfo }: Readonly<GlobalFooter
126129
<LinkStandalone
127130
enableOpenInNewTab
128131
highlight={LinkHighlight.CurrentColor}
132+
isDiscreet
129133
to={docUrl(DocLink.Root)}
130134
>
131135
{intl.formatMessage({ id: 'footer.documentation' })}
@@ -136,6 +140,7 @@ export default function GlobalFooter({ hideLoggedInInfo }: Readonly<GlobalFooter
136140
<LinkStandalone
137141
enableOpenInNewTab
138142
highlight={LinkHighlight.CurrentColor}
143+
isDiscreet
139144
to={docUrl(DocLink.InstanceAdminPluginVersionMatrix)}
140145
>
141146
{intl.formatMessage({ id: 'footer.plugins' })}
@@ -144,7 +149,7 @@ export default function GlobalFooter({ hideLoggedInInfo }: Readonly<GlobalFooter
144149

145150
{!hideLoggedInInfo && (
146151
<li>
147-
<LinkStandalone highlight={LinkHighlight.CurrentColor} to="/web_api">
152+
<LinkStandalone highlight={LinkHighlight.CurrentColor} isDiscreet to="/web_api">
148153
{intl.formatMessage({ id: 'footer.web_api' })}
149154
</LinkStandalone>
150155
</li>

apps/sq-server/src/main/js/app/components/GlobalFooterBranding.tsx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919
*/
2020

21-
import { Link, LinkHighlight } from '@sonarsource/echoes-react';
21+
import { LinkHighlight, LinkStandalone } from '@sonarsource/echoes-react';
2222
import { isOfficial } from '~sq-server-commons/helpers/system';
2323

2424
export default function GlobalFooterBranding() {
@@ -29,34 +29,37 @@ export default function GlobalFooterBranding() {
2929
{official ? (
3030
<span>
3131
SonarQube&trade; technology is powered by{' '}
32-
<Link
32+
<LinkStandalone
3333
enableOpenInNewTab
3434
highlight={LinkHighlight.CurrentColor}
35+
isDiscreet
3536
to="https://www.sonarsource.com"
3637
>
3738
SonarSource Sàrl
38-
</Link>
39+
</LinkStandalone>
3940
</span>
4041
) : (
4142
<span>
4243
This application is based on{' '}
43-
<Link
44+
<LinkStandalone
4445
enableOpenInNewTab
4546
highlight={LinkHighlight.CurrentColor}
47+
isDiscreet
4648
title="SonarQube™"
4749
to="https://www.sonarsource.com/products/sonarqube/?referrer=sonarqube"
4850
>
4951
SonarQube™
50-
</Link>{' '}
52+
</LinkStandalone>{' '}
5153
but is <strong>not</strong> an official version provided by{' '}
52-
<Link
54+
<LinkStandalone
5355
enableOpenInNewTab
5456
highlight={LinkHighlight.CurrentColor}
57+
isDiscreet
5558
title="SonarSource Sàrl"
5659
to="https://www.sonarsource.com"
5760
>
5861
SonarSource Sàrl
59-
</Link>
62+
</LinkStandalone>
6063
.
6164
</span>
6265
)}

0 commit comments

Comments
 (0)