Skip to content

Commit 8446a22

Browse files
✨ Update GitHub Actions to use upload-artifact@v3 and add Arabic translations for navigation items
1 parent 984c1f0 commit 8446a22

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/analyze.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
run: ls -laR .next/analyze/base && npx -p nextjs-bundle-analysis compare
7474

7575
- name: Upload analysis comment
76-
uses: actions/upload-artifact@v3.1.0
76+
uses: actions/upload-artifact@v3
7777
with:
7878
name: analysis_comment.txt
7979
path: .next/analyze/__bundle_analysis_comment.txt
@@ -82,7 +82,7 @@ jobs:
8282
run: echo ${{ github.event.number }} > ./pr_number
8383

8484
- name: Upload PR number
85-
uses: actions/upload-artifact@v3.1.0
85+
uses: actions/upload-artifact@v3
8686
with:
8787
name: pr_number
8888
path: ./pr_number

src/components/Layout/TopNav/TopNav.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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,18 +321,18 @@ 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>
@@ -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

Comments
 (0)