Skip to content

Commit b5878f7

Browse files
authored
partially translateв
1 parent 951189b commit b5878f7

File tree

1 file changed

+21
-22
lines changed

1 file changed

+21
-22
lines changed

src/components/Layout/HomeContent.js

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -136,71 +136,70 @@ export function HomeContent() {
136136
React
137137
</h1>
138138
<p className="text-4xl font-display max-w-lg md:max-w-full py-1 text-center text-secondary dark:text-primary-dark leading-snug self-center">
139-
The library for web and native user interfaces
139+
Библиотека для веб- и нативных пользовательских интерфейсов
140140
</p>
141141
<div className="mt-5 self-center flex gap-2 w-full sm:w-auto flex-col sm:flex-row">
142142
<ButtonLink
143143
href={'/learn'}
144144
type="primary"
145145
size="lg"
146146
className="w-full sm:w-auto justify-center"
147-
label="Learn React">
147+
label="К изучению React">
148148
Learn React
149149
</ButtonLink>
150150
<ButtonLink
151151
href={'/reference/react'}
152152
type="secondary"
153153
size="lg"
154154
className="w-full sm:w-auto justify-center"
155-
label="API Reference">
155+
label="Справочник API">
156156
API Reference
157157
</ButtonLink>
158158
</div>
159159
</div>
160160

161161
<Section background="left-card">
162162
<Center>
163-
<Header>Create user interfaces from components</Header>
163+
<Header>Создание пользовательских интерфейсов из компонентов</Header>
164164
<Para>
165-
React lets you build user interfaces out of individual pieces
166-
called components. Create your own React components like{' '}
167-
<Code>Thumbnail</Code>, <Code>LikeButton</Code>, and{' '}
168-
<Code>Video</Code>. Then combine them into entire screens, pages,
169-
and apps.
165+
React позволяет вам создавать пользовательские интерфейсы из
166+
отдельных частей, называемых компонентами. Создавайте собственные React-компоненты, такие как{' '}
167+
<Code>Thumbnail</Code>, <Code>LikeButton</Code>, и{' '}
168+
<Code>Video</Code>, затем объединяйте их в целые страницы и приложения.
170169
</Para>
171170
</Center>
172171
<FullBleed>
173172
<Example1 />
174173
</FullBleed>
175174
<Center>
176175
<Para>
177-
Whether you work on your own or with thousands of other
178-
developers, using React feels the same. It is designed to let you
179-
seamlessly combine components written by independent people,
180-
teams, and organizations.
176+
Независимо от того, работаете ли вы самостоятельно или с тысячами
177+
других разработчиков, использование React ощущается одинаково, ведь
178+
он разработан так, чтобы позволить вам легко объединять компоненты,
179+
написанные независимыми людьми, командами и организациями.
181180
</Para>
182181
</Center>
183182
</Section>
184183

185184
<Section background="right-card">
186185
<Center>
187-
<Header>Write components with code and markup</Header>
186+
<Header>Создавайте компоненты с кодом и разметкой</Header>
188187
<Para>
189-
React components are JavaScript functions. Want to show some
190-
content conditionally? Use an <Code>if</Code> statement.
191-
Displaying a list? Try array <Code>map()</Code>. Learning React is
192-
learning programming.
188+
Компоненты React — это функции JavaScript. Хотите отобразить
189+
содержимое условно? Используйте оператор <Code>if</Code>.
190+
Отображаете список? Попробуйте метод массива <Code>map()</Code>.
191+
Изучение React — это изучение программирования.
193192
</Para>
194193
</Center>
195194
<FullBleed>
196195
<Example2 />
197196
</FullBleed>
198197
<Center>
199198
<Para>
200-
This markup syntax is called JSX. It is a JavaScript syntax
201-
extension popularized by React. Putting JSX markup close to
202-
related rendering logic makes React components easy to create,
203-
maintain, and delete.
199+
Этот синтаксис называется JSX. Это расширение для ситнаксиса
200+
JavaScript, которое популяризировал React. Размещение JSX-разметки
201+
рядом с соответствующей логикой рендеринга упрощает создание,
202+
изменение и удаление компонентов React.
204203
</Para>
205204
</Center>
206205
</Section>

0 commit comments

Comments
 (0)