Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
French Tax and Benefit Tables
baremes-ipp-views
Commits
bbba2de9
Commit
bbba2de9
authored
Feb 11, 2019
by
Florian Pagnoux
Browse files
Load CSS if staging
parent
a56cb32a
Changes
1
Hide whitespace changes
Inline
Side-by-side
components/Layout.js
View file @
bbba2de9
const
isProd
=
process
.
env
.
PRODUCTION
;
if
(
!
isProd
)
{
require
(
'
../styles/style.css
'
)
}
const
StagingLayout
=
({
children
,
fullWidth
})
=>
(
<
div
>
<
header
id
=
"
main-header
"
className
=
"
main-header
"
role
=
"
banner
"
>
...
...
Write
Preview
Supports
Markdown
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