@@ -6,54 +6,6 @@ import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
6
6
import useBaseUrl from '@docusaurus/useBaseUrl' ;
7
7
import styles from './styles.module.css' ;
8
8
9
- const features = [
10
- {
11
- title : < > Easy to Use</ > ,
12
- imageUrl : 'img/undraw_docusaurus_mountain.svg' ,
13
- description : (
14
- < >
15
- Docusaurus was designed from the ground up to be easily installed and
16
- used to get your website up and running quickly.
17
- </ >
18
- ) ,
19
- } ,
20
- {
21
- title : < > Focus on What Matters</ > ,
22
- imageUrl : 'img/undraw_docusaurus_tree.svg' ,
23
- description : (
24
- < >
25
- Docusaurus lets you focus on your docs, and we'll do the chores. Go
26
- ahead and move your docs into the < code > docs</ code > directory.
27
- </ >
28
- ) ,
29
- } ,
30
- {
31
- title : < > Powered by React</ > ,
32
- imageUrl : 'img/undraw_docusaurus_react.svg' ,
33
- description : (
34
- < >
35
- Extend or customize your website layout by reusing React. Docusaurus can
36
- be extended while reusing the same header and footer.
37
- </ >
38
- ) ,
39
- } ,
40
- ] ;
41
-
42
- function Feature ( { imageUrl, title, description} ) {
43
- const imgUrl = useBaseUrl ( imageUrl ) ;
44
- return (
45
- < div className = { classnames ( 'col col--4' , styles . feature ) } >
46
- { imgUrl && (
47
- < div className = "text--center" >
48
- < img className = { styles . featureImage } src = { imgUrl } alt = { title } />
49
- </ div >
50
- ) }
51
- < h3 > { title } </ h3 >
52
- < p > { description } </ p >
53
- </ div >
54
- ) ;
55
- }
56
-
57
9
function Home ( ) {
58
10
const context = useDocusaurusContext ( ) ;
59
11
const { siteConfig = { } } = context ;
@@ -71,25 +23,12 @@ function Home() {
71
23
'button button--outline button--secondary button--lg' ,
72
24
styles . getStarted ,
73
25
) }
74
- to = { useBaseUrl ( 'docs/introduction ' ) } >
26
+ to = { useBaseUrl ( 'docs/general/guidelines/ ' ) } >
75
27
Get Started
76
28
</ Link >
77
29
</ div >
78
30
</ div >
79
31
</ header >
80
- < main >
81
- { features && features . length > 0 && (
82
- < section className = { styles . features } >
83
- < div className = "container" >
84
- < div className = "row" >
85
- { features . map ( ( props , idx ) => (
86
- < Feature key = { idx } { ...props } />
87
- ) ) }
88
- </ div >
89
- </ div >
90
- </ section >
91
- ) }
92
- </ main >
93
32
</ Layout >
94
33
) ;
95
34
}
0 commit comments