mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
fix: useBaseUrl on translated links (#2354)
This commit is contained in:
parent
d1d820f8b2
commit
2808cc268f
4 changed files with 4 additions and 4 deletions
|
@ -49,7 +49,7 @@ const Features = (): React.ReactElement => (
|
|||
))}
|
||||
</div>
|
||||
<div className={styles.linkFeatures}>
|
||||
<Link to={useBaseUrl("/docs/configuration")} className="link-primary">
|
||||
<Link to={useBaseUrl('/docs/configuration')} className="link-primary">
|
||||
<Translate>Discover more features</Translate>
|
||||
</Link>
|
||||
</div>
|
||||
|
|
|
@ -23,7 +23,7 @@ const Header = (): React.ReactElement => {
|
|||
<a href="https://github.com/verdaccio/verdaccio" className="link-secondary">
|
||||
GITHUB
|
||||
</a>
|
||||
<Link to={useBaseUrl("/docs/what-is-verdaccio")} className="link-primary">
|
||||
<Link to={useBaseUrl('/docs/what-is-verdaccio')} className="link-primary">
|
||||
<Translate>GET STARTED</Translate>
|
||||
</Link>
|
||||
<a href="https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md" className="link-secondary">
|
||||
|
|
|
@ -20,7 +20,7 @@ const WhatIs = (): React.ReactElement => (
|
|||
services such as Amazon's S3, Google Cloud Storage or create your own plugin.
|
||||
</Translate>
|
||||
</p>
|
||||
<Link to={useBaseUrl("/docs/installation")} className="link-primary">
|
||||
<Link to={useBaseUrl('/docs/installation')} className="link-primary">
|
||||
<Translate>Dive into Verdaccio</Translate>
|
||||
</Link>
|
||||
<Divider />
|
||||
|
|
|
@ -57,7 +57,7 @@ const SUPPORT_LINKS = (lang: string) => [
|
|||
<Translate
|
||||
values={{
|
||||
link: (
|
||||
<Link to={useBaseUrl("/docs/what-is-verdaccio")}>
|
||||
<Link to={useBaseUrl('/docs/what-is-verdaccio')}>
|
||||
<Translate>documentation on this site</Translate>
|
||||
</Link>
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue