Skip to content

Translate "TopNavigator" #856

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/components/Layout/TopNav/TopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,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 @@ -323,18 +323,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