Skip to content

Commit

Permalink
Merge pull request #76 from kapatych-be/main
Browse files Browse the repository at this point in the history
- [x] Top-level navigation (currently in TopNav.tsx) (@kapatych-be)
  • Loading branch information
zubialevich authored May 24, 2024
2 parents 52ed432 + ef2e052 commit e21c67d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/components/Layout/TopNav/TopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ export default function TopNav({
)}
onClick={onOpenSearch}>
<IconSearch className="align-middle me-3 text-gray-30 shrink-0 group-betterhover:hover:text-gray-70" />
Search
Пошук
<span className="hidden ms-auto sm:flex item-center me-1">
<Kbd data-platform="mac"></Kbd>
<Kbd data-platform="win" wide>
Expand All @@ -318,18 +318,18 @@ export default function TopNav({
<div className="text-base justify-center items-center gap-1.5 flex 3xl:flex-1 flex-row 3xl:justify-end">
<div className="mx-2.5 gap-1.5 hidden lg:flex">
<NavItem isActive={section === 'learn'} url="/learn">
Learn
Вывучаць
</NavItem>
<NavItem
isActive={section === 'reference'}
url="/reference/react">
Reference
Даведнік
</NavItem>
<NavItem isActive={section === 'community'} url="/community">
Community
Супольнасць
</NavItem>
<NavItem isActive={section === 'blog'} url="/blog">
Blog
Блог
</NavItem>
</div>
<div className="flex w-full md:hidden"></div>
Expand Down Expand Up @@ -405,20 +405,20 @@ export default function TopNav({
<Suspense fallback={null}>
<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">
<NavItem isActive={section === 'learn'} url="/learn">
Learn
Вывучаць
</NavItem>
<NavItem
isActive={section === 'reference'}
url="/reference/react">
Reference
Даведнік
</NavItem>
<NavItem
isActive={section === 'community'}
url="/community">
Community
Супольнасць
</NavItem>
<NavItem isActive={section === 'blog'} url="/blog">
Blog
Блог
</NavItem>
</div>
<div
Expand Down

0 comments on commit e21c67d

Please sign in to comment.