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
2
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
version 2
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
2 files
+
6
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
app/components/ElifeApp.js
+
5
−
3
Options
@@ -6,10 +6,12 @@ import { AppBar } from '@pubsweet/ui'
const
ElifeApp
=
({
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
>