Skip to content

Commit 045f6ae

Browse files
authored
Translate footer link types to Korean
1 parent 2e8b132 commit 045f6ae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/DocsFooter.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const DocsPageFooter = memo<DocsPageFooterProps>(
3737
<div className="grid grid-cols-1 gap-4 py-4 mx-auto max-w-7xl md:grid-cols-2 md:py-12">
3838
{prevRoute?.path ? (
3939
<FooterLink
40-
type="Previous"
40+
type="이전"
4141
title={prevRoute.title}
4242
href={prevRoute.path}
4343
/>
@@ -47,7 +47,7 @@ export const DocsPageFooter = memo<DocsPageFooterProps>(
4747

4848
{nextRoute?.path ? (
4949
<FooterLink
50-
type="Next"
50+
type="다음음"
5151
title={nextRoute.title}
5252
href={nextRoute.path}
5353
/>
@@ -70,24 +70,24 @@ function FooterLink({
7070
}: {
7171
href: string;
7272
title: string;
73-
type: 'Previous' | 'Next';
73+
type: '이전' | '다음';
7474
}) {
7575
return (
7676
<NextLink
7777
href={href}
7878
className={cn(
7979
'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',
8080
{
81-
'flex-row-reverse justify-self-end text-end': type === 'Next',
81+
'flex-row-reverse justify-self-end text-end': type === '다음',
8282
}
8383
)}>
8484
<IconNavArrow
8585
className="inline text-tertiary dark:text-tertiary-dark group-focus:text-link dark:group-focus:text-link-dark"
86-
displayDirection={type === 'Previous' ? 'start' : 'end'}
86+
displayDirection={type === '이전' ? 'start' : 'end'}
8787
/>
8888
<div className="flex flex-col overflow-hidden">
8989
<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">
90-
{type === 'Previous' ? 'Previous' : 'Next'}
90+
{type === '이전' ? '이전' : '다음'}
9191
</span>
9292
<span className="text-lg break-words group-hover:underline">
9393
{title}

0 commit comments

Comments
 (0)