Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
2a5f3308
Commit
2a5f3308
authored
Jul 26, 2016
by
Technoboy10
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hide intro if not desktop width
parent
a8b26b1a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/views/splash/splash.jsx
src/views/splash/splash.jsx
+6
-1
No files found.
src/views/splash/splash.jsx
View file @
2a5f3308
...
@@ -21,6 +21,9 @@ var Page = require('../../components/page/www/page.jsx');
...
@@ -21,6 +21,9 @@ var Page = require('../../components/page/www/page.jsx');
var
TeacherBanner
=
require
(
'
../../components/teacher-banner/teacher-banner.jsx
'
);
var
TeacherBanner
=
require
(
'
../../components/teacher-banner/teacher-banner.jsx
'
);
var
Welcome
=
require
(
'
../../components/welcome/welcome.jsx
'
);
var
Welcome
=
require
(
'
../../components/welcome/welcome.jsx
'
);
var
MediaQuery
=
require
(
'
react-responsive
'
);
var
frameless
=
require
(
'
../../lib/frameless
'
);
require
(
'
./splash.scss
'
);
require
(
'
./splash.scss
'
);
var
Splash
=
injectIntl
(
React
.
createClass
({
var
Splash
=
injectIntl
(
React
.
createClass
({
...
@@ -393,7 +396,9 @@ var Splash = injectIntl(React.createClass({
...
@@ -393,7 +396,9 @@ var Splash = injectIntl(React.createClass({
<
News
items=
{
this
.
state
.
news
}
messages=
{
messages
}
/>
<
News
items=
{
this
.
state
.
news
}
messages=
{
messages
}
/>
</
div
>
</
div
>
]
:
[
]
:
[
/*<Intro projectCount={this.state.projectCount} messages={messages} key="intro"/>*/
<
MediaQuery
minWidth=
{
frameless
.
desktop
}
>
<
Intro
projectCount=
{
this
.
state
.
projectCount
}
messages=
{
messages
}
key=
"intro"
/>
</
MediaQuery
>
])
:
[]
])
:
[]
}
}
...
...
Write
Preview
Markdown
is supported
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