Commit ·
101a56c
1
Parent(s): b821ced
More tests with i18n
Browse files- i18n/de/docusaurus-plugin-content-pages/index.module.css +23 -0
- i18n/de/docusaurus-plugin-content-pages/index.tsx +44 -0
- i18n/en/docusaurus-plugin-content-pages/index.module.css +23 -0
- i18n/en/docusaurus-plugin-content-pages/index.tsx +44 -0
- i18n/ru/docusaurus-plugin-content-pages/index.module.css +23 -0
- i18n/ru/docusaurus-plugin-content-pages/index.tsx +44 -0
i18n/de/docusaurus-plugin-content-pages/index.module.css
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/**
|
| 2 |
+
* CSS files with the .module.css suffix will be treated as CSS modules
|
| 3 |
+
* and scoped locally.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
.heroBanner {
|
| 7 |
+
padding: 4rem 0;
|
| 8 |
+
text-align: center;
|
| 9 |
+
position: relative;
|
| 10 |
+
overflow: hidden;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
@media screen and (max-width: 996px) {
|
| 14 |
+
.heroBanner {
|
| 15 |
+
padding: 2rem;
|
| 16 |
+
}
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
.buttons {
|
| 20 |
+
display: flex;
|
| 21 |
+
align-items: center;
|
| 22 |
+
justify-content: center;
|
| 23 |
+
}
|
i18n/de/docusaurus-plugin-content-pages/index.tsx
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type {ReactNode} from 'react';
|
| 2 |
+
import clsx from 'clsx';
|
| 3 |
+
import Link from '@docusaurus/Link';
|
| 4 |
+
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
| 5 |
+
import Layout from '@theme/Layout';
|
| 6 |
+
import HomepageFeatures from '@site/src/components/HomepageFeatures';
|
| 7 |
+
import Heading from '@theme/Heading';
|
| 8 |
+
|
| 9 |
+
import styles from './index.module.css';
|
| 10 |
+
|
| 11 |
+
function HomepageHeader() {
|
| 12 |
+
const {siteConfig} = useDocusaurusContext();
|
| 13 |
+
return (
|
| 14 |
+
<header className={clsx('hero hero--primary', styles.heroBanner)}>
|
| 15 |
+
<div className="container">
|
| 16 |
+
<Heading as="h1" className="hero__title">
|
| 17 |
+
{siteConfig.title}
|
| 18 |
+
</Heading>
|
| 19 |
+
<p className="hero__subtitle">{siteConfig.tagline}</p>
|
| 20 |
+
<div className={styles.buttons}>
|
| 21 |
+
<Link
|
| 22 |
+
className="button button--secondary button--lg"
|
| 23 |
+
to="/docs/intro">
|
| 24 |
+
Piper Tutorial - 5min
|
| 25 |
+
</Link>
|
| 26 |
+
</div>
|
| 27 |
+
</div>
|
| 28 |
+
</header>
|
| 29 |
+
);
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
export default function Home(): ReactNode {
|
| 33 |
+
const {siteConfig} = useDocusaurusContext();
|
| 34 |
+
return (
|
| 35 |
+
<Layout
|
| 36 |
+
title={`Hello from ${siteConfig.title}`}
|
| 37 |
+
description="Description will go into a meta tag in <head />">
|
| 38 |
+
<HomepageHeader />
|
| 39 |
+
<main>
|
| 40 |
+
<HomepageFeatures />
|
| 41 |
+
</main>
|
| 42 |
+
</Layout>
|
| 43 |
+
);
|
| 44 |
+
}
|
i18n/en/docusaurus-plugin-content-pages/index.module.css
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/**
|
| 2 |
+
* CSS files with the .module.css suffix will be treated as CSS modules
|
| 3 |
+
* and scoped locally.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
.heroBanner {
|
| 7 |
+
padding: 4rem 0;
|
| 8 |
+
text-align: center;
|
| 9 |
+
position: relative;
|
| 10 |
+
overflow: hidden;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
@media screen and (max-width: 996px) {
|
| 14 |
+
.heroBanner {
|
| 15 |
+
padding: 2rem;
|
| 16 |
+
}
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
.buttons {
|
| 20 |
+
display: flex;
|
| 21 |
+
align-items: center;
|
| 22 |
+
justify-content: center;
|
| 23 |
+
}
|
i18n/en/docusaurus-plugin-content-pages/index.tsx
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type {ReactNode} from 'react';
|
| 2 |
+
import clsx from 'clsx';
|
| 3 |
+
import Link from '@docusaurus/Link';
|
| 4 |
+
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
| 5 |
+
import Layout from '@theme/Layout';
|
| 6 |
+
import HomepageFeatures from '@site/src/components/HomepageFeatures';
|
| 7 |
+
import Heading from '@theme/Heading';
|
| 8 |
+
|
| 9 |
+
import styles from './index.module.css';
|
| 10 |
+
|
| 11 |
+
function HomepageHeader() {
|
| 12 |
+
const {siteConfig} = useDocusaurusContext();
|
| 13 |
+
return (
|
| 14 |
+
<header className={clsx('hero hero--primary', styles.heroBanner)}>
|
| 15 |
+
<div className="container">
|
| 16 |
+
<Heading as="h1" className="hero__title">
|
| 17 |
+
{siteConfig.title}
|
| 18 |
+
</Heading>
|
| 19 |
+
<p className="hero__subtitle">{siteConfig.tagline}</p>
|
| 20 |
+
<div className={styles.buttons}>
|
| 21 |
+
<Link
|
| 22 |
+
className="button button--secondary button--lg"
|
| 23 |
+
to="/docs/intro">
|
| 24 |
+
Piper Tutorial - 5min
|
| 25 |
+
</Link>
|
| 26 |
+
</div>
|
| 27 |
+
</div>
|
| 28 |
+
</header>
|
| 29 |
+
);
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
export default function Home(): ReactNode {
|
| 33 |
+
const {siteConfig} = useDocusaurusContext();
|
| 34 |
+
return (
|
| 35 |
+
<Layout
|
| 36 |
+
title={`Hello from ${siteConfig.title}`}
|
| 37 |
+
description="Description will go into a meta tag in <head />">
|
| 38 |
+
<HomepageHeader />
|
| 39 |
+
<main>
|
| 40 |
+
<HomepageFeatures />
|
| 41 |
+
</main>
|
| 42 |
+
</Layout>
|
| 43 |
+
);
|
| 44 |
+
}
|
i18n/ru/docusaurus-plugin-content-pages/index.module.css
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/**
|
| 2 |
+
* CSS files with the .module.css suffix will be treated as CSS modules
|
| 3 |
+
* and scoped locally.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
.heroBanner {
|
| 7 |
+
padding: 4rem 0;
|
| 8 |
+
text-align: center;
|
| 9 |
+
position: relative;
|
| 10 |
+
overflow: hidden;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
@media screen and (max-width: 996px) {
|
| 14 |
+
.heroBanner {
|
| 15 |
+
padding: 2rem;
|
| 16 |
+
}
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
.buttons {
|
| 20 |
+
display: flex;
|
| 21 |
+
align-items: center;
|
| 22 |
+
justify-content: center;
|
| 23 |
+
}
|
i18n/ru/docusaurus-plugin-content-pages/index.tsx
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type {ReactNode} from 'react';
|
| 2 |
+
import clsx from 'clsx';
|
| 3 |
+
import Link from '@docusaurus/Link';
|
| 4 |
+
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
| 5 |
+
import Layout from '@theme/Layout';
|
| 6 |
+
import HomepageFeatures from '@site/src/components/HomepageFeatures';
|
| 7 |
+
import Heading from '@theme/Heading';
|
| 8 |
+
|
| 9 |
+
import styles from './index.module.css';
|
| 10 |
+
|
| 11 |
+
function HomepageHeader() {
|
| 12 |
+
const {siteConfig} = useDocusaurusContext();
|
| 13 |
+
return (
|
| 14 |
+
<header className={clsx('hero hero--primary', styles.heroBanner)}>
|
| 15 |
+
<div className="container">
|
| 16 |
+
<Heading as="h1" className="hero__title">
|
| 17 |
+
{siteConfig.title}
|
| 18 |
+
</Heading>
|
| 19 |
+
<p className="hero__subtitle">Визуальное проектирование процессов с ИИ</p>
|
| 20 |
+
<div className={styles.buttons}>
|
| 21 |
+
<Link
|
| 22 |
+
className="button button--secondary button--lg"
|
| 23 |
+
to="/docs/intro">
|
| 24 |
+
Начать использовать - 5min
|
| 25 |
+
</Link>
|
| 26 |
+
</div>
|
| 27 |
+
</div>
|
| 28 |
+
</header>
|
| 29 |
+
);
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
export default function Home(): ReactNode {
|
| 33 |
+
const {siteConfig} = useDocusaurusContext();
|
| 34 |
+
return (
|
| 35 |
+
<Layout
|
| 36 |
+
title={`Hello from ${siteConfig.title}`}
|
| 37 |
+
description="Description will go into a meta tag in <head />">
|
| 38 |
+
<HomepageHeader />
|
| 39 |
+
<main>
|
| 40 |
+
<HomepageFeatures />
|
| 41 |
+
</main>
|
| 42 |
+
</Layout>
|
| 43 |
+
);
|
| 44 |
+
}
|