commented out "start" section for merge

pull/1/head
LianaHus 6 years ago committed by yann300
parent d3aea6c0e1
commit fe5421d812
  1. 10
      src/app/ui/landing-page/generate.js

@ -2,7 +2,7 @@
import LandingPage from './landing-page' import LandingPage from './landing-page'
import Section from './section' import Section from './section'
import { defaultWorkspaces } from './workspace' import { defaultWorkspaces } from './workspace'
var globalRegistry = require('../../../global/registry') // var globalRegistry = require('../../../global/registry')
export function homepageProfile () { export function homepageProfile () {
return { return {
@ -17,7 +17,7 @@ export function homepageProfile () {
} }
export function generateHomePage (appManager, appStore) { export function generateHomePage (appManager, appStore) {
var actions1 = [ /* var actions1 = [
{ label: 'New file', { label: 'New file',
type: 'callback', type: 'callback',
payload: () => { payload: () => {
@ -27,7 +27,7 @@ export function generateHomePage (appManager, appStore) {
}, },
{label: 'Import from GitHub', type: `callback`, payload: () => { this.alert(`-imported from GitHub-`) }}, {label: 'Import from GitHub', type: `callback`, payload: () => { this.alert(`-imported from GitHub-`) }},
{label: 'Import from gist', type: `callback`, payload: () => { this.alert(`-imported from gist-`) }} {label: 'Import from gist', type: `callback`, payload: () => { this.alert(`-imported from gist-`) }}
] ] */
var actions3 = [ var actions3 = [
{label: 'Remix documentation', type: `link`, payload: `https://remix.readthedocs.io/en/latest/#`}, {label: 'Remix documentation', type: `link`, payload: `https://remix.readthedocs.io/en/latest/#`},
@ -51,7 +51,7 @@ export function generateHomePage (appManager, appStore) {
{label: 'Reddit', type: `link`, payload: `https://www.reddit.com/r/ethdev/search?q=remix&restrict_sr=1`} {label: 'Reddit', type: `link`, payload: `https://www.reddit.com/r/ethdev/search?q=remix&restrict_sr=1`}
] ]
var sectionStart = new Section('Start', actions1) // var sectionStart = new Section('Start', actions1)
var sectionLearn = new Section('Learn', actions3) var sectionLearn = new Section('Learn', actions3)
var sectionPlugins = new Section('Plugins', actions4) var sectionPlugins = new Section('Plugins', actions4)
var sectionHelp = new Section('Help', actions5) var sectionHelp = new Section('Help', actions5)
@ -74,5 +74,5 @@ export function generateHomePage (appManager, appStore) {
}) })
var sectionWorkspace = new Section('Workspaces', sectionsWorkspaces) var sectionWorkspace = new Section('Workspaces', sectionsWorkspaces)
return new LandingPage([sectionWorkspace, sectionStart, sectionLearn, sectionPlugins, sectionHelp]) return new LandingPage([sectionWorkspace, /* sectionStart, */sectionLearn, sectionPlugins, sectionHelp])
} }

Loading…
Cancel
Save