2017-09-24 19:06:28 -07:00
|
|
|
import React from 'react';
|
|
|
|
import { GeneralInfoPanel } from './GeneralInfoPanel';
|
2017-09-03 20:04:27 -04:00
|
|
|
import Title from './Title';
|
|
|
|
import UnfinishedBanner from './UnfinishedBanner';
|
2017-10-04 00:13:49 -04:00
|
|
|
import TabSection from 'containers/TabSection';
|
2017-09-24 19:06:28 -07:00
|
|
|
|
|
|
|
interface ContainerTabPaneActiveProps {
|
|
|
|
children: React.ReactElement<any> | React.ReactElement<any>[];
|
|
|
|
}
|
2017-09-03 20:04:27 -04:00
|
|
|
|
2017-09-28 22:09:01 -04:00
|
|
|
const ContainerTabPaneActive = ({ children }: ContainerTabPaneActiveProps) => (
|
2018-01-11 13:04:11 -05:00
|
|
|
<TabSection isUnavailableOffline={true}>
|
2017-09-28 22:09:01 -04:00
|
|
|
<section className="container">
|
|
|
|
<div className="tab-content">
|
|
|
|
<main className="tab-pane active">
|
|
|
|
<section role="main" className="row">
|
|
|
|
{children}
|
|
|
|
</section>
|
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
</section>
|
2017-10-04 00:13:49 -04:00
|
|
|
</TabSection>
|
2017-09-28 22:09:01 -04:00
|
|
|
);
|
2017-09-03 20:04:27 -04:00
|
|
|
|
2017-09-28 22:09:01 -04:00
|
|
|
const ENS = () => (
|
2017-09-03 20:04:27 -04:00
|
|
|
<ContainerTabPaneActive>
|
|
|
|
<UnfinishedBanner />
|
|
|
|
<Title />
|
|
|
|
<GeneralInfoPanel />
|
2017-09-28 22:09:01 -04:00
|
|
|
</ContainerTabPaneActive>
|
|
|
|
);
|
2017-09-03 20:04:27 -04:00
|
|
|
|
|
|
|
export default ENS;
|