Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
26218361
Commit
26218361
authored
Mar 15, 2019
by
LianaHus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commented out "start" section for merge
parent
d35dc05c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
generate.js
src/app/ui/landing-page/generate.js
+5
-5
No files found.
src/app/ui/landing-page/generate.js
View file @
26218361
...
...
@@ -2,7 +2,7 @@
import
LandingPage
from
'./landing-page'
import
Section
from
'./section'
import
{
defaultWorkspaces
}
from
'./workspace'
var
globalRegistry
=
require
(
'../../../global/registry'
)
//
var globalRegistry = require('../../../global/registry')
export
function
homepageProfile
()
{
return
{
...
...
@@ -17,7 +17,7 @@ export function homepageProfile () {
}
export
function
generateHomePage
(
appManager
,
appStore
)
{
var
actions1
=
[
/*
var actions1 = [
{ label: 'New file',
type: 'callback',
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 gist', type: `callback`, payload: () => { this.alert(`-imported from gist-`) }}
]
]
*/
var
actions3
=
[
{
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`
}
]
var
sectionStart
=
new
Section
(
'Start'
,
actions1
)
//
var sectionStart = new Section('Start', actions1)
var
sectionLearn
=
new
Section
(
'Learn'
,
actions3
)
var
sectionPlugins
=
new
Section
(
'Plugins'
,
actions4
)
var
sectionHelp
=
new
Section
(
'Help'
,
actions5
)
...
...
@@ -74,5 +74,5 @@ export function generateHomePage (appManager, appStore) {
})
var
sectionWorkspace
=
new
Section
(
'Workspaces'
,
sectionsWorkspaces
)
return
new
LandingPage
([
sectionWorkspace
,
sectionStart
,
sectionLearn
,
sectionPlugins
,
sectionHelp
])
return
new
LandingPage
([
sectionWorkspace
,
/* sectionStart, */
sectionLearn
,
sectionPlugins
,
sectionHelp
])
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment