Commit 26218361 authored by LianaHus's avatar LianaHus

commented out "start" section for merge

parent d35dc05c
...@@ -2,7 +2,7 @@ ...@@ -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 () { ...@@ -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) { ...@@ -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) { ...@@ -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) { ...@@ -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])
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment