diff --git a/apps/remix-ide/src/assets/img/cairoLogo.webp b/apps/remix-ide/src/assets/img/cairoLogo.webp
new file mode 100644
index 0000000000..b7210dfa36
Binary files /dev/null and b/apps/remix-ide/src/assets/img/cairoLogo.webp differ
diff --git a/apps/remix-ide/src/remixAppManager.js b/apps/remix-ide/src/remixAppManager.js
index d87b6ee1a9..d3cc735b3f 100644
--- a/apps/remix-ide/src/remixAppManager.js
+++ b/apps/remix-ide/src/remixAppManager.js
@@ -145,16 +145,6 @@ export class RemixAppManager extends PluginManager {
pattern: [],
sticky: true
})
- await this.call('filePanel', 'registerContextMenuItem', {
- id: 'optimism-compiler',
- name: 'compileCustomAction',
- label: 'Compile with Optimism',
- type: [],
- extension: ['.sol'],
- path: [],
- pattern: [],
- sticky: true
- })
}
}
diff --git a/libs/remix-core-plugin/src/lib/compiler-artefacts.ts b/libs/remix-core-plugin/src/lib/compiler-artefacts.ts
index 715bd2e9c4..1198a012db 100644
--- a/libs/remix-core-plugin/src/lib/compiler-artefacts.ts
+++ b/libs/remix-core-plugin/src/lib/compiler-artefacts.ts
@@ -48,11 +48,6 @@ export class CompilerArtefacts extends Plugin {
saveCompilationPerFileResult(file, source, languageVersion, data)
})
- this.on('optimism-compiler', 'compilationFinished', (file, source, languageVersion, data) => {
- this.compilersArtefacts.__last = new CompilerAbstract(languageVersion, data, source)
- saveCompilationPerFileResult(file, source, languageVersion, data)
- })
-
this.on('solidityUnitTesting', 'compilationFinished', (file, source, languageVersion, data) => {
this.compilersArtefacts.__last = new CompilerAbstract(languageVersion, data, source)
saveCompilationPerFileResult(file, source, languageVersion, data)
diff --git a/libs/remix-ui/app/src/lib/remix-app/components/dragbar/dragbar.css b/libs/remix-ui/app/src/lib/remix-app/components/dragbar/dragbar.css
index 1330c1179c..44aa0598c1 100644
--- a/libs/remix-ui/app/src/lib/remix-app/components/dragbar/dragbar.css
+++ b/libs/remix-ui/app/src/lib/remix-app/components/dragbar/dragbar.css
@@ -7,7 +7,7 @@
left: 0px;
top: 0px;
width: 0.3em;
- z-index: 9999;
+ z-index: 1000;
}
.overlay {
@@ -17,7 +17,7 @@
width: 100vw;
height: 100vh;
display: block;
- z-index: 9998;
+ z-index: 1000;
}
.dragbar:hover,
diff --git a/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx b/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx
index 468afc8756..06f108afe8 100644
--- a/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx
+++ b/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx
@@ -6,21 +6,26 @@ interface PluginButtonProps {
imgPath: string,
envID: string,
envText: string,
- callback: any
+ callback: any,
+ l2?: boolean
}
-function PluginButton ({ imgPath, envID, envText, callback }: PluginButtonProps) {
+function PluginButton ({ imgPath, envID, envText, callback, l2 }: PluginButtonProps) {
const themeFilter = useContext(ThemeContext)
return (
-
+
+
+ { l2 &&
}
+
+
)
}
diff --git a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.css b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.css
index 6644f4988e..b6bba39140 100644
--- a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.css
+++ b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.css
@@ -1,82 +1,85 @@
-.remixui_text {
+.remixui_home_text {
cursor: pointer;
font-weight: normal;
max-width: 300px;
}
-.remixui_text:hover {
+.remixui_home_text:hover {
cursor: pointer;
text-decoration: underline;
}
-.remixui_homeContainer {
+.remixui_home_homeContainer {
overflow-y: hidden;
overflow-y: auto;
flex-grow: 3;
}
-.remixui_hpLogoContainer {
+.remixui_home_hpLogoContainer {
margin: 30px;
padding-right: 90px;
}
-.remixui_mediaBadge {
+.remixui_home_mediaBadge {
font-size: 2em;
height: 2em;
width: 2em;
}
-.remixui_mediaBadge:focus {
+.remixui_home_mediaBadge:focus {
outline: none;
}
-.remixui_image {
+.remixui_home_image {
height: 1em;
width: 1em;
text-align: center;
}
-.remixui_logoImg {
+.remixui_home_logoImg {
height: 10em;
}
-.remixui_rightPanel {
+.remixui_home_rightPanel {
right: 0;
position: absolute;
z-index: 3;
}
-.remixui_remixHomeMedia {
+.remixui_home_remixHomeMedia {
overflow-y: auto;
overflow-x: hidden;
}
-.remixui_panels {
+.remixui_home_panels {
box-shadow: 0px 0px 13px -7px;
}
-.remixui_labelIt {
+.remixui_home_labelIt {
margin-bottom: 0;
}
-.remixui_bigLabelSize {
+.remixui_home_bigLabelSize {
font-size: 13px;
}
-.remixui_seeAll {
+.remixui_home_seeAll {
margin-top: 7px;
white-space: nowrap;
}
-.remixui_importFrom p {
+.remixui_home_importFrom p {
margin-right: 10px;
}
-.remixui_logoContainer img{
+.remixui_home_logoContainer img{
height: 150px;
opacity: 0.7;
}
-.remixui_envLogo {
+.remixui_home_envLogo {
height: 16px;
}
-.remixui_cursorStyle {
+.remixui_home_cursorStyle {
cursor: pointer;
}
-.remixui_envButton {
+.remixui_home_envButton {
width: 120px;
height: 70px;
}
-.remixui_media {
+.remixui_home_media {
overflow: hidden;
max-width: 400px;
transition: .5s ease-out;
z-index: 1000;
}
-.remixui_migrationBtn {
+.remixui_home_migrationBtn {
width: 100px;
}
+.remixui_home_l2Label {
+ bottom: 10px;
+}
\ No newline at end of file
diff --git a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx
index c130d35a64..c29df17662 100644
--- a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx
+++ b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx
@@ -150,10 +150,10 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {
plugin.verticalIcons.select('solidity')
_paq.push(['trackEvent', 'pluginManager', 'userActivate', 'solidity'])
}
- const startOptimism = async () => {
- await plugin.appManager.activatePlugin('optimism-compiler')
- plugin.verticalIcons.select('optimism-compiler')
- _paq.push(['trackEvent', 'pluginManager', 'userActivate', 'optimism-compiler'])
+ const startCairo = async () => {
+ await plugin.appManager.activatePlugin('cairo_compiler')
+ plugin.verticalIcons.select('cairo_compiler')
+ _paq.push(['trackEvent', 'pluginManager', 'userActivate', 'cairo_compiler'])
}
const startSolhint = async () => {
await plugin.appManager.activatePlugin(['solidity', 'solhint'])
@@ -232,7 +232,7 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {
-
playRemi() } alt="">
+
playRemi() } alt="">
-
+
Featured Plugins
startSolidity()} />
- startOptimism()} />
+ startCairo()} />
startSolhint()} />
startLearnEth()} />
startSourceVerify()} />
@@ -261,11 +261,11 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {
File
- createNewFile()}>New File
+ createNewFile()}>New File
-
+
Open Files
{
event.stopPropagation()
@@ -275,7 +275,7 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {
- connectToLocalhost()}>Connect to Localhost
+ connectToLocalhost()}>Connect to Localhost
-
+
-