Add Logo to join flow standalone page.

Will need some css work, especially for small screens.
This commit is contained in:
picklesrus 2019-09-23 18:04:59 -04:00
parent 036937bbfb
commit fd131b84c1
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...
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"

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