Skip to content

Commit 1a5f99b

Browse files
committed
previous-and-next-translated
1 parent f22023b commit 1a5f99b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/components/DocsFooter.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const DocsPageFooter = memo<DocsPageFooterProps>(
3030
<div className="max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-2 gap-4 py-4 md:py-12">
3131
{prevRoute?.path ? (
3232
<FooterLink
33-
type="Previous"
33+
type="পূর্ববর্তী পেইজ"
3434
title={prevRoute.title}
3535
href={prevRoute.path}
3636
/>
@@ -40,7 +40,7 @@ export const DocsPageFooter = memo<DocsPageFooterProps>(
4040

4141
{nextRoute?.path ? (
4242
<FooterLink
43-
type="Next"
43+
type="পরবর্তী পেইজ"
4444
title={nextRoute.title}
4545
href={nextRoute.path}
4646
/>
@@ -63,20 +63,21 @@ function FooterLink({
6363
}: {
6464
href: string;
6565
title: string;
66-
type: 'Previous' | 'Next';
66+
type: 'পূর্ববর্তী পেইজ' | 'পরবর্তী পেইজ';
6767
}) {
6868
return (
6969
<NextLink
7070
href={href}
7171
className={cn(
7272
'flex gap-x-4 md:gap-x-6 items-center w-full md:w-80 px-4 md:px-5 py-6 border-2 border-transparent text-base leading-base text-link dark:text-link-dark rounded-lg group focus:text-link dark:focus:text-link-dark focus:bg-highlight focus:border-link dark:focus:bg-highlight-dark dark:focus:border-link-dark focus:border-opacity-100 focus:border-2 focus:ring-1 focus:ring-offset-4 focus:ring-blue-40 active:ring-0 active:ring-offset-0 hover:bg-gray-5 dark:hover:bg-gray-80',
7373
{
74-
'flex-row-reverse justify-self-end text-right': type === 'Next',
74+
'flex-row-reverse justify-self-end text-right':
75+
type === 'পরবর্তী পেইজ',
7576
}
7677
)}>
7778
<IconNavArrow
7879
className="text-tertiary dark:text-tertiary-dark inline group-focus:text-link dark:group-focus:text-link-dark"
79-
displayDirection={type === 'Previous' ? 'left' : 'right'}
80+
displayDirection={type === 'পূর্ববর্তী পেইজ' ? 'left' : 'right'}
8081
/>
8182
<span>
8283
<span className="block no-underline text-sm tracking-wide text-secondary dark:text-secondary-dark uppercase font-bold group-focus:text-link dark:group-focus:text-link-dark group-focus:text-opacity-100">

0 commit comments

Comments
 (0)