Skip to content

Commit d3ff085

Browse files
committed
refactor: translate Previous and Next to 이전 and 다음 in DocsFooter.tsx
문서 하단부 Footer에서 Previous 및 Next로 표현되던 텍스트 한국어로 수정.
1 parent 815606d commit d3ff085

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/DocsFooter.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const DocsPageFooter = memo<DocsPageFooterProps>(
3030
<div className="grid grid-cols-1 gap-4 py-4 mx-auto max-w-7xl md:grid-cols-2 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,20 @@ 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:min-w-80 md:w-fit md:max-w-md 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-end': type === 'Next',
74+
'flex-row-reverse justify-self-end text-end': type === '다음',
7575
}
7676
)}>
7777
<IconNavArrow
7878
className="inline text-tertiary dark:text-tertiary-dark group-focus:text-link dark:group-focus:text-link-dark"
79-
displayDirection={type === 'Previous' ? 'start' : 'end'}
79+
displayDirection={type === '이전' ? 'start' : 'end'}
8080
/>
8181
<div className="flex flex-col overflow-hidden">
8282
<span className="text-sm font-bold tracking-wide no-underline uppercase text-secondary dark:text-secondary-dark group-focus:text-link dark:group-focus:text-link-dark group-focus:text-opacity-100">

0 commit comments

Comments
 (0)