diff --git a/apps/remix-ide/src/app/tabs/analysis-tab.js b/apps/remix-ide/src/app/tabs/analysis-tab.js index a15c15a779..d718943408 100644 --- a/apps/remix-ide/src/app/tabs/analysis-tab.js +++ b/apps/remix-ide/src/app/tabs/analysis-tab.js @@ -10,7 +10,7 @@ var EventManager = require('../../lib/events') const profile = { name: 'solidityStaticAnalysis', - displayName: 'Solidity static analysis', + displayName: 'Solidity Analyzers', methods: [], events: [], icon: 'assets/img/staticAnalysis.webp', diff --git a/apps/remix-ide/src/app/tabs/locales/en/home.json b/apps/remix-ide/src/app/tabs/locales/en/home.json index 517dc5aba4..c892190113 100644 --- a/apps/remix-ide/src/app/tabs/locales/en/home.json +++ b/apps/remix-ide/src/app/tabs/locales/en/home.json @@ -19,6 +19,8 @@ "home.betaTestingMore": "Sign up", "home.featuredPlugins": "Featured Plugins", "home.solidityPluginDesc": "Compile, test and analyse smart contract.", + "home.cookbookDesc": "Find smart contracts, solidity libraries, and discover protocols.", + "home.codeAnalyizerPluginDesc": "Analyze your code using Remix, Sohint and Sslither", "home.starkNetPluginDesc": "Compile and deploy contracts with Cairo, a native language for StarkNet.", "home.solhintPluginDesc": "Solhint is an open source project for linting Solidity code.", "home.sourcifyPluginDesc": "Solidity contract and metadata verification service.", diff --git a/apps/remix-ide/src/assets/img/cookbook.webp b/apps/remix-ide/src/assets/img/cookbook.webp new file mode 100644 index 0000000000..4b831b59d4 Binary files /dev/null and b/apps/remix-ide/src/assets/img/cookbook.webp differ diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx index f9b7b1e1f0..0950ab13f1 100644 --- a/libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx +++ b/libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx @@ -63,33 +63,27 @@ function HomeTabFeaturedPlugins ({plugin}: HomeTabFeaturedPluginsProps) { plugin.verticalIcons.select('solidity') _paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'solidity']) } - const startOneClickDapp = async () => { - await plugin.appManager.activatePlugin('oneClickDapp') - plugin.verticalIcons.select('oneClickDapp') - _paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'oneClickDapp']) - } - const startSolhint = async () => { - await plugin.appManager.activatePlugin(['solidity', 'solhint']) - plugin.verticalIcons.select('solhint') - _paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'solhint']) + const startCodeAnalyzer = async () => { + await plugin.appManager.activatePlugin(['solidity', 'solidityStaticAnalysis']) + plugin.verticalIcons.select('solidityStaticAnalysis') + _paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'solidityStaticAnalysis']) } const startSourceVerify = async () => { await plugin.appManager.activatePlugin(['solidity', 'sourcify']) plugin.verticalIcons.select('sourcify') _paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'sourcify']) } + const startCookbook = async () => { + await plugin.appManager.activatePlugin(['cookbook.dev']) + plugin.verticalIcons.select('cookbook.dev') + _paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'cookbook.dev']) + } const startSolidityUnitTesting = async () => { await plugin.appManager.activatePlugin(['solidity', 'solidityUnitTesting']) plugin.verticalIcons.select('solidityUnitTesting') _paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'solidityUnitTesting']) } - const startDgit = async () => { - await plugin.appManager.activatePlugin('dgit') - plugin.verticalIcons.select('dgit') - _paq.push(['tracEvent', 'hometabActivate', 'userActivate', 'dgit']) - } - return (
@@ -124,6 +118,22 @@ function HomeTabFeaturedPlugins ({plugin}: HomeTabFeaturedPluginsProps) { deviceType={"desktop"} itemClass="w-100" > + startCodeAnalyzer() } + /> + startCookbook()} + /> startSolidity()} /> - startSolhint()} - /> startSourceVerify()} /> - startDgit()} - /> - startOneClickDapp()} - />