add onclickdapp artifact and pluginbutton.

pull/3255/head
Joseph Izang 2 years ago
parent 1fc90c7ec6
commit a4a6a40939
  1. 1
      apps/remix-ide/src/app/tabs/locales/en/home.json
  2. BIN
      apps/remix-ide/src/assets/img/dgit.webp
  3. BIN
      apps/remix-ide/src/assets/img/oneclickdapp.webp
  4. 34
      libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx

@ -22,6 +22,7 @@
"home.sourcifyPluginDesc": "Solidity contract and metadata verification service.",
"home.unitTestPluginDesc": "Write and run unit tests for your contracts in Solidity.",
"home.dgitPluginDesc": "Add source control to your projects.",
"home.oneClickDappDesc": "Quickly generate smart contract interfaces",
"home.getStarted": "Get Started",
"home.projectTemplates": "Project Templates",
"home.blankTemplateDesc": "Create an empty workspace.",

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

@ -63,10 +63,10 @@ function HomeTabFeaturedPlugins ({plugin}: HomeTabFeaturedPluginsProps) {
plugin.verticalIcons.select('solidity')
_paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'solidity'])
}
const startStarkNet = async () => {
await plugin.appManager.activatePlugin('starkNet_compiler')
plugin.verticalIcons.select('starkNet_compiler')
_paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'starkNet_compiler'])
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'])
@ -138,13 +138,6 @@ function HomeTabFeaturedPlugins ({plugin}: HomeTabFeaturedPluginsProps) {
description={intl.formatMessage({ id: 'home.solhintPluginDesc' })}
callback={() => startSolhint()}
/>
<PluginButton
imgPath="assets/img/git.webp"
envID="dgitLogo"
envText="Dgit"
description={intl.formatMessage({ id: 'home.dgitPluginDesc' })}
callback={() => startDgit()}
/>
<PluginButton
imgPath="assets/img/sourcifyNewLogo.webp"
envID="sourcifyLogo"
@ -153,12 +146,19 @@ function HomeTabFeaturedPlugins ({plugin}: HomeTabFeaturedPluginsProps) {
callback={() => startSourceVerify()}
/>
<PluginButton
imgPath="assets/img/starkNetLogo.webp"
envID="starkNetLogo"
envText="StarkNet"
description={intl.formatMessage({ id: 'home.starkNetPluginDesc' })}
l2={true}
callback={() => startStarkNet()}
imgPath="assets/img/dgit.webp"
envID="dgitLogo"
envText="Dgit"
description={intl.formatMessage({ id: 'home.dgitPluginDesc' })}
remixMaintained={true}
callback={() => startDgit()}
/>
<PluginButton
imgPath="assets/img/oneclickdapp.webp"
envID="oneClickDappLogo"
envText="OneClickDapp"
description={intl.formatMessage({ id: 'home.oneClickDappDesc' })}
callback={() => startOneClickDapp()}
/>
<PluginButton
imgPath="assets/img/unitTesting.webp"

Loading…
Cancel
Save