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
ad8b43a5
Commit
ad8b43a5
authored
Jul 06, 2016
by
Connor Hudson
Committed by
GitHub
Jul 06, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #682 from technoboy10/gh680-681-educators-page
Fix GH-680 and GH-681: Educator landing style tweaks
parents
712aa8db
717a2319
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
19 deletions
+28
-19
src/views/teachers/landing/landing.jsx
src/views/teachers/landing/landing.jsx
+17
-18
src/views/teachers/landing/landing.scss
src/views/teachers/landing/landing.scss
+11
-1
No files found.
src/views/teachers/landing/landing.jsx
View file @
ad8b43a5
...
@@ -9,7 +9,6 @@ var Page = require('../../../components/page/www/page.jsx');
...
@@ -9,7 +9,6 @@ var Page = require('../../../components/page/www/page.jsx');
var
FlexRow
=
require
(
'
../../../components/flex-row/flex-row.jsx
'
);
var
FlexRow
=
require
(
'
../../../components/flex-row/flex-row.jsx
'
);
var
SubNavigation
=
require
(
'
../../../components/subnavigation/subnavigation.jsx
'
);
var
SubNavigation
=
require
(
'
../../../components/subnavigation/subnavigation.jsx
'
);
var
TitleBanner
=
require
(
'
../../../components/title-banner/title-banner.jsx
'
);
var
TitleBanner
=
require
(
'
../../../components/title-banner/title-banner.jsx
'
);
var
Button
=
require
(
'
../../../components/forms/button.jsx
'
);
require
(
'
./landing.scss
'
);
require
(
'
./landing.scss
'
);
...
@@ -63,36 +62,36 @@ var Landing = injectIntl(React.createClass({
...
@@ -63,36 +62,36 @@ var Landing = injectIntl(React.createClass({
<
p
><
FormattedHTMLMessage
id=
"teacherlanding.generalUsageSubjectAreas"
/></
p
>
<
p
><
FormattedHTMLMessage
id=
"teacherlanding.generalUsageSubjectAreas"
/></
p
>
</
FlexRow
>
</
FlexRow
>
<
FlexRow
className=
"stories"
>
<
FlexRow
className=
"stories"
>
<
div
className=
"story"
>
<
a
href=
"//bit.ly/28SBsa9"
className=
"story"
>
<
img
src=
"/images/teachers/stories/ingrid.jpg"
alt=
"ingrid's story"
/>
<
img
src=
"/images/teachers/stories/ingrid.jpg"
alt=
"ingrid's story"
/>
<
div
className=
"story-info"
>
<
div
className=
"story-info"
>
<
a
href=
"//bit.ly/28SBsa9"
>
Ingrid Gustafson
</
a
>
<
p
className=
"name"
>
Ingrid Gustafson
</
p
>
<
p
><
FormattedMessage
id=
"teacherlanding.ingridTitle"
/></
p
>
<
p
><
FormattedMessage
id=
"teacherlanding.ingridTitle"
/></
p
>
</
div
>
</
div
>
</
div
>
</
a
>
<
div
className=
"story"
>
<
a
href=
"//bit.ly/28Q5l6P"
className=
"story"
>
<
img
src=
"/images/teachers/stories/dylan.jpg"
alt=
"dylan's story"
/>
<
img
src=
"/images/teachers/stories/dylan.jpg"
alt=
"dylan's story"
/>
<
div
className=
"story-info"
>
<
div
className=
"story-info"
>
<
a
href=
"//bit.ly/28Q5l6P"
>
Dylan Ryder
</
a
>
<
p
className=
"name"
>
Dylan Ryder
</
p
>
<
p
><
FormattedMessage
id=
"teacherlanding.dylanTitle"
/></
p
>
<
p
><
FormattedMessage
id=
"teacherlanding.dylanTitle"
/></
p
>
</
div
>
</
div
>
</
div
>
</
a
>
<
div
className=
"story"
>
<
a
href=
"//bit.ly/28SC1AY"
className=
"story"
>
<
img
src=
"/images/teachers/stories/plug-in-studio.jpg"
<
img
src=
"/images/teachers/stories/plug-in-studio.jpg"
alt=
"plug in studio's story"
/>
alt=
"plug in studio's story"
/>
<
div
className=
"story-info"
>
<
div
className=
"story-info"
>
<
a
href=
"//bit.ly/28SC1AY"
>
Plug-In Studios
</
a
>
<
p
className=
"name"
>
Plug-In Studios
</
p
>
<
p
><
FormattedMessage
id=
"teacherlanding.afterSchoolTitle"
/></
p
>
<
p
><
FormattedMessage
id=
"teacherlanding.afterSchoolTitle"
/></
p
>
</
div
>
</
div
>
</
div
>
</
a
>
<
div
className=
"story"
>
<
a
href=
"//bit.ly/28UzapJ"
className=
"story"
>
<
img
src=
"/images/teachers/stories/ghana-code-club.jpg"
<
img
src=
"/images/teachers/stories/ghana-code-club.jpg"
alt=
"ghana code club's story"
/>
alt=
"ghana code club's story"
/>
<
div
className=
"story-info"
>
<
div
className=
"story-info"
>
<
a
href=
"//bit.ly/28UzapJ"
>
Ghana Code Club
</
a
>
<
p
className=
"name"
>
Ghana Code Club
</
p
>
<
p
><
FormattedMessage
id=
"teacherlanding.afterSchoolTitle"
/></
p
>
<
p
><
FormattedMessage
id=
"teacherlanding.afterSchoolTitle"
/></
p
>
</
div
>
</
div
>
</
div
>
</
a
>
</
FlexRow
>
</
FlexRow
>
</
section
>
</
section
>
<
section
id=
"resources"
>
<
section
id=
"resources"
>
...
@@ -142,7 +141,7 @@ var Landing = injectIntl(React.createClass({
...
@@ -142,7 +141,7 @@ var Landing = injectIntl(React.createClass({
<
p
>
<
p
>
<
FormattedHTMLMessage
id=
"teacherlanding.accountsDescription"
/>
<
FormattedHTMLMessage
id=
"teacherlanding.accountsDescription"
/>
</
p
>
</
p
>
<
Button
><
FormattedMessage
id=
"teacherlanding.accountsButton"
/></
Button
>
<
div
className=
"coming-soon"
><
FormattedMessage
id=
"teacherlanding.accountsButton"
/></
div
>
</
div
>
</
div
>
<
img
src=
"/images/teachers/teacher-account.png"
alt=
"teacher account"
id=
"teacher-icon"
/>
<
img
src=
"/images/teachers/teacher-account.png"
alt=
"teacher account"
id=
"teacher-icon"
/>
</
div
>
</
div
>
...
...
src/views/teachers/landing/landing.scss
View file @
ad8b43a5
...
@@ -159,6 +159,14 @@ $story-width: $cols3;
...
@@ -159,6 +159,14 @@ $story-width: $cols3;
padding-top
:
10px
;
padding-top
:
10px
;
padding-left
:
10px
;
padding-left
:
10px
;
.name
{
margin
:
0
;
line-height
:
initial
;
color
:
$ui-blue
;
font-size
:
initial
;
font-weight
:
500
;
}
p
{
p
{
margin
:
10px
0
;
margin
:
10px
0
;
font-size
:
.75rem
;
font-size
:
.75rem
;
...
@@ -222,16 +230,18 @@ $story-width: $cols3;
...
@@ -222,16 +230,18 @@ $story-width: $cols3;
margin-bottom
:
3
.5rem
;
margin-bottom
:
3
.5rem
;
}
}
butt
on
{
.coming-so
on
{
border
:
2px
solid
$ui-white
;
border
:
2px
solid
$ui-white
;
border-radius
:
50px
;
border-radius
:
50px
;
box-shadow
:
none
;
box-shadow
:
none
;
background-color
:
transparent
;
background-color
:
transparent
;
padding
:
16px
16px
;
padding
:
16px
16px
;
width
:
$cols5
/
2
;
width
:
$cols5
/
2
;
text-align
:
center
;
color
:
$ui-white
;
color
:
$ui-white
;
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
500
;
font-weight
:
500
;
box-sizing
:
border-box
;
&
:hover
{
&
:hover
{
box-shadow
:
none
;
box-shadow
:
none
;
...
...
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