@@ -253,7 +253,7 @@ export default function TopNav({
253
253
< div className = "flex flex-row 3xl:flex-1 items-centers" >
254
254
< button
255
255
type = "button"
256
- aria-label = "Menu "
256
+ aria-label = "Меню "
257
257
onClick = { ( ) => setIsMenuOpen ( ! isMenuOpen ) }
258
258
className = { cn (
259
259
'active:scale-95 transition-transform flex lg:hidden w-12 h-12 rounded-full items-center justify-center hover:bg-primary/5 hover:dark:bg-primary-dark/5 outline-link' ,
@@ -268,8 +268,8 @@ export default function TopNav({
268
268
< div className = "uwu-visible flex items-center justify-center h-full" >
269
269
< NextLink href = "/" >
270
270
< Image
271
- alt = "logo by @sawaratsuki1004"
272
- title = "logo by @sawaratsuki1004"
271
+ alt = "лого від @sawaratsuki1004"
272
+ title = "лого від @sawaratsuki1004"
273
273
className = "h-8"
274
274
priority
275
275
width = { 63 }
@@ -308,7 +308,7 @@ export default function TopNav({
308
308
) }
309
309
onClick = { onOpenSearch } >
310
310
< IconSearch className = "align-middle me-3 text-gray-30 shrink-0 group-betterhover:hover:text-gray-70" />
311
- Search
311
+ Пошук
312
312
< span className = "hidden ms-auto sm:flex item-center me-1" >
313
313
< Kbd data-platform = "mac" > ⌘</ Kbd >
314
314
< Kbd data-platform = "win" wide >
@@ -321,25 +321,25 @@ export default function TopNav({
321
321
< div className = "text-base justify-center items-center gap-1.5 flex 3xl:flex-1 flex-row 3xl:justify-end" >
322
322
< div className = "mx-2.5 gap-1.5 hidden lg:flex" >
323
323
< NavItem isActive = { section === 'learn' } url = "/learn" >
324
- Learn
324
+ Вивчення
325
325
</ NavItem >
326
326
< NavItem
327
327
isActive = { section === 'reference' }
328
328
url = "/reference/react" >
329
- Reference
329
+ Довідник
330
330
</ NavItem >
331
331
< NavItem isActive = { section === 'community' } url = "/community" >
332
- Community
332
+ Спільнота
333
333
</ NavItem >
334
334
< NavItem isActive = { section === 'blog' } url = "/blog" >
335
- Blog
335
+ Блог
336
336
</ NavItem >
337
337
</ div >
338
338
< div className = "flex w-full md:hidden" > </ div >
339
339
< div className = "flex items-center -space-x-2.5 xs:space-x-0 " >
340
340
< div className = "flex md:hidden" >
341
341
< button
342
- aria-label = "Search "
342
+ aria-label = "Пошук "
343
343
type = "button"
344
344
className = "flex items-center justify-center w-12 h-12 transition-transform rounded-full active:scale-95 md:hidden hover:bg-secondary-button hover:dark:bg-secondary-button-dark outline-link"
345
345
onClick = { onOpenSearch } >
@@ -349,7 +349,7 @@ export default function TopNav({
349
349
< div className = "flex dark:hidden" >
350
350
< button
351
351
type = "button"
352
- aria-label = "Use Dark Mode "
352
+ aria-label = "Використовувати темний режим "
353
353
onClick = { ( ) => {
354
354
window . __setPreferredTheme ( 'dark' ) ;
355
355
} }
@@ -360,7 +360,7 @@ export default function TopNav({
360
360
< div className = "hidden dark:flex" >
361
361
< button
362
362
type = "button"
363
- aria-label = "Use Light Mode "
363
+ aria-label = "Використовувати світлий режим "
364
364
onClick = { ( ) => {
365
365
window . __setPreferredTheme ( 'light' ) ;
366
366
} }
@@ -371,7 +371,7 @@ export default function TopNav({
371
371
< div className = "flex" >
372
372
< Link
373
373
href = "/community/translations"
374
- aria-label = "Translations "
374
+ aria-label = "Переклади "
375
375
className = "active:scale-95 transition-transform flex w-12 h-12 rounded-full items-center justify-center hover:bg-primary/5 hover:dark:bg-primary-dark/5 outline-link" >
376
376
{ languageIcon }
377
377
</ Link >
@@ -381,7 +381,7 @@ export default function TopNav({
381
381
href = "https://github.com/facebook/react/releases"
382
382
target = "_blank"
383
383
rel = "noreferrer noopener"
384
- aria-label = "Open on GitHub"
384
+ aria-label = "Відкрити на GitHub"
385
385
className = "flex items-center justify-center w-12 h-12 transition-transform rounded-full active:scale-95 hover:bg-primary/5 hover:dark:bg-primary-dark/5 outline-link" >
386
386
{ githubIcon }
387
387
</ Link >
@@ -408,20 +408,20 @@ export default function TopNav({
408
408
< Suspense fallback = { null } >
409
409
< div className = "ps-3 xs:ps-5 xs:gap-0.5 xs:text-base overflow-x-auto flex flex-row lg:hidden text-base font-bold text-secondary dark:text-secondary-dark" >
410
410
< NavItem isActive = { section === 'learn' } url = "/learn" >
411
- Learn
411
+ Вивчення
412
412
</ NavItem >
413
413
< NavItem
414
414
isActive = { section === 'reference' }
415
415
url = "/reference/react" >
416
- Reference
416
+ Довідник
417
417
</ NavItem >
418
418
< NavItem
419
419
isActive = { section === 'community' }
420
420
url = "/community" >
421
- Community
421
+ Спільнота
422
422
</ NavItem >
423
423
< NavItem isActive = { section === 'blog' } url = "/blog" >
424
- Blog
424
+ Блог
425
425
</ NavItem >
426
426
</ div >
427
427
< div
0 commit comments