File tree Expand file tree Collapse file tree 2 files changed +36
-3
lines changed
Expand file tree Collapse file tree 2 files changed +36
-3
lines changed Original file line number Diff line number Diff line change @@ -197,9 +197,25 @@ export default function Hero({
197197 </ div >
198198 </ >
199199 ) : (
200- < Text as = "p" >
201- Please open the application on desktop to get started and request ETH
202- </ Text >
200+ < >
201+ < div className = { styles . heroDesktopContent } >
202+ < Text as = "p" >
203+ Install MetaMask for your browser to get started and request ETH.
204+ </ Text >
205+ < Button
206+ testId = "hero-cta-install-metamask"
207+ className = { styles . button }
208+ onClick = { handleConnectWallet }
209+ >
210+ Install MetaMask
211+ </ Button >
212+ </ div >
213+ < div className = { styles . heroMobileContent } >
214+ < Text as = "p" >
215+ Please open the application on desktop to get started and request ETH
216+ </ Text >
217+ </ div >
218+ </ >
203219 ) }
204220 </ div >
205221 ) ;
Original file line number Diff line number Diff line change 7878 }
7979 }
8080}
81+
82+
83+ .heroDesktopContent {
84+ display : block ;
85+
86+ @media screen and (max-width : 996px ) {
87+ display : none ;
88+ }
89+ }
90+
91+ .heroMobileContent {
92+ display : none ;
93+
94+ @media screen and (max-width : 996px ) {
95+ display : block ;
96+ }
97+ }
You can’t perform that action at this time.
0 commit comments