diff --git a/components/login.jsx b/components/login.jsx
index 3e7a084c1..8067aa50a 100644
--- a/components/login.jsx
+++ b/components/login.jsx
@@ -88,15 +88,19 @@ var Login = React.createClass({
);
} else if (this.state.username) {
content = (
-
- Logged in as {this.state.username} | Logout
-
+
+
Logged in as {this.state.username}
+
Logout
+
);
} else {
content = (
-
- Create an account | Log in
-
+
+
+ Log in
+
+
Create an account
+
);
}
diff --git a/img/logo-webmaker-flat.svg b/img/logo-webmaker-flat.svg
new file mode 100644
index 000000000..5dcbe0a71
--- /dev/null
+++ b/img/logo-webmaker-flat.svg
@@ -0,0 +1,34 @@
+
+
+
+
diff --git a/less/components/sidebar.less b/less/components/sidebar.less
index 4f94d1c56..948ab8fca 100644
--- a/less/components/sidebar.less
+++ b/less/components/sidebar.less
@@ -110,7 +110,17 @@ html.no-js .sidebar {
}
.sidebar-login {
- padding: 1rem (@grid-gutter-width / 2) 3rem
+ padding: 1rem (@grid-gutter-width / 2) 3rem;
+ .login-text {
+ img {
+ width: 2.8rem;
+ margin-right: .5rem;
+ }
+ &:after {
+ content: "|";
+ padding: 0 .8rem;
+ }
+ }
}
.sidebar-menu {
diff --git a/test/browser/login.test.jsx b/test/browser/login.test.jsx
index 457c764cf..8b092cdbf 100644
--- a/test/browser/login.test.jsx
+++ b/test/browser/login.test.jsx
@@ -49,12 +49,10 @@ describe("login", function() {
it("triggers login when user clicks login link", function() {
var links = TestUtils.scryRenderedDOMComponentsWithTag(login, 'a');
-
- // We should have a "create an account link" followed by a
- // "Log in" link.
+ // We should have a "Log in" link followed by a "create an account" link
links.length.should.equal(2);
- TestUtils.Simulate.click(links[1]);
+ TestUtils.Simulate.click(links[0]);
teachAPI.startLogin.callCount.should.equal(1);
login.state.loggingIn.should.be.true;
});