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