diff --git a/src/app/ui/landing-page/landing-page.js b/src/app/ui/landing-page/landing-page.js index 68b6d7db7e..8ac6ab553e 100644 --- a/src/app/ui/landing-page/landing-page.js +++ b/src/app/ui/landing-page/landing-page.js @@ -121,43 +121,49 @@ export class LandingPage extends ViewPlugin { }) } - let learnMore = () => { window.open('https://remix-ide.readthedocs.io/en/latest/layout.html', '_blank') } + const learnMore = () => { window.open('https://remix-ide.readthedocs.io/en/latest/layout.html', '_blank') } - let startSolidity = () => { + const startSolidity = () => { this.appManager.ensureActivated('solidity') this.appManager.ensureActivated('udapp') this.appManager.ensureActivated('solidityStaticAnalysis') this.appManager.ensureActivated('solidityUnitTesting') this.verticalIcons.select('solidity') } - let startVyper = () => { + const startVyper = () => { this.appManager.ensureActivated('vyper') this.appManager.ensureActivated('udapp') this.verticalIcons.select('vyper') } + const startWorkshop = () => { + this.appManager.ensureActivated('solidity') + this.appManager.ensureActivated('solidityUnitTesting') + this.appManager.ensureActivated('workshop') + this.verticalIcons.select('workshop') + } - let startPipeline = () => { + const startPipeline = () => { this.appManager.ensureActivated('solidity') this.appManager.ensureActivated('pipeline') this.appManager.ensureActivated('udapp') } - let startDebugger = () => { + const startDebugger = () => { this.appManager.ensureActivated('debugger') this.verticalIcons.select('debugger') } - let startPluginManager = () => { + const startPluginManager = () => { this.appManager.ensureActivated('pluginManager') this.verticalIcons.select('pluginManager') } - let createNewFile = () => { + const createNewFile = () => { let fileExplorer = globalRegistry.get('fileexplorer/browser').api fileExplorer.createNewFile() } - let connectToLocalhost = () => { + const connectToLocalhost = () => { this.appManager.ensureActivated('remixd') } - let importFromGist = () => { + const importFromGist = () => { this.gistHandler.loadFromGist({gist: ''}, globalRegistry.get('filemanager').api) this.verticalIcons.select('fileExplorers') } @@ -182,8 +188,8 @@ export class LandingPage extends ViewPlugin {

The new layout has arrived

- - + +
@@ -192,13 +198,14 @@ export class LandingPage extends ViewPlugin {

Environments

- - + + +

File

-

{ createNewFile() }}>New File

+

createNewFile()}>New File

-

{ connectToLocalhost() }}>Connect to Localhost

+

connectToLocalhost()}>Connect to Localhost

Import From:

- - - - - - + + + + + +