Commit ad8b43a5 authored by Connor Hudson's avatar Connor Hudson Committed by GitHub

Merge pull request #682 from technoboy10/gh680-681-educators-page

Fix GH-680 and GH-681: Educator landing style tweaks
parents 712aa8db 717a2319
...@@ -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>
......
...@@ -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;
} }
button { .coming-soon {
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment