diff --git a/src/components/subnavigation/subnavigation.jsx b/src/components/subnavigation/subnavigation.jsx
index 959ae7285..62f4a78bb 100644
--- a/src/components/subnavigation/subnavigation.jsx
+++ b/src/components/subnavigation/subnavigation.jsx
@@ -9,10 +9,21 @@ require('./subnavigation.scss');
*/
var SubNavigation = React.createClass({
type: 'SubNavigation',
+ getDefaultProps: function () {
+ return {
+ align: 'middle'
+ };
+ },
render: function () {
var classes = classNames(
- 'sub-nav',
- this.props.className
+ [
+ 'sub-nav',
+ this.props.className
+ ],
+ {
+ 'sub-nav-align-left': this.props.align === 'left',
+ 'sub-nav-align-right': this.props.align === 'right'
+ }
);
return (
diff --git a/src/components/subnavigation/subnavigation.scss b/src/components/subnavigation/subnavigation.scss
index d6ed0446d..931f1d00d 100644
--- a/src/components/subnavigation/subnavigation.scss
+++ b/src/components/subnavigation/subnavigation.scss
@@ -53,4 +53,18 @@
}
}
}
+
+ &.sub-nav-align-left {
+ justify-content: flex-start;
+
+ li {
+ &:first-child {
+ margin-left: 0;
+ }
+ }
+ }
+
+ &.sub-nav-align-right {
+ justify-content: flex-end;
+ }
}
diff --git a/src/views/teachers/landing/l10n.json b/src/views/teachers/landing/l10n.json
index 201229fe3..8bd9dd442 100644
--- a/src/views/teachers/landing/l10n.json
+++ b/src/views/teachers/landing/l10n.json
@@ -19,5 +19,5 @@
"teacherlanding.creativeComputing": "The
Creative Computing Curriculum Guide provides plans, activities, and strategies for introducing creative computing.",
"teacherlanding.accountsTitle": "Teacher Accounts in Scratch",
"teacherlanding.accountsDescription": "As an educator, you can request a Scratch Teacher Account, which makes it easier to create accounts for groups of students and to manage your students’ projects and comments. To learn more, see the
Teacher Account FAQ page.",
- "teacherlanding.accountsButton": "Coming Soon"
+ "teacherlanding.requestAccount": "Request Account"
}
diff --git a/src/views/teachers/landing/landing.jsx b/src/views/teachers/landing/landing.jsx
index c66898c15..ce32a564c 100644
--- a/src/views/teachers/landing/landing.jsx
+++ b/src/views/teachers/landing/landing.jsx
@@ -109,7 +109,11 @@ var Landing = injectIntl(React.createClass({
-
+
+
+
+
+