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
12
Closed
Mihail Dunaev
requested to merge
59
into
master
6 years ago
Overview
6
Commits
2
Pipelines
3
Changes
12
Expand
refs #59
0
0
Merge request reports
Compare
master
version 2
1f55d7d3
6 years ago
version 1
97278b60
6 years ago
master (base)
and
version 1
latest version
d165137d
2 commits,
6 years ago
version 2
1f55d7d3
1 commit,
6 years ago
version 1
97278b60
1 commit,
6 years ago
12 files
+
101
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
12
Search (e.g. *.vue) (Ctrl+P)
app/components/ElifeApp.js
0 → 100644
+
18
−
0
Options
import
React
from
'
react
'
import
{
Link
}
from
'
react-router-dom
'
import
{
AppBar
}
from
'
@pubsweet/ui
'
const
ElifeApp
=
({
children
})
=>
(
<
div
>
<
AppBar
brand
=
{
'
eLife
'
}
user
=
{{
username
:
'
Dummy User
'
,
admin
:
true
}}
onLogoutClick
=
{()
=>
console
.
log
(
'
Logout clicked
'
)}
navLinkComponents
=
{[
<
Link
to
=
"
/
"
>
Dashboard
<
/Link>]
}
/>
<
div
>
{
children
}
<
/div
>
<
/div
>
)
export
default
ElifeApp