Switched background image SVGs into regular images, made logo go over the top of the menu on mobile.

This commit is contained in:
2018-08-14 21:09:17 +10:00
parent 550cf15e76
commit 2235fe3983
10 changed files with 76 additions and 34 deletions

View File

@ -27,6 +27,8 @@ import Image from './../../image/Image';
export default function(props) {
let image;
let clazz = "c-image-section";
if(props.image) {
image = props.image;
} else {
@ -37,10 +39,17 @@ export default function(props) {
/>;
}
if(props.className) clazz += " " + props.className;
if(props.background) {
//Background Image Effect
clazz += " is-background";
}
return (
<Section
full={props.full}
className={"c-image-section" + (props.className ? " " + props.className : "" ) }
className={ clazz }
>
{ image }
<div className="c-image-section__content">