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