Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
xpub-elife
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
xpub
xpub-elife
Merge requests
!6
feat(layout): add front-end application skeleton
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
feat(layout): add front-end application skeleton
59
into
master
Overview
6
Commits
2
Pipelines
3
Changes
10
Closed
Mihail Dunaev
requested to merge
59
into
master
6 years ago
Overview
6
Commits
2
Pipelines
3
Changes
15
Expand
refs #59
0
0
Merge request reports
Compare
version 1
version 2
1f55d7d3
6 years ago
version 1
97278b60
6 years ago
master (base)
and
latest version
latest version
d165137d
2 commits,
6 years ago
version 2
1f55d7d3
1 commit,
6 years ago
version 1
97278b60
1 commit,
6 years ago
Show latest version
15 files
+
40
−
55
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
15
Search (e.g. *.vue) (Ctrl+P)
app/components/
Elife
App.js
→
app/components/App.js
+
7
−
5
Options
@@ -3,16 +3,18 @@ import { Link } from 'react-router-dom'
import
{
AppBar
}
from
'
@pubsweet/ui
'
const
Elife
App
=
({
children
})
=>
(
const
App
=
({
children
})
=>
(
<
div
>
<
AppBar
brand
=
{
'
eLife
'
}
user
=
{{
username
:
'
Dummy User
'
,
admin
:
true
}}
onLogoutClick
=
{()
=>
console
.
log
(
'
Logout clicked
'
)}
brand
=
"
eLife
"
navLinkComponents
=
{[
<
Link
to
=
"
/
"
>
Dashboard
<
/Link>]
}
onLogoutClick
=
{()
=>
{
/* empty function for now */
}}
user
=
{{
username
:
'
Dummy User
'
,
admin
:
true
}}
/
>
<
div
>
{
children
}
<
/div
>
<
/div
>
)
export
default
Elife
App
export
default
App