|
|
|
@ -4,6 +4,7 @@ import Meta from './Meta'
|
|
|
|
|
import Header from './Header'
|
|
|
|
|
import Footer from './Footer'
|
|
|
|
|
import Announcement from './Announcement'
|
|
|
|
|
import LoginButton from './LoginButton'
|
|
|
|
|
|
|
|
|
|
const COLUMN = `
|
|
|
|
|
display: flex;
|
|
|
|
@ -20,6 +21,9 @@ class Page extends React.Component {
|
|
|
|
|
<AuthContext>
|
|
|
|
|
<Announcement />
|
|
|
|
|
<Header enableHeroText={enableHeroText} />
|
|
|
|
|
<div className="login-button-container">
|
|
|
|
|
<LoginButton />
|
|
|
|
|
</div>
|
|
|
|
|
<div className="page">{children}</div>
|
|
|
|
|
</AuthContext>
|
|
|
|
|
|
|
|
|
@ -30,6 +34,11 @@ class Page extends React.Component {
|
|
|
|
|
.main {
|
|
|
|
|
${flex ? COLUMN : ''}
|
|
|
|
|
}
|
|
|
|
|
.login-button-container {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 1.4rem;
|
|
|
|
|
right: 1rem;
|
|
|
|
|
}
|
|
|
|
|
@media (min-width: 1024px) {
|
|
|
|
|
.main {
|
|
|
|
|
${COLUMN};
|
|
|
|
|