mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 23:27:54 -05:00
Merge pull request #3396 from picklesrus/add-logo-to-join-2
Add Logo to join flow standalone page.
This commit is contained in:
commit
b81a288ce0
2 changed files with 42 additions and 0 deletions
|
@ -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
29
src/views/join/join.scss
Normal 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);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue