2020-08-17 21:07:16 +01:00
|
|
|
import React from 'react'
|
2020-07-14 07:05:05 +01:00
|
|
|
import Block from '../components/block'
|
2020-07-15 04:31:54 +01:00
|
|
|
import Icon from '../components/icon'
|
|
|
|
import BundleColumnError from '../components/bundle_column_error'
|
|
|
|
import Bundle from '../features/ui/util/bundle'
|
|
|
|
import { Introduction } from '../features/ui/util/async_components'
|
2020-07-07 22:01:51 +01:00
|
|
|
|
2020-08-17 21:07:16 +01:00
|
|
|
export default class IntroductionLayout extends React.PureComponent {
|
2020-07-07 22:01:51 +01:00
|
|
|
|
2020-07-15 04:31:54 +01:00
|
|
|
renderError = (props) => {
|
|
|
|
return <BundleColumnError {...props} />
|
2020-07-07 22:01:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
2020-08-18 21:49:11 +01:00
|
|
|
<div className={[_s.d, _s.w100PC, _s.minH100VH, _s.bgTertiary].join(' ')}>
|
2020-07-07 22:01:51 +01:00
|
|
|
|
2020-08-18 21:49:11 +01:00
|
|
|
<div className={[_s.d, _s.z4, _s.minH53PX, _s.w100PC].join(' ')}>
|
|
|
|
<div className={[_s.d, _s.minH53PX, _s.bgNavigation, _s.aiCenter, _s.z3, _s.top0, _s.right0, _s.left0, _s.posFixed].join(' ')} >
|
|
|
|
<div className={[_s.d, _s.saveAreaInsetPT, _s.saveAreaInsetPL, _s.saveAreaInsetPR, _s.flexRow, _s.w1255PX].join(' ')}>
|
|
|
|
<div className={[_s.d, _s.flexRow].join(' ')}>
|
2020-07-15 04:31:54 +01:00
|
|
|
|
2020-08-18 21:49:11 +01:00
|
|
|
<h1 className={[_s.d, _s.mr15].join(' ')}>
|
|
|
|
<div className={[_s.d, _s.jcCenter, _s.noSelect, _s.noUnderline, _s.h53PX, _s.px10, _s.mr15].join(' ')}>
|
2020-07-15 04:31:54 +01:00
|
|
|
<Icon id='logo' className={_s.fillNavigationBrand} />
|
|
|
|
</div>
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-07-07 22:01:51 +01:00
|
|
|
|
2020-08-18 21:49:11 +01:00
|
|
|
<div className={[_s.d, _s.flexRow, _s.w100PC].join(' ')}>
|
|
|
|
<div className={[_s.d, _s.w100PC].join(' ')}>
|
2020-07-07 22:01:51 +01:00
|
|
|
<main role='main'>
|
2020-08-18 21:49:11 +01:00
|
|
|
<div className={[_s.d, _s.aiCenter, _s.py15, _s.px15, _s.mlAuto, _s.mrAuto].join(' ')}>
|
2020-07-14 07:05:05 +01:00
|
|
|
|
2020-08-18 21:49:11 +01:00
|
|
|
<div className={[_s.d, _s.w645PX, _s.maxW100PC42PX].join(' ')}>
|
2020-07-14 07:05:05 +01:00
|
|
|
<Block>
|
2020-07-15 04:31:54 +01:00
|
|
|
<Bundle fetchComponent={Introduction} error={this.renderError}>
|
|
|
|
{Component => (<Component />)}
|
|
|
|
</Bundle>
|
2020-07-14 07:05:05 +01:00
|
|
|
</Block>
|
|
|
|
</div>
|
|
|
|
|
2020-07-07 22:01:51 +01:00
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|