File tree Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 11import type { FC } from 'react' ;
22import React from 'react' ;
33import Link from '@docusaurus/Link' ;
4- import useBaseUrl from '@docusaurus/useBaseUrl' ;
54
65import Translate from '@docusaurus/Translate' ;
76
87const ArrowAnim : FC = ( ) => (
98 < Link
10- to = { useBaseUrl ( ' blog' ) }
9+ href = "/ blog"
1110 className = "btn-docs"
1211 >
1312 < div className = "goto" >
Original file line number Diff line number Diff line change 11import type { FC } from 'react' ;
22import React from 'react' ;
33import Link from '@docusaurus/Link' ;
4- import useBaseUrl from '@docusaurus/useBaseUrl' ;
54import Translate from '@docusaurus/Translate' ;
65import { LazyLoadImage } from 'react-lazy-load-image-component' ;
76import useWindowType from '@theme/hooks/useWindowSize' ;
@@ -28,7 +27,7 @@ const EndCTA: FC = () => {
2827 ) }
2928 </ p >
3029 < div className = { style . links } >
31- < Link to = { useBaseUrl ( ' docs/apisix/getting-started' ) } className = "btn btn-download" >
30+ < Link href = "/ docs/apisix/getting-started" className = "btn btn-download" >
3231 < Translate id = "hero.component.download.btn" > Getting Started</ Translate >
3332 </ Link >
3433 < ArrowAnim />
Original file line number Diff line number Diff line change 11import type { FC } from 'react' ;
22import React from 'react' ;
33import Link from '@docusaurus/Link' ;
4- import useBaseUrl from '@docusaurus/useBaseUrl' ;
54import Translate from '@docusaurus/Translate' ;
65
76import BrowserOnly from '@docusaurus/BrowserOnly' ;
@@ -47,7 +46,7 @@ const HeroSection: FC = () => (
4746 </ Translate >
4847 </ h3 >
4948 < div className = "hero-ctas" >
50- < Link to = { useBaseUrl ( ' docs/apisix/getting-started' ) } className = "btn btn-download" >
49+ < Link href = "/ docs/apisix/getting-started" className = "btn btn-download" >
5150 < Translate id = "hero.component.download.btn" > Getting Started</ Translate >
5251 </ Link >
5352 < ArrowAnim />
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ $apisix-color: #e8433e;
5454
5555 @include respond-below (sm) {
5656 min-height : 50vh ;
57- margin : 0 1rem ;
57+ margin : 4 rem 1rem 0 ;
5858 align-items : flex-start ;
5959 padding : 100px 2rem ;
6060
You can’t perform that action at this time.
0 commit comments