File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export default function Hero(): JSX.Element {
5151 </ p >
5252 < p className = { `${ styles . item } ` } > </ p >
5353 < div className = { `${ styles . item } ${ styles . actions } ` } >
54- < Start position = "hero" / >
54+ < Start position = "hero" > Get Started </ Start >
5555 < Link
5656 className = "button button--juno"
5757 to = "/docs/intro"
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ export default function Outro(): JSX.Element {
1111 < p className = { styles . subText } >
1212 No setup. No DevOps. No strings attached.
1313 </ p >
14- < Start position = "footer" className = { `button-lg ${ styles . start } ` } />
14+ < Start position = "footer" className = { `button-lg ${ styles . start } ` } >
15+ Start Building
16+ </ Start >
1517 </ div >
1618 < picture aria-label = "An astronaut planting a flag reading 'Juno' on a small planet, giving a thumbs up." >
1719 < MoonIllustration />
Original file line number Diff line number Diff line change 11import Link from "@docusaurus/Link" ;
22import useDocusaurusContext from "@docusaurus/useDocusaurusContext" ;
3+ import { ReactNode } from "react" ;
34import { trackEvent } from "../../providers/analytics.providers" ;
45
56type StartProps = {
67 position : string ;
78 className ?: string ;
9+ children : ReactNode ;
810} ;
911
1012export default function Start ( {
1113 position,
12- className = ""
14+ className = "" ,
15+ children
1316} : StartProps ) : JSX . Element {
1417 const { siteConfig } = useDocusaurusContext ( ) ;
1518
@@ -28,7 +31,7 @@ export default function Start({
2831 } )
2932 }
3033 >
31- Get started
34+ { children }
3235 </ Link >
3336 ) ;
3437}
You can’t perform that action at this time.
0 commit comments