1
- import React from ' react'
2
- import clsx from ' clsx'
3
- import Layout from ' @theme/Layout'
4
- import Link from ' @docusaurus/Link'
5
- import useDocusaurusContext from ' @docusaurus/useDocusaurusContext'
6
- import styles from ' ./index.module.css'
7
- import HomepageFeatures from ' ../components/HomepageFeatures'
1
+ import React from " react" ;
2
+ import clsx from " clsx" ;
3
+ import Layout from " @theme/Layout" ;
4
+ import Link from " @docusaurus/Link" ;
5
+ import useDocusaurusContext from " @docusaurus/useDocusaurusContext" ;
6
+ import styles from " ./index.module.css" ;
7
+ import HomepageFeatures from " ../components/HomepageFeatures" ;
8
8
// @ts -ignore
9
- import GetStarted from ' ../components/GetStarted.md'
9
+ import GetStarted from " ../components/GetStarted.md" ;
10
10
11
11
function HomepageHeader ( ) {
12
- const { siteConfig } = useDocusaurusContext ( )
12
+ const { siteConfig } = useDocusaurusContext ( ) ;
13
13
return (
14
- < header className = { clsx ( ' hero hero--dark' , styles . heroBanner ) } >
14
+ < header className = { clsx ( " hero hero--dark" , styles . heroBanner ) } >
15
15
< div className = "container" >
16
- < img src = "/ img/cra-logo-rust-white.svg" width = { 170 } />
16
+ < img src = "img/cra-logo-rust-white.svg" width = { 170 } />
17
17
< h1 className = "hero__title" > { siteConfig . title } </ h1 >
18
18
< p className = "hero__subtitle" > { siteConfig . tagline } </ p >
19
19
< div className = { styles . buttons } >
@@ -26,11 +26,11 @@ function HomepageHeader() {
26
26
</ div >
27
27
</ div >
28
28
</ header >
29
- )
29
+ ) ;
30
30
}
31
31
32
32
export default function Home ( ) : JSX . Element {
33
- const { siteConfig } = useDocusaurusContext ( )
33
+ const { siteConfig } = useDocusaurusContext ( ) ;
34
34
return (
35
35
< Layout
36
36
title = { `${ siteConfig . title } ` }
@@ -48,7 +48,7 @@ export default function Home(): JSX.Element {
48
48
</ div >
49
49
< div className = "col col--5 col--offset-1" >
50
50
< a href = "https://github.com/Wulf/create-rust-app/blob/main/docs/create-rust-app-v2.mp4" >
51
- < img src = "/ img/create-rust-app-v2.gif" />
51
+ < img src = "img/create-rust-app-v2.gif" />
52
52
</ a >
53
53
</ div >
54
54
</ div >
@@ -64,5 +64,5 @@ export default function Home(): JSX.Element {
64
64
</ div >
65
65
</ main >
66
66
</ Layout >
67
- )
67
+ ) ;
68
68
}
0 commit comments