Skip to content

Commit e21c67d

Browse files
authored
Merge pull request #76 from kapatych-be/main
- [x] Top-level navigation (currently in TopNav.tsx) (@kapatych-be)
2 parents 52ed432 + ef2e052 commit e21c67d

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/components/Layout/TopNav/TopNav.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ export default function TopNav({
305305
)}
306306
onClick={onOpenSearch}>
307307
<IconSearch className="align-middle me-3 text-gray-30 shrink-0 group-betterhover:hover:text-gray-70" />
308-
Search
308+
Пошук
309309
<span className="hidden ms-auto sm:flex item-center me-1">
310310
<Kbd data-platform="mac"></Kbd>
311311
<Kbd data-platform="win" wide>
@@ -318,18 +318,18 @@ export default function TopNav({
318318
<div className="text-base justify-center items-center gap-1.5 flex 3xl:flex-1 flex-row 3xl:justify-end">
319319
<div className="mx-2.5 gap-1.5 hidden lg:flex">
320320
<NavItem isActive={section === 'learn'} url="/learn">
321-
Learn
321+
Вывучаць
322322
</NavItem>
323323
<NavItem
324324
isActive={section === 'reference'}
325325
url="/reference/react">
326-
Reference
326+
Даведнік
327327
</NavItem>
328328
<NavItem isActive={section === 'community'} url="/community">
329-
Community
329+
Супольнасць
330330
</NavItem>
331331
<NavItem isActive={section === 'blog'} url="/blog">
332-
Blog
332+
Блог
333333
</NavItem>
334334
</div>
335335
<div className="flex w-full md:hidden"></div>
@@ -405,20 +405,20 @@ export default function TopNav({
405405
<Suspense fallback={null}>
406406
<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">
407407
<NavItem isActive={section === 'learn'} url="/learn">
408-
Learn
408+
Вывучаць
409409
</NavItem>
410410
<NavItem
411411
isActive={section === 'reference'}
412412
url="/reference/react">
413-
Reference
413+
Даведнік
414414
</NavItem>
415415
<NavItem
416416
isActive={section === 'community'}
417417
url="/community">
418-
Community
418+
Супольнасць
419419
</NavItem>
420420
<NavItem isActive={section === 'blog'} url="/blog">
421-
Blog
421+
Блог
422422
</NavItem>
423423
</div>
424424
<div

0 commit comments

Comments
 (0)