File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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 = "上一页 "
40+ type = "Previous "
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 = "下一页 "
50+ type = "Next "
5151 title = { nextRoute . title }
5252 href = { nextRoute . path }
5353 />
@@ -70,20 +70,20 @@ function FooterLink({
7070} : {
7171 href : string ;
7272 title : string ;
73- type : '上一页 ' | '下一页 ' ;
73+ type : 'Previous ' | 'Next ' ;
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 === '下一页 ' ,
81+ 'flex-row-reverse justify-self-end text-end' : type === 'Next ' ,
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 === '上一页 ' ? 'start' : 'end' }
86+ displayDirection = { type === 'Previous ' ? '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" >
You can’t perform that action at this time.
0 commit comments