mirror of
https://github.com/rehlds/rehlds.github.io.git
synced 2025-02-11 14:18:45 +03:00
i18n
: Get Started
button locale
This commit is contained in:
parent
e03a19615e
commit
0426cb3ab5
@ -440,5 +440,9 @@
|
|||||||
"theme.tags.tagsPageTitle": {
|
"theme.tags.tagsPageTitle": {
|
||||||
"message": "Теги",
|
"message": "Теги",
|
||||||
"description": "The title of the tag list page"
|
"description": "The title of the tag list page"
|
||||||
|
},
|
||||||
|
"Get Started": {
|
||||||
|
"message": "Начать изучение",
|
||||||
|
"description": "CTA button on main page"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,7 @@ import Layout from '@theme/Layout';
|
|||||||
import Heading from '@theme/Heading';
|
import Heading from '@theme/Heading';
|
||||||
import styles from './index.module.css';
|
import styles from './index.module.css';
|
||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
|
import Translate from '@docusaurus/Translate';
|
||||||
|
|
||||||
interface Repository {
|
interface Repository {
|
||||||
repo: any;
|
repo: any;
|
||||||
@ -73,10 +74,8 @@ function HomepageHeader() {
|
|||||||
</Heading>
|
</Heading>
|
||||||
<p className="hero__subtitle">{siteConfig.tagline}</p>
|
<p className="hero__subtitle">{siteConfig.tagline}</p>
|
||||||
<div className={styles.buttons}>
|
<div className={styles.buttons}>
|
||||||
<Link
|
<Link className="button button--secondary button--lg" to="/docs">
|
||||||
className="button button--secondary button--lg"
|
<Translate description="CTA button on main page">Get Started</Translate>
|
||||||
to="/docs">
|
|
||||||
Get Started
|
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user