Skip to content

Commit 9a2594a

Browse files
committed
feat: add Persian titles
1 parent c464614 commit 9a2594a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

components/BackToTop.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ export const BackToTop = () => {
4040
className={`fixed right-4 bottom-4 z-50 rounded-full bg-blue-500 p-2 text-white shadow-lg ${
4141
isVisible ? 'animate-fade-in opacity-100 hover:cursor-pointer' : 'animate-fade-out opacity-0'
4242
}`}
43-
aria-label='Back to top'
43+
aria-label='بازگشت به بالا'
44+
title='بازگشت به بالا'
4445
>
4546
<SvgChevronDown />
4647
</button>

components/EscapeButton.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ const EscapeButton = () => {
6060
onClick={handleEscape}
6161
className='fixed top-4 right-4 z-50 flex h-10 w-10 items-center justify-center rounded-lg bg-white/90 p-2 text-gray-700 shadow-lg backdrop-blur transition-all duration-200 hover:bg-gray-100 hover:text-red-600 sm:h-12 sm:w-12 sm:p-3'
6262
aria-label='خروج سریع'
63+
title='خروج سریع'
6364
>
6465
<XIcon />
6566
</button>

0 commit comments

Comments
 (0)