File tree 3 files changed +440
-636
lines changed
3 files changed +440
-636
lines changed Original file line number Diff line number Diff line change 6
6
"deploy" : " docusaurus deploy"
7
7
},
8
8
"dependencies" : {
9
- "@docusaurus/core" : " ^2.0.0-alpha.26 " ,
10
- "@docusaurus/preset-classic" : " ^2.0.0-alpha.26 " ,
9
+ "@docusaurus/core" : " ^2.0.0-alpha.30 " ,
10
+ "@docusaurus/preset-classic" : " ^2.0.0-alpha.30 " ,
11
11
"classnames" : " ^2.2.6" ,
12
- "react" : " ^16.10.2 " ,
13
- "react-dom" : " ^16.10.2 "
12
+ "react" : " ^16.11.0 " ,
13
+ "react-dom" : " ^16.11.0 "
14
14
},
15
15
"browserslist" : {
16
16
"production" : [
Original file line number Diff line number Diff line change 8
8
import React from 'react' ;
9
9
import Link from '@docusaurus/Link' ;
10
10
import useDocusaurusContext from '@docusaurus/useDocusaurusContext' ;
11
- import withBaseUrl from '@docusaurus/withBaseUrl ' ;
11
+ import useBaseUrl from '@docusaurus/useBaseUrl ' ;
12
12
13
13
import Layout from '@theme/Layout' ;
14
14
import CodeBlock from '@theme/CodeBlock' ;
@@ -48,14 +48,14 @@ function Home() {
48
48
< div className = "container" >
49
49
< img
50
50
className = { classnames ( styles . heroBannerLogo , 'margin-vert--md' ) }
51
- src = { withBaseUrl ( 'img/logo.svg' ) }
51
+ src = { useBaseUrl ( 'img/logo.svg' ) }
52
52
/>
53
53
< h1 className = "hero__title" > { siteConfig . title } </ h1 >
54
54
< p className = "hero__subtitle" > { siteConfig . tagline } </ p >
55
55
< div className = { styles . getStarted } >
56
56
< Link
57
57
className = "button button--outline button--primary button--lg"
58
- to = { withBaseUrl ( 'docs/getting-started' ) }
58
+ to = { useBaseUrl ( 'docs/getting-started' ) }
59
59
>
60
60
Get Started
61
61
</ Link >
@@ -115,7 +115,7 @@ function Home() {
115
115
< img
116
116
className = { styles . featureImage }
117
117
alt = { 'Easy to update' }
118
- src = { withBaseUrl ( 'img/update.png' ) }
118
+ src = { useBaseUrl ( 'img/update.png' ) }
119
119
/>
120
120
</ div >
121
121
< div className = "col col--5 col--offset-1" >
You can’t perform that action at this time.
0 commit comments