blob: cb14df9ab7808188e421afb5ddfd72a609125d14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import React from "react";
export default class Jumbotron extends React.Component {
render() {
const {image, title} = this.props;
return <div>
<div className="pv5 pv6-l ph3 bg-center cover" style={{
backgroundImage: image && `url(${image})`
}}>
<div className="mw7 center ph3">
<div className="db mb3">
<div className="mw7 relative bg-fix-primary mb3">
<h1 className="f2 f1-l b di lh-title mb3 white mw6 bg-primary">
{ title }
</h1>
</div>
<div className="mw7 relative bg-fix-primary">
</div>
</div>
</div>
</div>
</div>;
}
}
|