@@ -150,10 +150,10 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {
150150 plugin . verticalIcons . select ( 'solidity' )
151151 _paq . push ( [ 'trackEvent' , 'pluginManager' , 'userActivate' , 'solidity' ] )
152152 }
153- const startOptimism = async ( ) => {
154- await plugin . appManager . activatePlugin ( 'optimism-compiler ' )
155- plugin . verticalIcons . select ( 'optimism-compiler ' )
156- _paq . push ( [ 'trackEvent' , 'pluginManager' , 'userActivate' , 'optimism-compiler ' ] )
153+ const startCairo = async ( ) => {
154+ await plugin . appManager . activatePlugin ( 'cairo_compiler ' )
155+ plugin . verticalIcons . select ( 'cairo_compiler ' )
156+ _paq . push ( [ 'trackEvent' , 'pluginManager' , 'userActivate' , 'cairo_compiler ' ] )
157157 }
158158 const startSolhint = async ( ) => {
159159 await plugin . appManager . activatePlugin ( [ 'solidity' , 'solhint' ] )
@@ -232,7 +232,7 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {
232232 < label style = { { fontSize : 'xxx-large' , height : 'auto' , alignSelf : 'flex-end' } } > Remix IDE</ label >
233233 </ div >
234234 < div className = "mr-4 d-flex" >
235- < img className = "mt-4 mb-2 remixui_logoImg " src = "assets/img/guitarRemiCroped.webp" onClick = { ( ) => playRemi ( ) } alt = "" > </ img >
235+ < img className = "mt-4 mb-2 remixui_home_logoImg " src = "assets/img/guitarRemiCroped.webp" onClick = { ( ) => playRemi ( ) } alt = "" > </ img >
236236 < audio
237237 id = "remiAudio"
238238 muted = { false }
@@ -241,14 +241,14 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {
241241 > </ audio >
242242 </ div >
243243 </ div >
244- < div className = "row remixui_hpSections mx-2 mr-4" data-id = "landingPageHpSections" >
244+ < div className = "row mx-2 mr-4" data-id = "landingPageHpSections" >
245245 < div className = "ml-3" >
246246 < div className = "mb-5" >
247247 < h4 > Featured Plugins</ h4 >
248248 < div className = "d-flex flex-row pt-2" >
249249 < ThemeContext . Provider value = { state . themeQuality } >
250250 < PluginButton imgPath = "assets/img/solidityLogo.webp" envID = "solidityLogo" envText = "Solidity" callback = { ( ) => startSolidity ( ) } />
251- < PluginButton imgPath = "assets/img/optimismLogo .webp" envID = "optimismLogo " envText = "Optimism" callback = { ( ) => startOptimism ( ) } />
251+ < PluginButton imgPath = "assets/img/cairoLogo .webp" envID = "CairoLogo " envText = "Cairo compiler" l2 = { true } callback = { ( ) => startCairo ( ) } />
252252 < PluginButton imgPath = "assets/img/solhintLogo.webp" envID = "solhintLogo" envText = "Solhint linter" callback = { ( ) => startSolhint ( ) } />
253253 < PluginButton imgPath = "assets/img/learnEthLogo.webp" envID = "learnEthLogo" envText = "LearnEth" callback = { ( ) => startLearnEth ( ) } />
254254 < PluginButton imgPath = "assets/img/sourcifyLogo.webp" envID = "sourcifyLogo" envText = "Sourcify" callback = { ( ) => startSourceVerify ( ) } />
@@ -261,11 +261,11 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {
261261 < h4 > File</ h4 >
262262 < p className = "mb-1" >
263263 < i className = "mr-2 far fa-file" > </ i >
264- < span className = "ml-1 mb-1 remixui_text " onClick = { ( ) => createNewFile ( ) } > New File</ span >
264+ < span className = "ml-1 mb-1 remixui_home_text " onClick = { ( ) => createNewFile ( ) } > New File</ span >
265265 </ p >
266266 < p className = "mb-1" >
267267 < i className = "mr-2 far fa-file-alt" > </ i >
268- < span className = "ml-1 remixui_labelIt remixui_bigLabelSize} remixui_text " >
268+ < span className = "ml-1 remixui_home_labelIt remixui_home_bigLabelSize remixui_home_text " >
269269 Open Files
270270 < input title = "open file" type = "file" onChange = { ( event ) => {
271271 event . stopPropagation ( )
@@ -275,7 +275,7 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {
275275 </ p >
276276 < p className = "mb-1" >
277277 < i className = "mr-1 far fa-hdd" > </ i >
278- < span className = "ml-1 remixui_text " onClick = { ( ) => connectToLocalhost ( ) } > Connect to Localhost</ span >
278+ < span className = "ml-1 remixui_home_text " onClick = { ( ) => connectToLocalhost ( ) } > Connect to Localhost</ span >
279279 </ p >
280280 < p className = "mt-3 mb-0" > < label > LOAD FROM:</ label > </ p >
281281 < div className = "btn-group" >
@@ -289,28 +289,28 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {
289289 < h4 > Resources</ h4 >
290290 < p className = "mb-1" >
291291 < i className = "mr-2 fas fa-book" > </ i >
292- < a className = "remixui_text " target = "__blank" href = "https://remix-ide.readthedocs.io/en/latest/#" > Documentation</ a >
292+ < a className = "remixui_home_text " target = "__blank" href = "https://remix-ide.readthedocs.io/en/latest/#" > Documentation</ a >
293293 </ p >
294294 < p className = "mb-1" >
295295 < i className = "mr-2 fab fa-gitter" > </ i >
296- < a className = "remixui_text " target = "__blank" href = "https://gitter.im/ethereum/remix" > Gitter channel</ a >
296+ < a className = "remixui_home_text " target = "__blank" href = "https://gitter.im/ethereum/remix" > Gitter channel</ a >
297297 </ p >
298298 < p className = "mb-1" >
299- < img id = 'remixHhomeWebsite' className = "mr-2 remixui_image " src = { plugin . profile . icon } style = { { filter : state . themeQuality . filter } } alt = '' > </ img >
300- < a className = "remixui_text " target = "__blank" href = "https://remix-project.org" > Featuring website</ a >
299+ < img id = 'remixHhomeWebsite' className = "mr-2 remixui_home_image " src = { plugin . profile . icon } style = { { filter : state . themeQuality . filter } } alt = '' > </ img >
300+ < a className = "remixui_home_text " target = "__blank" href = "https://remix-project.org" > Featuring website</ a >
301301 </ p >
302302 < p className = "mb-1" >
303- < i className = "mr-2 fab fa-ethereum remixui_image " > </ i >
304- < span className = "remixui_text " onClick = { ( ) => switchToPreviousVersion ( ) } > Old experience</ span >
303+ < i className = "mr-2 fab fa-ethereum remixui_home_image " > </ i >
304+ < span className = "remixui_home_text " onClick = { ( ) => switchToPreviousVersion ( ) } > Old experience</ span >
305305 </ p >
306306 </ div >
307307 </ div >
308308 </ div >
309309 </ div >
310- < div className = "d-flex flex-column remixui_rightPanel " >
310+ < div className = "d-flex flex-column remixui_home_rightPanel " >
311311 < div className = "d-flex pr-3 py-2 align-self-end" id = "remixIDEMediaPanelsTitle" >
312312 < button
313- className = "btn-info p-2 m-1 border rounded-circle remixui_mediaBadge fab fa-twitter"
313+ className = "btn-info p-2 m-1 border rounded-circle remixui_home_mediaBadge fab fa-twitter"
314314 id = "remixIDEHomeTwitterbtn"
315315 title = "Twitter"
316316 onClick = { ( e ) => {
@@ -321,7 +321,7 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {
321321 } }
322322 > </ button >
323323 < button
324- className = "btn-danger p-2 m-1 border rounded-circle remixui_mediaBadge fab fa-medium"
324+ className = "btn-danger p-2 m-1 border rounded-circle remixui_home_mediaBadge fab fa-medium"
325325 id = "remixIDEHomeMediumbtn"
326326 title = "Medium blogs"
327327 onClick = { ( e ) => {
@@ -332,9 +332,9 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {
332332 } }
333333 > </ button >
334334 </ div >
335- < div className = "mr-3 d-flex bg-light remixui_panels " style = { { visibility : state . showMediaPanel === 'none' ? 'hidden' : 'visible' } } id = "remixIDEMediaPanels" >
336- < div id = "remixIDE_MediumBlock" className = "p-2 mx-1 mt-3 mb-0 remixui_remixHomeMedia " style = { { maxHeight : maxHeight } } >
337- < div id = "medium-widget" className = "px-3 remixui_media " hidden = { state . showMediaPanel !== 'medium' } style = { { maxHeight : elHeight } } >
335+ < div className = "mr-3 d-flex bg-light remixui_home_panels " style = { { visibility : state . showMediaPanel === 'none' ? 'hidden' : 'visible' } } id = "remixIDEMediaPanels" >
336+ < div id = "remixIDE_MediumBlock" className = "p-2 mx-1 mt-3 mb-0 remixui_home_remixHomeMedia " style = { { maxHeight : maxHeight } } >
337+ < div id = "medium-widget" className = "px-3 remixui_home_media " hidden = { state . showMediaPanel !== 'medium' } style = { { maxHeight : elHeight } } >
338338 < div
339339 id = "retainable-rss-embed"
340340 data-rss = "https://medium.com/feed/remix-ide"
@@ -348,8 +348,8 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {
348348 </ div >
349349 </ div >
350350 </ div >
351- < div id = "remixIDE_TwitterBlock" className = "p-2 mx-1 mt-3 mb-0 remixui_remixHomeMedia " hidden = { state . showMediaPanel !== 'twitter' } style = { { maxHeight : maxHeight , marginRight : '28px' } } >
352- < div className = "remixui_media " style = { { minHeight : elHeight } } >
351+ < div id = "remixIDE_TwitterBlock" className = "p-2 mx-1 mt-3 mb-0 remixui_home_remixHomeMedia " hidden = { state . showMediaPanel !== 'twitter' } style = { { maxHeight : maxHeight , marginRight : '28px' } } >
352+ < div className = "remixui_home_media " style = { { minHeight : elHeight } } >
353353 < a className = "twitter-timeline"
354354 data-width = "330"
355355 data-theme = { state . themeQuality . name }
0 commit comments