File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,9 +12,16 @@ function HomepageHeader() {
1212 return (
1313 < header className = { clsx ( "hero hero--primary" , styles . heroBanner ) } >
1414 < div className = "container" >
15- < Heading as = "h1" className = { clsx ( "hero__title" ) } >
16- { siteConfig . title }
17- </ Heading >
15+ < div className = { styles . titleWithLogo } >
16+ < img
17+ src = "https://ik.imagekit.io/jayowiee/github/nativeflow/nativeflow-logo.png"
18+ alt = "NativeFlow logo"
19+ className = { styles . titleLogo }
20+ />
21+ < Heading as = "h1" className = { clsx ( "hero__title" , styles . titleText ) } >
22+ { siteConfig . title }
23+ </ Heading >
24+ </ div >
1825 < p className = "" > { siteConfig . tagline } </ p >
1926 < div className = { styles . buttons } >
2027 < Link
Original file line number Diff line number Diff line change 2121 align-items : center;
2222 justify-content : center;
2323}
24+
25+ .titleWithLogo {
26+ display : flex;
27+ align-items : center;
28+ justify-content : center;
29+ gap : 0.75rem ;
30+ }
31+
32+ .titleLogo {
33+ width : 56px ;
34+ height : 56px ;
35+ object-fit : contain;
36+ }
37+
38+ .titleText {
39+ margin-bottom : 0 ;
40+ }
You can’t perform that action at this time.
0 commit comments