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
!8
59 frontend routing
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
59 frontend routing
59-frontend-routing
into
master
Overview
2
Commits
4
Pipelines
2
Changes
10
Merged
Mihail Dunaev
requested to merge
59-frontend-routing
into
master
6 years ago
Overview
2
Commits
4
Pipelines
2
Changes
10
Expand
0
0
Merge request reports
Compare
master
version 1
d165137d
6 years ago
master (base)
and
version 1
latest version
088dd25b
4 commits,
6 years ago
version 1
d165137d
2 commits,
6 years ago
10 files
+
81
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
app/components/App.js
0 → 100644
+
20
−
0
Options
import
React
from
'
react
'
import
{
Link
}
from
'
react-router-dom
'
import
{
AppBar
}
from
'
@pubsweet/ui
'
const
App
=
({
children
})
=>
(
<
div
>
<
AppBar
brand
=
"
eLife
"
navLinkComponents
=
{[
<
Link
to
=
"
/
"
>
Dashboard
<
/Link>]
}
onLogoutClick
=
{()
=>
{
/* empty function for now */
}}
user
=
{{
username
:
'
Dummy User
'
,
admin
:
true
}}
/
>
<
div
>
{
children
}
<
/div
>
<
/div
>
)
export
default
App