Skip to content

Commit 833e2cb

Browse files
committed
translate part of the home page
1 parent 863ce0b commit 833e2cb

1 file changed

Lines changed: 35 additions & 34 deletions

File tree

src/components/Layout/HomeContent.js

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -131,100 +131,101 @@ export function HomeContent() {
131131
React
132132
</h1>
133133
<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">
134-
The library for web and native user interfaces
134+
Веб және нативті бағдарлама интерфейстеріне арналған қосымша
135135
</p>
136136
<div className="mt-5 self-center flex gap-2 w-full sm:w-auto flex-col sm:flex-row">
137137
<ButtonLink
138138
href={'/learn'}
139139
type="primary"
140140
size="lg"
141141
className="w-full sm:w-auto justify-center"
142-
label="Learn React">
143-
Learn React
142+
label="React үйрену">
143+
React үйрену
144144
</ButtonLink>
145145
<ButtonLink
146146
href={'/reference/react'}
147147
type="secondary"
148148
size="lg"
149149
className="w-full sm:w-auto justify-center"
150-
label="API Reference">
151-
API Reference
150+
label="API сілтеме">
151+
API сілтеме
152152
</ButtonLink>
153153
</div>
154154
</div>
155155

156156
<Section background="left-card">
157157
<Center>
158-
<Header>Create user interfaces from components</Header>
158+
<Header>Компоненттерден пайдаланушы интерфейстерін жасаңыз</Header>
159159
<Para>
160-
React lets you build user interfaces out of individual pieces
161-
called components. Create your own React components like{' '}
162-
<Code>Thumbnail</Code>, <Code>LikeButton</Code>, and{' '}
163-
<Code>Video</Code>. Then combine them into entire screens, pages,
164-
and apps.
160+
React компоненттері деп атаулы, жеке бөліктерден тұратын
161+
пайдаланушы интерфейстерін жасауға мүмкіндік береді.{' '}
162+
<Code>Thumbnail</Code>, <Code>LikeButton</Code>, және{' '}
163+
<Code>Video</Code> сияқты өз компоненттеріңізді жасаңыз. Содан
164+
кейін оларды барлық экрандарға, беттерге және қосымшаларға
165+
біріктіріңіз.
165166
</Para>
166167
</Center>
167168
<FullBleed>
168169
<Example1 />
169170
</FullBleed>
170171
<Center>
171172
<Para>
172-
Whether you work on your own or with thousands of other
173-
developers, using React feels the same. It is designed to let you
174-
seamlessly combine components written by independent people,
175-
teams, and organizations.
173+
Сіз өзіңіз немесе мыңдаған басқа инженерлермен жұмыс жасасаңыз да,
174+
React қолдану бірдей сезіледі. Ол тәуелсіз адамдар, командалар мен
175+
ұйымдар жазған компоненттерді оңай біріктіруге арналған.
176176
</Para>
177177
</Center>
178178
</Section>
179179

180180
<Section background="right-card">
181181
<Center>
182-
<Header>Write components with code and markup</Header>
182+
<Header>Компоненттерді код пен таңба арқылы жазыңыз</Header>
183183
<Para>
184-
React components are JavaScript functions. Want to show some
185-
content conditionally? Use an <Code>if</Code> statement.
186-
Displaying a list? Try array <Code>map()</Code>. Learning React is
187-
learning programming.
184+
React компоненттері JavaScript функциялары болып табылады. Кейбір
185+
мазмұнды шартты түрде көрсеткіңіз келе ме? <Code>If</Code> шартын
186+
пайдаланыңыз. Тізімді көрсету керек пе? Массив <Code>map()</Code>{' '}
187+
қолданып көріңіз. React үйрену — бағдарламалауды үйрену.
188188
</Para>
189189
</Center>
190190
<FullBleed>
191191
<Example2 />
192192
</FullBleed>
193193
<Center>
194194
<Para>
195-
This markup syntax is called JSX. It is a JavaScript syntax
196-
extension popularized by React. Putting JSX markup close to
197-
related rendering logic makes React components easy to create,
198-
maintain, and delete.
195+
Бұл таңба синтаксисі JSX деп аталады. Бұл React танымал JavaScript
196+
синтаксисінің кеңейтімі. JSX таңбасын қолдану рендеринг логикасына
197+
жақын, React компоненттерін құрастыруды, бақылауды және жою
198+
жеңілдетеді.
199199
</Para>
200200
</Center>
201201
</Section>
202202

203203
<Section background="left-card">
204204
<Center>
205-
<Header>Add interactivity wherever you need it</Header>
205+
<Header>Қажет болған жерде интерактивтілікті қосыңыз</Header>
206206
<Para>
207-
React components receive data and return what should appear on the
208-
screen. You can pass them new data in response to an interaction,
209-
like when the user types into an input. React will then update the
210-
screen to match the new data.
207+
React компоненттері деректерді қабылдайды және экранда пайда
208+
болатын нәрсені қайтарады. Сіз өзара интерактивке жауап ретінде
209+
жаңа деректерді жібере аласыз, мысалы, пайдаланушы деректерді
210+
енгізген кезде. Содан кейін React экранды жаңа деректерге сәйкес
211+
жаңартады.
211212
</Para>
212213
</Center>
213214
<FullBleed>
214215
<Example3 />
215216
</FullBleed>
216217
<Center>
217218
<Para>
218-
You don’t have to build your whole page in React. Add React to
219-
your existing HTML page, and render interactive React components
220-
anywhere on it.
219+
Сізге бүкіл парақшаны React-те құрудың қажеті жоқ. Бар HTML
220+
парақшасына React-ті қосыңыз да және оның кез келген жерінде
221+
интерактивті React компоненттерін рендерленініз.
221222
</Para>
222223
<div className="flex justify-start w-full lg:justify-center">
223224
<CTA
224225
color="gray"
225226
icon="code"
226227
href="/learn/add-react-to-an-existing-project">
227-
Add React to your page
228+
Өз парағыңызға React қосу
228229
</CTA>
229230
</div>
230231
</Center>
@@ -259,7 +260,7 @@ export function HomeContent() {
259260
color="gray"
260261
icon="framework"
261262
href="/learn/start-a-new-react-project">
262-
Get started with a framework
263+
Фреймворктен бастаңыз
263264
</CTA>
264265
</div>
265266
</Center>

0 commit comments

Comments
 (0)