Team view-only notes

This commit is contained in:
Tom Russell 2019-08-14 22:12:24 +01:00
parent b6ae8f4a55
commit 4fcc256f16

View File

@ -1,4 +1,4 @@
import React from 'react'; import React, { Fragment } from 'react';
import withCopyEdit from '../data-container'; import withCopyEdit from '../data-container';
import DataEntry from '../data-components/data-entry'; import DataEntry from '../data-components/data-entry';
@ -7,9 +7,23 @@ import DataEntry from '../data-components/data-entry';
* Team view/edit section * Team view/edit section
*/ */
const TeamView = (props) => ( const TeamView = (props) => (
<dl className="data-list"> <Fragment>
<p className="data-intro">{props.intro}</p>
</dl> <ul>
<li>Construction and design team (original building)</li>
{
// "disabled": true,
// "slug": "team_original",
// "type": "text"
}
<li>Construction and design team (significant additional works)</li>
{
// "disabled": true,
// "slug": "team_after_original",
// "type": "text_multi"
}
</ul>
</Fragment>
) )
const TeamContainer = withCopyEdit(TeamView); const TeamContainer = withCopyEdit(TeamView);