Merge pull request #3396 from picklesrus/add-logo-to-join-2

Add Logo to join flow standalone page.
This commit is contained in:
picklesrus 2019-09-24 14:40:59 -04:00 committed by GitHub
commit b81a288ce0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View file

@ -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... // 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 const Page = require('../../components/page/www/page.jsx'); // eslint-disable-line no-unused-vars
require('./join.scss');
const Register = () => ( const Register = () => (
<ErrorBoundary> <ErrorBoundary>
<div className="join">
<a
aria-label="Scratch"
href="/"
>
<img
className="logo"
src="/images/logo_sm.png"
/>
</a>
</div>
<JoinModal <JoinModal
isOpen isOpen
key="scratch3registration" key="scratch3registration"

29
src/views/join/join.scss Normal file
View file

@ -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);
}
}