@@ -253,7 +253,7 @@ export default function TopNav({
253253 < div className = "flex flex-row 3xl:flex-1 items-centers" >
254254 < button
255255 type = "button"
256- aria-label = "Menu "
256+ aria-label = "Меню "
257257 onClick = { ( ) => setIsMenuOpen ( ! isMenuOpen ) }
258258 className = { cn (
259259 '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({
268268 < div className = "uwu-visible flex items-center justify-center h-full" >
269269 < NextLink href = "/" >
270270 < Image
271- alt = "logo by @sawaratsuki1004"
272- title = "logo by @sawaratsuki1004"
271+ alt = "лого від @sawaratsuki1004"
272+ title = "лого від @sawaratsuki1004"
273273 className = "h-8"
274274 priority
275275 width = { 63 }
@@ -308,7 +308,7 @@ export default function TopNav({
308308 ) }
309309 onClick = { onOpenSearch } >
310310 < IconSearch className = "align-middle me-3 text-gray-30 shrink-0 group-betterhover:hover:text-gray-70" />
311- Search
311+ Пошук
312312 < span className = "hidden ms-auto sm:flex item-center me-1" >
313313 < Kbd data-platform = "mac" > ⌘</ Kbd >
314314 < Kbd data-platform = "win" wide >
@@ -321,25 +321,25 @@ export default function TopNav({
321321 < div className = "text-base justify-center items-center gap-1.5 flex 3xl:flex-1 flex-row 3xl:justify-end" >
322322 < div className = "mx-2.5 gap-1.5 hidden lg:flex" >
323323 < NavItem isActive = { section === 'learn' } url = "/learn" >
324- Learn
324+ Вивчення
325325 </ NavItem >
326326 < NavItem
327327 isActive = { section === 'reference' }
328328 url = "/reference/react" >
329- Reference
329+ Довідник
330330 </ NavItem >
331331 < NavItem isActive = { section === 'community' } url = "/community" >
332- Community
332+ Спільнота
333333 </ NavItem >
334334 < NavItem isActive = { section === 'blog' } url = "/blog" >
335- Blog
335+ Блог
336336 </ NavItem >
337337 </ div >
338338 < div className = "flex w-full md:hidden" > </ div >
339339 < div className = "flex items-center -space-x-2.5 xs:space-x-0 " >
340340 < div className = "flex md:hidden" >
341341 < button
342- aria-label = "Search "
342+ aria-label = "Пошук "
343343 type = "button"
344344 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"
345345 onClick = { onOpenSearch } >
@@ -349,7 +349,7 @@ export default function TopNav({
349349 < div className = "flex dark:hidden" >
350350 < button
351351 type = "button"
352- aria-label = "Use Dark Mode "
352+ aria-label = "Використовувати темний режим "
353353 onClick = { ( ) => {
354354 window . __setPreferredTheme ( 'dark' ) ;
355355 } }
@@ -360,7 +360,7 @@ export default function TopNav({
360360 < div className = "hidden dark:flex" >
361361 < button
362362 type = "button"
363- aria-label = "Use Light Mode "
363+ aria-label = "Використовувати світлий режим "
364364 onClick = { ( ) => {
365365 window . __setPreferredTheme ( 'light' ) ;
366366 } }
@@ -371,7 +371,7 @@ export default function TopNav({
371371 < div className = "flex" >
372372 < Link
373373 href = "/community/translations"
374- aria-label = "Translations "
374+ aria-label = "Переклади "
375375 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" >
376376 { languageIcon }
377377 </ Link >
@@ -381,7 +381,7 @@ export default function TopNav({
381381 href = "https://github.com/facebook/react/releases"
382382 target = "_blank"
383383 rel = "noreferrer noopener"
384- aria-label = "Open on GitHub"
384+ aria-label = "Відкрити на GitHub"
385385 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" >
386386 { githubIcon }
387387 </ Link >
@@ -408,20 +408,20 @@ export default function TopNav({
408408 < Suspense fallback = { null } >
409409 < 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" >
410410 < NavItem isActive = { section === 'learn' } url = "/learn" >
411- Learn
411+ Вивчення
412412 </ NavItem >
413413 < NavItem
414414 isActive = { section === 'reference' }
415415 url = "/reference/react" >
416- Reference
416+ Довідник
417417 </ NavItem >
418418 < NavItem
419419 isActive = { section === 'community' }
420420 url = "/community" >
421- Community
421+ Спільнота
422422 </ NavItem >
423423 < NavItem isActive = { section === 'blog' } url = "/blog" >
424- Blog
424+ Блог
425425 </ NavItem >
426426 </ div >
427427 < div
0 commit comments