@@ -13,37 +13,39 @@ import styles from './index.module.css';
1313function HeroBanner ( ) {
1414 return (
1515 < div className = { styles . hero } data-theme = "dark" >
16- < div className = { styles . heroInner } >
17- < Heading as = "h1" className = { styles . heroProjectTagline } >
18- < img
19- alt = "Context-Generic Programming"
20- className = { styles . heroLogo }
21- src = { useBaseUrl ( '/img/cgp-logo.svg' ) }
22- width = "200"
23- height = "200"
24- />
25- < span className = { styles . heroTitleTextHtml } >
26- Build < b > modular</ b > Rust applications with < b > zero-cost</ b > abstractions
27- </ span >
28- </ Heading >
29- < div className = { styles . indexCtas } >
30- < Link className = { clsx ( "button button--primary button--lg" , styles . getStartedButton ) } to = "/docs" >
31- Get Started
32- </ Link >
33- < Link
34- className = "button button--secondary button--lg margin-left--md"
35- to = "/docs/tutorials/hello" >
36- Tutorial - 10 min ⏱️
37- </ Link >
38- < span className = { styles . indexCtasGitHubButtonWrapper } >
39- < iframe
40- className = { styles . indexCtasGitHubButton }
41- src = "https://ghbtns.com/github-btn.html?user=contextgeneric&repo=cgp&type=star&count=true&size=large"
42- width = { 160 }
43- height = { 30 }
44- title = "GitHub Stars"
45- />
46- </ span >
16+ < div className = { styles . heroOuter } >
17+ < img
18+ alt = "Context-Generic Programming"
19+ className = { styles . heroLogo }
20+ src = { useBaseUrl ( '/img/cgp-hero.png' ) }
21+ width = "300"
22+ height = "300"
23+ />
24+ < div className = { styles . heroInner } >
25+ < Heading as = "h1" className = { styles . heroProjectTagline } >
26+ < span className = { styles . heroTitleTextHtml } >
27+ Build < b > modular</ b > Rust applications with < b > zero-cost</ b > abstractions
28+ </ span >
29+ </ Heading >
30+ < div className = { styles . indexCtas } >
31+ < Link className = { clsx ( "button button--primary button--lg" , styles . getStartedButton ) } to = "/docs" >
32+ Get Started
33+ </ Link >
34+ < Link
35+ className = "button button--secondary button--lg margin-left--md"
36+ to = "/docs/tutorials/hello" >
37+ Tutorial - 10 min ⏱️
38+ </ Link >
39+ < span className = { styles . indexCtasGitHubButtonWrapper } >
40+ < iframe
41+ className = { styles . indexCtasGitHubButton }
42+ src = "https://ghbtns.com/github-btn.html?user=contextgeneric&repo=cgp&type=star&count=true&size=large"
43+ width = { 160 }
44+ height = { 30 }
45+ title = "GitHub Stars"
46+ />
47+ </ span >
48+ </ div >
4749 </ div >
4850 </ div >
4951 </ div >
0 commit comments