Refactored more image based code

This commit is contained in:
2018-05-12 15:55:04 +10:00
parent a8163f1352
commit bc54923f64
16 changed files with 114 additions and 14 deletions

View File

@ -32,7 +32,7 @@ export default class Section extends React.Component {
return (
<section className={
"c-section" +
(this.props.full?" c-section--full":"") +
(this.props.full?" is-full":"") +
(this.props.className ? " "+this.props.className : "")
}>
{ this.props.children }
@ -41,8 +41,10 @@ export default class Section extends React.Component {
}
}
import ImageSection from './image/ImageSection';
import VideoSection from './video/VideoSection';
export {
ImageSection,
VideoSection
}