Skip to content

Commit

Permalink
Merge pull request #3396 from picklesrus/add-logo-to-join-2
Browse files Browse the repository at this point in the history
Add Logo to join flow standalone page.
  • Loading branch information
picklesrus committed Sep 24, 2019
2 parents 036937b + fd131b8 commit b81a288
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/views/join/join.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,21 @@ const ErrorBoundary = require('../../components/errorboundary/errorboundary.jsx'
// Require this even though we don't use it because, without it, webpack runs out of memory...
const Page = require('../../components/page/www/page.jsx'); // eslint-disable-line no-unused-vars

require('./join.scss');
const Register = () => (
<ErrorBoundary>
<div className="join">
<a
aria-label="Scratch"
href="/"
>
<img
className="logo"
src="/images/logo_sm.png"
/>
</a>

</div>
<JoinModal
isOpen
key="scratch3registration"
Expand Down
29 changes: 29 additions & 0 deletions src/views/join/join.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
@import "../../frameless";

.join {
position: absolute;
z-index: 1000;
top: 12px;
left: 12px;
left: calc(25% - 76px);

.logo {
width: 76px;
}
}

@media #{$small} {
.join {
left: calc(50% - 38px);
}
}
@media #{$medium} {
.join {
left: calc(50% - 38px);
}
}
@media #{$intermediate} {
.join {
left: calc(50% - 38px);
}
}

0 comments on commit b81a288

Please sign in to comment.